Re: Substitution with newlines in header_checks

2011-09-22 Thread Kevin Locke
On Thu, 2011-09-22 at 11:05 -0400, Wietse Venema wrote: > Kevin Locke: >> On Wed, 2011-09-21 at 19:30 -0400, Wietse Venema wrote: >>> Kevin Locke: /^X-Spam-Status: Yes.*tests=(.*) autolearn=/ REJECT Message identified as spam by SpamAssassin using the following tests: $1 This

Re: Substitution with newlines in header_checks

2011-09-22 Thread Wietse Venema
Kevin Locke: > On Wed, 2011-09-21 at 19:30 -0400, Wietse Venema wrote: > > Kevin Locke: > >> /^X-Spam-Status: Yes.*tests=(.*) autolearn=/ REJECT Message identified as > >> spam by SpamAssassin using the following tests: $1 > >> > >> This works great, except that the message is chopped off at the

Re: Substitution with newlines in header_checks

2011-09-21 Thread Wietse Venema
Kevin Locke: > On Wed, 2011-09-21 at 19:30 -0400, Wietse Venema wrote: > > Kevin Locke: > >> /^X-Spam-Status: Yes.*tests=(.*) autolearn=/ REJECT Message identified as > >> spam by SpamAssassin using the following tests: $1 > >> > >> This works great, except that the message is chopped off at the

Re: Substitution with newlines in header_checks

2011-09-21 Thread Kevin Locke
On Wed, 2011-09-21 at 19:30 -0400, Wietse Venema wrote: > Kevin Locke: >> /^X-Spam-Status: Yes.*tests=(.*) autolearn=/ REJECT Message identified as >> spam by SpamAssassin using the following tests: $1 >> >> This works great, except that the message is chopped off at the first >> line break in th

Re: Substitution with newlines in header_checks

2011-09-21 Thread Wietse Venema
Kevin Locke: > /^X-Spam-Status: Yes.*tests=(.*) autolearn=/ REJECT Message identified as > spam by SpamAssassin using the following tests: $1 > > This works great, except that the message is chopped off at the first > line break in the X-Spam-Status header. This header_checks pattern: /^Rec

Substitution with newlines in header_checks

2011-09-21 Thread Kevin Locke
Hi All, I have configured Postfix to work with SpamAssassin (using SpamPD) as an SMTPD Proxy Filter similarly to the instructions on the SpamAssassin Wiki[1]. I would like to include a list of the failed tests in the SMTP rejection message to allow legitimate senders to address the problems on th