From: LuKreme (List User Kreme) ("LuKreme)
Date: Wed Sep 03 2003 - 04:48:47 EDT
Noel Jones said:
> 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.
Although that is NOT what I am trying to do. OK, effectively, it is, but
specifically I just want to be able to limit the check of the
Content-type: header to the MESSAGE HEADERS and not to the body which may
or may not include MIME headers. Is there no way to limit postfix's scope
in this case to only message headers?
> You can do this with SpamAssassin, and I think someone posted a procmail
> recipe a while back to do this.
Yes, doing it with SA or procmail is trivial, but that doesn't allow me to
reject the mail outright, only to discard it after the fact.
-- Squirrelmail -- not just for rodents
|
|
|