Re: [exim] Alias-Error to /dev/null

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Magnus Holmgren
Data:  
Para: exim-users
Assunto: Re: [exim] Alias-Error to /dev/null
On Wednesday 13 December 2006 08:53, Mail(at)charliesangels.biz wrote:
> [I]f someone sends a not correctly UTF-8 encoded mail is is processed
> correctly and also inserted into the DB but in addition a Mail delivery
> error is generated:
>
> [...]
> This message was created automatically by mail delivery software.
>
> 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:
>
>   pipe to |/opt/otrs/bin/PostMaster.pl
>     generated by ops@myhost

>
> The following text was generated during the delivery attempt:
>
> ------ pipe to |/opt/otrs/bin/PostMaster.pl
>        generated by ops@myhost ------


All right. So, does the script return non-zero in that case? If not, you must
have switched on return_output. Turn it off, and no mail delivery error
message should be generated. If the script does return non-zero despite being
successful, then you have to modify the script, or possibly switch on
ignore_status, but then the user won't know if the script actually failed for
real.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans