All,
I finally found a solution to getting my autoresponder working. For
the life of me I can't manage to figure out WHY this method works
while the standard method does not. My best guess from hours of
troubleshooting is that using | or < to pipe or feed info to programs
that are executed with a "|" causes things to fail...
Here is the working code (notice I use no pipes or < in my executed programs):
:0wc
* !^FROM_DAEMON
* !^X-Loop: jlyman(_at_)$PRIMEDOMAIN
{
:0wc
* ? $TEST -f $MAILROOT/jlyman.txt
{
:0fwc
| formail -r
:0Afbw
| cat $MAILROOT/jlyman.txt
:0wc
| /usr/sbin/sendmail -t -f jlyman(_at_)$PRIMEDOMAIN
}
}
AND here is the code that doesn't work (the code that EVERYONE in the
world uses... notice how output is PIPED through to another program
which should be running):
:0wc
* !^FROM_DAEMON
* !^X-Loop: jlyman(_at_)$PRIMEDOMAIN
| (formail -r -I"Precedence: junk" \
-A"X-Loop: jlyman(_at_)$PRIMEDOMAIN" ; \
cat $MAILROOT/jlyman.txt) | /usr/sbin/sendmail -t
Any thoughts are appreciated... I don't want a server that works but has quirks.
Joe
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail