* Peter Nacken
MAILDIR=/home/peter/Mail LOGFILE=/home/peter/procmail.log VERBOSE=yes DEFAULT=$MAILDIR/inbox
:0 * ^Subject:.*test ! system@peterhome.peter.home
Schaut okay aus, aber vergleichen wir mal. Meine Konfiguration: +-----------------------------+ | PMDIR=$HOME/.procmail | | LOGFILE=$PMDIR/proclog | | VERBOSE=yes | | MAILDIR=$HOME/Mail/spool | | DEFAULT=$MAILDIR/mbox.spool | | | | :0 | | * ^Subject:.*test | | ! test@comtwo.comtwo | +-----------------------------+ Als nächstes: Testmail schreiben... [andreas]~ > cat << EOF > testmail
From: aporia@web.de To: aporia@web.de Subject: test
. EOF
...und versenden: [andreas]~ > cat testmail | formail -ds procmail
procmail: [3479] Sat Aug 23 12:44:28 2003 procmail: Assigning "DEFAULT=/home/peter/Mail/inbox" procmail: No match on "^Subject:.*test" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ein Blick in mein $PMDIR/proclog sagt: [andreas]~ > cat .procmail/proclog procmail: [4278] Sat Aug 23 15:42:51 2003 procmail: Assigning "MAILDIR=/home/andreas/Mail/spool" procmail: Assigning "DEFAULT=/home/andreas/Mail/spool/mbox.spool" procmail: Match on "^Subject:.*test" ^^^^^^^^^^^^^^^^^^^^^^^^^ Der User test sagt "angekommen": [andreas]~ > su - test Password: [test]~ > mail Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/test": 2 messages 2 new
N 1 Andreas.Kneib@t-o Tue Aug 12 21:18 29/1227 üöäß N 2 aporia@web.de Sat Aug 23 15:42 15/417 test & 2 Message 2: From andreas@comtwo.comtwo Sat Aug 23 15:42:51 2003 Envelope-to: test@comtwo.comtwo From: aporia@web.de To: aporia@web.de Subject: test Date: Sat, 23 Aug 2003 15:42:51 +0200
Gruss, Andreas -- Flamewars sind was für Kinder und solche, die es werden wollen. Uwe Sinha in d.o.ccc