Re: [Exim] Modifying bounce message text

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Doug Fields
Kopio: exim-users
Aihe: 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.