Good afternoon,

I have a Postfix machine that accepts outgoing mail when MUA has
authenticated. Later I send that email to Amavis in order to get tagged or
signed (with DKIM and Altermime). When that mails come back from Amavis
(in the Postfix smtpd instance where amavis processed mail is delivered) I
would needed to know which authenticated user has delivered the mail to
this mail machine, in order to be able to call a FILTER action from a
policy (in this Postfix smtpd instance for receiving mail processed by
Amavisd). The problem is that coming mail from Amavis, does not auth so in
the policy elements I don't have the sasl_username.

Could I achieve in some manner, to know the sasl authenticated user in the
smtpd instance for mail coming from Amavis?. Could I do perhaps with some
policy element, try to later relate an incoming mail (where I see
sasl_username) with that same email in the instance that comes from Amavis
for being able to know which FILTER action should I use?.

I know there's a possibility of using smtpd sasl authenticated header but I
don't really trust in that way...

Any ideas? :)

Best regards,

-- 
Egoitz Aurrekoetxea

Reply via email to