Neal Becker allegedly said:
> 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
> ------------------------------------------
Purely out of curiosity, why ARE you using pipe rather than autoreply? I
assume you're planning on doing something a little more sophisticated
than just that "cat"?
Also you lose the advantage of the "once" option, don't you? personally
I have this:
[transports section]
excimio:
driver = autoreply;
from = postmaster,
to = ${reply_address},
cc = postmaster,
log = /disk/_mail/config/excimio.log,
once = /disk/_mail/config/excimio.once,
return_message,
subject = "Invalid Account ${local_part}@${domain}",
text = "${local_part} no longer works at Cimio.\nPlease remove ${local_part}@${domain} from your mailing-list.\nPlease contact postmaster@??? if you require more information.",
user = cimio
[directors]
excimio:
fail_verify,
driver = aliasfile,
transport = excimio;
errors_to = postmaster,
file = /disk/_mail/config/excimio.list,
search_type = lsearch
--
Nick Waterman, Network Manager, Cimio Ltd.
nick@??? nick@??? G7RZQ @ GB7DEO.#32.GBR.EU
http://www.cimio.co.uk/~nick/ #include <disclaimer> Team AMIGA!
It looks like blind screaming hedonism won out.