I do not put HTML in my config. Postfix writes a snip of each message in the 
log when it rejects a message that matches a body_check rule (and often emails 
have HTML in their body as I'm sure you know). Here's a test rule that I 
created so I could send a message that would be rejected and allow me to see 
what a failure message would look like:

/VvVvV/     REJECT Spam not accepted.


My actual rules are a little more involved regexs and seem to be working ok.



________________________________
 From: "li...@rhsoft.net" <li...@rhsoft.net>
To: postfix-users@postfix.org 
Sent: Wednesday, November 5, 2014 1:48 AM
Subject: Re: Correction
 



Am 05.11.2014 um 06:45 schrieb J.:
> I don't think my assumption is completely unwarranted. I created a
> header_checks rule and then sent a message from outside our system and
> this shows up in the log:
>
> Nov  4 12:09:24 kest postfix/cleanup[13287]: 375FR2F2491F: reject:
> header Subject: VvVvV test message...[etc]
>
> Then when I do a test message with a body_checks rule, I get the
> following in the log:
>
> Nov  4 12:18:01 kest postfix/cleanup[8218]: 1G6112F36227: reject: body
> <html><body><div style="color:#000; background-color:#fff [etc...]

what about showing your config?

if you really put HTML after "REJECT" in a rule please stop to maintain 
mail servers!

Reply via email to