Author: Jasen Betts Date: To: exim-users Subject: Re: [exim] ACL variable for SMTP error
On 2013-10-18, josh trier <josh@???> wrote: > Hello
>
> I'm trying to capture a certain SMTP error code upon sending mail. However
> i'm no such luck to where this is stored during transaction.
>
> For example
once the mail is accepted by exim the ACLs are finished they can't
participate further. from there-on it's routers and transports only.
> Trying to capture the "550 action not taken" from the below.
that usually comes after another error
> SMTP error from remote mail server after end of data: host
> ASPMX.L.GOOGLE.COM [173.194.76.26]: 550 Action not taken
you can catch that in the log, and possibly in the 'non-smtp'
ACL where the bounce is produced.