|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Mime_header_checks and header_checks
From: Noel Jones (njones
megan.vbhcs.org)
Date: Tue Sep 02 2003 - 09:35:24 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]