URL: https://linuxfr.org/forums/programmation-shell/posts/procmail-avec-shell Title: procmail avec shell Authors: spider10 Date: 2008年06月21日T11:00:22+02:00 Tags: Score: 0 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

AltStyle によって変換されたページ (->オリジナル) /