This is a discussion on Re: reliability of 3rd party filters with postfix? within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Wed, Oct 06, 2004 at 02:59:26PM +1000, Dimitry Peisakhov wrote: > cat | $SPAMASSASSIN -x | $SANITIZER \ > $ANOMY_CONF ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, Oct 06, 2004 at 02:59:26PM +1000, Dimitry Peisakhov wrote:
> cat | $SPAMASSASSIN -x | $SANITIZER \ > $ANOMY_CONF 2>>$ANOMY_LOG > out.$$ || \ > { echo Message content rejected; exit $EX_UNAVAILABLE; } > > $SENDMAIL "$@" < out.$$ > > exit $? > > > > Now, this setup works fine, but if lets say spamassassin were to have some > sort of problem and lets say would go into an infinite loop or someting, > then mail would never get passed back to postfix for delivery, and be > basically going into a black hole? > No. The script has to return a success exit code before Postfix deletes the mail from the queue. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo@postfix.org?body=unsubscribe%20p ostfix-users> |