procmail
[Top] [All Lists]

Re: spawning an external app

2001-02-17 19:34:44
Justin Shore <listuser(_at_)vinnie(_dot_)ksu(_dot_)ksu(_dot_)edu> writes:
I'm having getting an external app to spawn as an action.  Could 
someone take a peak at my recipe and offer some advice?  Thanks
...
This one doesn't work though.  The error follows the recipe:

VIRUSADDR=virus-alert(_at_)blah(_dot_)net
:0 h c
* !^FROM_DAEMON
* !^X-Loop: $VIRUSADDR
* ^Subject: Test bounce message
| (formail -r \
-I"Precedence: junk" \
-I"From: SKTC Virus Alert Daemon <$VIRUSADDR>" \
-I"Subject: [Virus Alert]  You've been infected" \
-A"X-Loop: $VIRUSADDR" ; \
/bin/cat "/etc/mail/vbs.ss-txt") | $SENDMAIL -t
...
procmail: Assigning "LASTFOLDER= (formail -r \
-I"Precedence: junk" \
-I"From: SKTC Virus Alert Daemon <$VIRUSADDR>" \
-I"Subject: [Virus Alert]  You've been infected" \
-A"X-Loop: $VIRUSADDR" ; \
procmail: Skipped "/bin/cat "/etc/mail/vbs.ss-txt") | $SENDMAIL -t"

Procmail doesn't think the "cat" line is part of the action.  That implies
that the newline before it (on the X-Loop: line) is not preceeded by
a backslash.  _That_ implies that there are spaces or tabs after the
backslash on that line.  Remove them and give it another try (check the
rest of your rcfile for other occurences while you're at it).


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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