On 11/14/2012 11:45 PM, Reinaldo de Carvalho wrote:
Is possible call a policy daemon after alias expansion?
Policy checks happen in the context of smtp reception (before end-of-data); alias expansion happens once the message has been accepted (after end-of-data) and just before it is queued.
The only way to reverse this state of events is to re-inject the mail into a separate smtpd(8) listener, with different policy settings (and no_address_mappings).
-- J.