Re: [Exim] SMTP error code in bounce messages

Etusivu
Poista viesti
Vastaa
Lähettäjä: Simon Williams
Päiväys:  
Vastaanottaja: Hämäläinen Jori
Kopio: exim-users
Aihe: Re: [Exim] SMTP error code in bounce messages
* On Tue, May 06, 2003 at 05:34:54PM +0300, Hämäläinen Jori wrote:
> I would like to generate custom fields in
> bounce messages, based on remote mta smtp
> response code.
>
> x-remote-error: if (smtperror == 552) { "remote mailer over quota" }
>                     else { "unknown error" }

>
> So any hints if such thing can be tweaked into standard
> exim?


I'm not aware of any way of doing it in Exim, but, for what it's
worth, I would recommend against it. It assumes that all remote MTAs
follow the guidelines in RFC1893, which isn't the case, and even some
of these are open to a certain amount of (mis-)interpretation. In my
opinion, it's much better to return exactly what was returned by the
remote MTA for human interpretation.

Just my GBP0.02.
--
 Simon Williams <simon@???> **** GPG: F4A23C69
 "We demand rigidly defined areas of doubt and uncertainty."
                       - Douglas Adams