Re: [EXIM] mail bounce

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: iqbal
CC: exim-users
Subject: Re: [EXIM] mail bounce
On Wed, 9 Dec 1998, iqbal wrote:

> I would like to have any mail sent to user@??? bounced back to
> the sender with a message saying could you please resend to
> user@???. Is there an effecient (low resource) way of doing
> this.


#transport
send_message:
driver = autoreply
text = "please resend to $local_part@???"
return_message
user = exim

#director
send_message:
  driver = smartuser
  domains = domain1.com
  transport = send_message    


Totally untested.

> Also (as if the above wasn't enough :-)) I havein my config, that each
> v.host has its own alias file, now is it possible for a particular set
> of domians, say domain1.com and domain2.com to override this and have
> them both read the same alias file.


Of course. Just set up an earlier director that selects those two
domains using a "domains" option.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***