Re: [exim] Possible to Customize Error Messages

Góra strony
Delete this message
Reply to this message
Autor: Fred Viles
Data:  
Dla: exim-users
Temat: Re: [exim] Possible to Customize Error Messages
On 22 Jun 2005 at 9:31, .|MoNK|Cucumber . wrote about
    "[exim] Possible to Customize Error ":


| Is it possible to customize Exim error messages?


Yes. RTFM Chapter 45, "Customizing bounce and warning messages".

| Specifically when you send a mail to an invalid recipient, it says:
|
| "Message rejected by SMTP server. Check message content and attachments
| Server Responded: valid RCPT command must precede DATA"


That wasn't generated by exim. The DSN must have been generated by
an upstream MTA.

| I would like to change it to something more friendly such as "Invalid TO
| address specified".


That you can't do. AFAIK, the SMTP 5xx text (and there may be
several) from the remote server isn't available to the config file.

- Fred