Geert Hendrickx wrote:
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


Yup, sorry, wrong wording, I knew that To: was under sender's control, and is often forged. Thanks, I'll look into that.

Reply via email to