No, the "[BODY]" line is sent to the connecting server with the error 
that I write. I didn't write it. Here's a sample rejected message when I
 sent a test message from my web-mail to my postfix server:

Remote host said:
550 Spam not accepted.
[BODY]



________________________________
 From: "li...@rhsoft.net" <li...@rhsoft.net>
To: postfix-users@postfix.org 
Sent: Tuesday, November 4, 2014 12:16 PM
Subject: Re: header checks/body checks
 



Am 04.11.2014 um 21:12 schrieb J.:
> I'm using header_checks and body_checks to block certain classes of spam
> that amavis/sa don't seem to be able to catch. The trouble is that when
> it rejects the message, the message failure text is sent followed by:
>
> [BODY]
>
> (and presumably [HEADER] if it matches a header_check rule).
>
> Is there a way to prevent that message from being sent with the text
> that follows the REJECT?

what are you talking about?

the text which follows the REJECT is *by definition* the REJECT MESSAGE 
which is normally part of the bounce generated by the *delivering server*

if you don't want some text there just don't write it

Reply via email to