procmail
[Top] [All Lists]

Re: Problems with Auto Responder

1999-05-18 19:51:07
At 06:47 PM 5/18/99 -0400, Mark David! wrote:

[snip]

Here's some quick logistics:

procmail v3.10 (10/31/1994)

Here's a printout of the user's .forward file:
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #mailbot"

Here's the .procmailrc file:
SHELL=/bin/sh
VERBOSE=on
SENDMAIL=/usr/bin/sendmail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
:0
* !^FROM_DAEMON
* !^X-Loop: mailbot(_at_)netwater(_dot_)com
| (formail -r -A"Precedence: junk" \   
-A"X-Loop: mailbot(_at_)netwater(_dot_)com" ; \ 
 cat /home/mailbot/fileserver/info.txt ) | $SENDMAIL -t 

I "see" invisible trailing blanks after your backslashes.  This will cause
those lines not to be continued.  I'm assuming that's the cause of your
problem, though I'm not about to figure out what the following lines then
do in procmail 3.10 (don't have it).  You should upgrade anyway.

# we don't want to save any of the messages 
:0 /dev/null

Well, /dev/null should be on the line following ":0" ... but if you
succeed in mailing info.txt, you won't get here anyway, and
if you don't succeed, maybe you want to look at (rather than
trash) the message.

Hope that helps,
Stan

<Prev in Thread] Current Thread [Next in Thread>