OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
do not grasp regexp in header_checks

From: arjen (arjen-mlist3va.net)
Date: Wed Sep 05 2007 - 15:39:32 CDT


Hi,

I am using

if /\bounces\.3va\.net/
!/^To:.*bounces-.*/ DISCARD
endif

in header_checks, postmap complains saying

postmap: warning: header_checks, line 352: expected format: key
whitespace value.
This is the line on which is the "endif".

when I change it to (I add the "blah")

if /\bounces\.3va\.net/
!/^To:.*bounces-.*/ DISCARD
endif blah

it doesn't complain, and it does seem to work, but it is not according
to the docs. Am I missing something?

Version postfix-2.2.10

Thanks,
Arjen.