Re: [EXIM] mail bounce

トップ ページ
このメッセージを削除
このメッセージに返信
著者: iqbal
日付:  
To: exim-users
題目: Re: [EXIM] mail bounce
Hi

I've realised a problem with the solution below, and am hoping (no more
praying :-)) that there is a solution. If a user sends a message from
iqbal@??? to say jon@??? then a bounce will be sent to
iqbal@???, however when exim attempts to deliver this, wont it
bounce back, forming a loop, if so, is there a neat way round this, i.e
allow delivery to *@domain1.com if the sender if the FROM: part is
hostmaster@???, else bounce all others.

This way the bounce will always be delivered but all clients using
domain1.com in there From: parts will get bounced.


Iqbal

Philip Hazel wrote:
>
> 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/ ***