Hi,
I have a .procmailrc on my local linux system and it works just fine! But
on a remote system it doesn't work at all :(
It should send the file aw00.txt if there's 'Antwoord IQ-00' in the subject
or append the message to aw00.txt if the subject is IQ-00.
.procmailrc:
VERBOSE=on
SENDMAIL=/usr/bin/sendmail
MAILDIR=$HOME/mail
PMDIR=$HOME/.procma
il
LOGFILE=$HOME/.procmail/log
FILEDIR=$HOME/i-questions
:0 h
* ^Subject:.Antwoord IQ-00
* !^FROM_DEAMON
| (formail -r -i "From:
I-Questions <i-nieuws(_at_)vuurwerk(_dot_)nl>" ; cat < $FILEDIR/aw00.txt ; cat <
$FILEDIR/sig.txt ) | $SENDMAIL -t
:0 b h
* ^Subject:.IQ-00
| cat >> $FILEDIR/aw00.txt
The result in the logfile looks fine:
procmail: Match on "^Subject:.Antwoord IQ-00"
procmail: Match on ! "^FROM_DEAMON"
procmail: Assigning "LASTFOLDER= (formail -r -i "From: I-Questions
<i-nieuws(_at_)vuurwerk(_dot_)nl>" ; cat < $FILEDIR/aw00.txt ; cat <
$FILEDIR/sig.txt
) | $SENDMAIL -t -oi"
From robvdw(_at_)glo(_dot_)be Fri Aug 1 19:02:26 1997
Subject: Antwoord IQ-00
Folder: (formail -r -i "From: I-Questions <i-nieuws(_at_)vuurwerk(_dot_)nl>"
;
778
procmail: Notified comsat: "inieuws@: (formail -r -i "From: I-Questions
<i-nieuws(_at_)vuurwerk(_dot_)nl>" ; cat < $FILEDIR/aw00.txt ; cat <
$FILEDIR/sig.txt
) | $SENDMAIL -t -oi"
procmail: Executing " (formail -r -i "From: I-Questions
<i-nieuws(_at_)vuurwerk(_dot_)nl>" ; cat < $FILEDIR/aw00.txt ; cat <
$FILEDIR/sig.txt
) | $SENDMAIL -t -oi"
Greetz,
Rob Vandeweyer
->Internet: robvdw(_at_)glo(_dot_)be
->Fidonet: 2:292/401.115
-> Also visit homepage (dedicated to Linux) http://bewoner.dma.be/robvdw