Hi Larry,

> ># Parameter for $SPAMASSASSIN
> >#  -P   Pipe message, don't deliver
> >#  -x   Disable user config files
> >#  -a   Use auto-whitelists
> ># cat | $SPAMASSASSIN -P -x -a > out.$$ || { echo Message 
> content rejected;
> exit \
> >$EX_UNAVAILABLE; } cat | $SPAMASSASSIN  > out.$$ || { echo 
> Message content
> rejected; \
> >exit $EX_UNAVAILABLE; }
> >
> >$SENDMAIL -i "$@" < out.$$
> 
> # Parameter for $SPAMASSASSIN
> #  -P   Pipe message, don't deliver
> #  -x   Disable user config files
> #  -a   Use auto-whitelists
> # cat | $SPAMASSASSIN -P -x -a > out.$$ || { echo Message 
> content rejected;
> exit \
> $EX_UNAVAILABLE; }
> 
> cat | $SPAMASSASSIN  > out.$$ || { echo Message content rejected; \
> exit $EX_UNAVAILABLE; }
> 
> $SENDMAIL -i "$@" < out.$$
> 
> It looks like you commented out the delivery to spamassassin. 
>  You used the
> '\' continuation but the first line was commented '#'.  So it 
> looks like
> your script was only executing '$SENDMAIL -i "$@" < out.$$'.

Unfortunately I didn't comment out the delivery to spam assassin. The uncomented line 
is this:
cat | $SPAMASSASSIN > out.$$ || { echo Message content rejected; exit $EX_UNAVAILABLE; 
}

This is maillog:

Aug 13 15:40:40 mailbox spamd[2469]: connection from localhost [127.0.0.1] at port 3182
Aug 13 15:40:40 mailbox spamd[2612]: processing message <[EMAIL PROTECTED]> for 
filter:520.
Aug 13 15:40:41 mailbox spamd[2612]: clean message (0.0/5.0) for filter:520 in 1.0 
seconds, 1647 bytes.

That's odd. I run the same config on 3 other boxes (my own included). No problems at 
all. Just this one is a pain. I'll try another script.

Philipp



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to