Autor: David Woodhouse Data: A: exim CC: exim-users Assumpte: Re: [exim] Custom bounce messages for certain users?
On Wed, 2005-03-30 at 12:48 +0100, exim@??? wrote: > Just a quick one - is it possible to set up exim to send special error emails
> for certain users - such as one user at usera@domain find that ppl always email
> her at userb@domain and would like exim to send emails to ppl who sent emails to
> userb@domain saying "Incorrect address, please use usera@domain instead"?
You should not actually generate the bounce messages yourself, but you
can give the information in an SMTP rejection. Make sure you have
'allow_fail' set on your aliases router, and add something like this
to /etc/aliases:
userb: :fail:Incorrect address, please use usera@domain instead