From: Noel Jones (no email)
Date: Tue Sep 02 2003 - 10:35:24 EDT
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.
A syntax error is always a syntax error, even if nothing matches the pattern.
>logged:
>postfix/cleanup[53323]: warning: pcre map /etc/postfix/header_checks, line
>1: unknown regexp option "/": skipping this rule
-- Noel Jones
|
|
|