Bonjour,
SHELL=/bin/sh
PATH=/usr/bin
DEFAULT=/home/test/mail/
MAILCOPY=/home/test/copymail/
# les recettes
:0c:
* ^From.*test
$MAILCOPY
je souhaite utilise la valeur $MAILCOPY de procmail dans un script shell comment pourrait-je l'utilise la valeur récupérer dans le procmail ci-dessus
Bonjour,
je voudrais realise dans script shell test.sh qui contient vi mais quand j'execute il affiche une page vide
voila mon script
#!bin/bash
vi /home/test/.procmailrc
SHELL=/bin/sh
PATH=/usr/bin
DEFAULT=/home/essai/mail/ #repertoire pa defaut ou sont stockes les mails
MAILDIR=/home/essai/
LOGFILE=$MAILDIR/.procmail.log
INCLUDEDIR=/home/essai/.procmailrc
MAILCOPY=/home/essai/copymail/
:0c:
* ^From.*fai@hotmail.com
$MAILCOPY
:wq
Bonjour,
je voudrais realise dans script shell test.sh qui contient vi mais quand j'execute il affiche une page vide
voila mon script
#!bin/bash
vi /home/test/.procmailrc
SHELL=/bin/sh
PATH=/usr/bin
DEFAULT=/home/essai/mail/ #repertoire pa defaut ou sont stockes les mails
MAILDIR=/home/essai/
LOGFILE=$MAILDIR/.procmail.log
INCLUDEDIR=/home/essai/.procmailrc
MAILCOPY=/home/essai/copymail/
:0c:
* ^From.*fai@hotmail.com
$MAILCOPY
:wq
slt,
je cherche l'oid d'un routeur cisco 7600 sa température et sa ventilation je navigue sur le net je n'ai trouve aucun qui correspond
j'aimerai avoir une aide.
merci
Bonjour,
on a fichier .procmailrc
SHELL=/bin/sh
PATH=/usr/bin
DEFAULT=/home/box1/mail/
MAILDIR=/home/box1/
LOGFILE=$MAILDIR/.procmail.log
INCLUDEDIR=/home/box1/.procmailrc
MAILCOPY=/home/box1/copymail/
:0c:
* ^From.*faia@hotmail.com
/home/box1/copymail/
dont box1 change selon l'utlisateur saisi dans toto.sh
echo le nom de l'utitlisateur
read user
if test ! -d $user
then
useradd $user
else
echo "cette utilisateur existe"
comment mettre en relation un script shell et .procmailrc cad
comment faire pour appel le fichier .procmailrc dans le script shell