From: LuKreme (List User Kreme) ("LuKreme)
Date: Tue Sep 02 2003 - 14:16:09 EDT
Noel Jones said:
> At 01:28 PM 9/1/03 -0600, List User Kreme wrote:
>>Right. it is in mime_header_checks (and is working). It is the
>>header_checks that is not logging the warning. Oddly, if I introduce a
>>syntax error into the header_checks file, I see the warning of the syntax
>>error, so I'm baffled.
>>
>>/etc/postfix/header_checks:
>># Insert Syntax error
>>/^Content-Type:.*text//html/ WARN 597 No HTML-ONLY email allowed.
>
> content-type headers are always MIME headers, and will only be matched by
> mime_header_checks, no matter where they appear in the mail.
Aha! that would explain it then. I thought, of course, that
header_checks cheked ALL the headers of the message.
-- Squirrelmail -- not just for rodents
|
|
|