Re: [Exim] Modifying bounce message text

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Doug Fields
CC: exim-users
Sujet: Re: [Exim] Modifying bounce message text
On Tue, 23 Oct 2001, Doug Fields wrote:

> --- start here
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
>
>    EMAIL-ADDRESS@DOMAIN
>      Child process of TRANSPORT_NAME transport returned 77 (could mean
> permission denied) from command:
>      COMMAND_BINARY
> --- end here

>
> I have replaced some internal stuff with all caps.
>
> In essence, I am indeed returning permission denied (per the sysexits.h
> header) from my pipe transport, but I don't want the user to know any of
> the internals such as the COMMAND_BINARY, TRANSPORT_NAME, return value, etc.
>
> Is there a way to modify the exim.conf file to have it omit or tone down
> this message?


Look at hide_child_in_errmsg. Also look at errmsg_file and errmsg_text.
[Exim 4 is better at hiding this by default.]

If none of those work, consider routing these messages via a special
transport, and write a transport filter.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.