Re: [Exim] Router question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Douglas Gray Stephens
Dátum:  
Címzett: Philip Hazel
CC: Exim Users
Tárgy: Re: [Exim] Router question
Philip,

At 13:56 on 15-June-2001, Philip Hazel wrote:
> On Fri, 15 Jun 2001, Douglas Gray Stephens wrote:
>
 > > no_footer:
 > >     driver = domainlist
 > >     transport = footer_bounce
 > >     domains = !mydomain1.com : !*.mydomwin2.com : !*.westerngeco.com : *
 > >     condition = "${if and {{!match {$message_body_end}{}} \
 > >                            {!match {$message_body}{CODE:XT7048}}\
 > >                           } \
 > >                           {yes}{no}}"
 > >     route_list = * 134.32.26.8 byname

> >
> > which causes the message to go out AND a second message is sent by the
> > footer_bounce transport (back to the sender).
>
> No. It just causes the message to be sent to the footer_bounce
> transport if the condition matches. If the condition does not match, the
> address is passed to the next router.


I was mis-reading the log file, that had details like
2001-06-15 17:15:32 15Ax8b-0000Nh-00 == DGrayStephens@??? T=footer_bounce defer (-43): Retry time not yet reached
2001-06-15 17:15:32 End queue run: pid=1494
2001-06-15 17:18:31 15AxEt-0000OH-00 <= gray@??? H=melbourn1.cambridge.scr.slb.com (GRAY-SCR.cambridge.scr.slb.com) [134.32.188.98] P=esmtp S=539 id=1955-Fri15Jun2001171836+0100-gray@???
2001-06-15 17:18:31 15AxEt-0000OK-00 <= <> R=15AxEt-0000OH-00 U=exim P=local S=2250
2001-06-15 17:18:31 15AxEt-0000OH-00 => DGrayStephens@??? R=no_footer T=footer_bounce H=134.32.26.8
2001-06-15 17:18:37 15AxEt-0000OH-00 => gray@??? R=lookuphost T=remote_smtp H=platinum1.cambridge.scr.slb.com [134.32.103.3]
2001-06-15 17:18:37 15AxEt-0000OH-00 Completed
2001-06-15 17:18:49 15AxEt-0000OK-00 => gray@??? R=lookuphost T=remote_smtp H=platinum1.cambridge.scr.slb.com [134.32.103.3]
2001-06-15 17:18:49 15AxEt-0000OK-00 Completed

so the line
=> DGrayStephens@??? R=no_footer T=footer_bounce H=134.32.26.8
made me think the message had been delivered. On checking the logs
on the exim server running on 134.32.26.8 there was no connection.

Thanks for your help,

Douglas.

>
> > What I really want is to abort the sending of the message, and only
> > send a message back to the sender.
>
> That is what will happen if your footer_bounce transport sends the
> message.
>
> > The ablity to use a smartuser
> > driver in the router section would solve this,
>
> [Although I don't think it's necessary here, note that in Exim 4 the
> distinction between routers and directors will be abolished. One of the
> reasons is precisely so that they can all be used in all circumstances.]
>
 > -- 
 > Philip Hazel            University of Cambridge Computing Service,
 > ph10@???      Cambridge, England. Phone: +44 1223 334714.

>
>