Re: Mime_header_checks and header_checks

From: Noel Jones (no email)
Date: Tue Sep 02 2003 - 14:58:28 EDT


At 12:36 PM 9/2/03 -0600, LuKreme (List User Kreme) wrote:
>Noel Jones said:
> > content-type headers are always MIME headers, and will only be matched by
> > mime_header_checks, no matter where they appear in the mail.
>
>Sorry, one more question. If this is the case, there is no way to use the
>header_checks to block a message that has a content-type of text/html (as
>opposed to a multipart message that has a text/plain porton and a html
>portion), is that right?

That's right.
Postfix by itself can't decide if a message is missing a text/plain
part. In general, postfix isn't able to test for any "missing" information
in the headers/body.

You can do this with SpamAssassin, and I think someone posted a procmail
recipe a while back to do this.

-- 
Noel Jones
-
To unsubscribe from the postfix-users list, click the link below:
<mailto:?body=unsubscribe%20postfix-users> 







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD