Szerző: Neal Becker Dátum: Címzett: exim-users Tárgy: another configuration of gone-away
This is another configuration for handling removed accounts. Thanks
to Nick Waterman <nick@???> for the suggestions.
I found out that 'once' can include '${local_part}'. I think that's
pretty handy.
Note that the 'user' specified below must have write access to the log
file and 'once' directory.
gone_away_transport:
driver = autoreply;
from = postmaster,
to = ${reply_address},
cc = postmaster,
log = /usr/local/lib/exim/gone-away/gone-away.log,
once = /usr/local/lib/exim/gone-away/${local_part}.once
return_message,
subject = "Invalid Account",
text = "${local_part} no longer works at COMSAT.\nPlease remove ${local_part}@${domain} from your mailing-list.\nPlease contact postmaster@??? if you require more information.",
user = exim,
end