Re: [Exim] Exclude Null sender from router

Góra strony
Delete this message
Reply to this message
Autor: Stephen Gran
Data:  
Dla: exim-users
Temat: Re: [Exim] Exclude Null sender from router
On Wed, Jul 28, 2004 at 12:22:32PM +0200, Laurent ibert said:
> Hello the list,
>
> I have a little problem whis my configuration : I set up a router to use
> a smarthost for some domains (aol, hotmail). So far, no problem until I
> experienced a typo in the file search for the relay domain. I then got a
> message from mailer-daemon notfying the typo. But the problem is that
> the error message fails to deliver as the null sender can't use the
> smarthost router, as this one expects a valid home dir.
>
> I tried to add
> - a condition to test the null sender envelope
> - deny the router for null sender
>
> No luck.
>
> Can someone help me?
>
> Thanks.
>
> Here is the smarthost router.
>
> exterieur_perso:
>
> driver = manualroute
> senders = ! : ! ^\$ <= doesn't work


    !senders = :


> transport = remote_smtp
> require_files = ${sender_address_local_part}:/home/${sender_address_local_part}/exim4/relais
> route_data = ${lookup{$domain}lsearch{/home/${sender_address_local_part}/exim4/relais}}


I think. Untested, all the usual.

--
--------------------------------------------------------------------------
|  Stephen Gran                  | If people are good only because they    |
|  steve@???             | fear punishment, and hope for reward,   |
|  http://www.lobefin.net/~steve | then we are a sorry lot indeed.   --    |
|                       | Albert Einstein                         |

--------------------------------------------------------------------------