LuKreme:
> I have a account that is managed via sql and has an alias in 
> 
> mysql_virtual_alias_maps.cf
> 
> I would like to do some processing on emails before they are
> forwarded along to the alias, but I don?t see a way to interject
> some process (say, procmail or spam or clamav) in that part of the
> process.

That is correct. Virtual aliases are processed while mail is received.

To process mail outside Postfix before virtual alias expansion, you
would need to use an "after queue" content filter, with virtual
alias expansion disabled before the filter, and virtual alias
expansion enabled after the filter.

It's kind-of kludgy with many moving parts:

http://www.postfix.org/FILTER_README.html
http://www.postfix.org/postconf.5.html#receive_override_options
http://www.postfix.org/postconf.5.html#content_filter

        Wietse

Reply via email to