Re: pipe trouble

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Neal Becker
Fecha:  
A: exim-users
Asunto: Re: pipe trouble
Mistery solved. PATH is set by default to /usr/bin, and on my system
'cat' is in /bin. Actually if I had carefully read the returned mail,
it said as much.

OK, so here's my tiny contribution to exim configurations:

gone_away_transport:
driver = pipe;
user = nobody,
return_output,
command = "/usr/local/lib/exim/gone-away.sh"

gone_away:
local_parts = lsearch;/usr/local/lib/exim/gone-away
fail_verify,
driver = smartuser,

-------/usr/local/lib/exim/gone-away.sh----
#! /bin/sh

/bin/cat <<End
Your mail to $LOCAL_PART@$DOMAIN was not delivered because that user no
longer has an account on this system.
End
------------------------------------------