On Tue, Oct 20, 2009 at 01:03:04PM +0500, rihad wrote: > Hi there, I need an external command to be run whenever new mail is finally > delivered to a virtual domain, but I don't need access to the body of that > mail, only who it is for (from its headers). Just wondering if content > filtering is the most efficient way supported by Postfix to do that: > http://www.postfix.org/FILTER_README.html
"Who it is for" cannot be derived from headers, only "who it appears to be for". You need the RCPT TO information. This is available for a content filter, but a policy daemon would probably be more efficient for your case: http://www.postfix.org/SMTPD_POLICY_README.html Geert -- Geert Hendrickx -=- g...@telenet.be -=- PGP: 0xC4BB9E9F This e-mail was composed using 100% recycled spam messages!