OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
After queue filter in 2.3-20060325

From: Marcel de Reuver (marcelde.reuver.org)
Date: Mon Apr 03 2006 - 08:47:30 CDT


Hello,

I did an update from Postfix 2.2.x to 2.3-20060325. I use after queue
filtering to get a text or html disclaimer added to every outgoing email.
The filter configuration must be changed to get mail out without errors. The
script 'disclaimer.sh' is unchanged.

In master.cf the configuration was:
192.168.10.5:smtp inet n - n - - smtpd
    -o content_filter=dfilt:dummy

dfilt unix - n n - 10 pipe
  flags=Rq user=filter argv=/usr/local/etc/postfix/disclaimer.sh -f
${sender} -- ${recipient}

It must be changed in:
dfilt unix - n n - 10 pipe
  flags=Rq user=filter argv=/usr/local/etc/postfix/disclaimer.sh -f
${sender} ${recipient}

The original -- made a extra email send out to --
This extra email ended in error, undeliverable.

Without the "--" everything works fine now, but the docs doesn't say
anything about this change.

Best regards
Marcel