Noel Jones:
> On 1/28/2011 4:29 PM, Jerrale G wrote:
> > Here is what I have tried so far:
> >
> > /(^X-Spam-Status:\sYes,\sscore=\d\d(\.\d)?\s)/gi
> > DISCARD High Potential for Spam
>
> That's overly complicated.
>
> /^X-Spam-Status: Yes/ DISCARD High Spam Score
>
> will do the same thing.
>
>
> >
> > Even withn the Discard, does it reflect its action in the log?
> > I think it is required of me to have these logged.
>
> The discard action is logged with the client, the sender and
> the current recipient. With multi-recipient mail, only one
> recipient is logged.
To log all discarded recipients, filter the mail to the discard(8)
delivery agent:
...pattern... filter discard:
According to the manpage, discard(8) was added with Postfix 2.2.
Note; when a message triggers multiple filter actions, only the
last filter action takes effect.
Wietse