Re: [Exim] :fail: from a router

Página Inicial
Delete this message
Reply to this message
Autor: Lane Vance
Data:  
Para: exim-users
CC: Sander Smeenk
Assunto: Re: [Exim] :fail: from a router
Sander - Thanks for the suggestions and ideas. I tried with the space after
:fail: but it did not seem to make a difference.

When I tried the cannot_route_message in the below router, Exim no longer
logs a reason for why the message rejected and the bounce on the remote
server still says "unknown user".

In a router, is the message after :fail: only for logging purposes? If so,
the cannot_route_message should do the trick, right?

Could this simply be a problem with the remote mail server not reading the
errors properly? I will have to test this if I can get my hands on another
mail account.

Anyone else using user defined white and blacklists? If so, how are you
implementing them?

blacklist_domain:
driver = redirect
senders = ${lookup mysql{SQL_BLACKLIST_QUERY}{$value}}
allow_fail
cannot_route_message = $local_part@$domain has blacklisted all mail coming
from $sender_address_domain
data = :fail:

Thanks!
-Lane


----- Original Message -----
From: "Sander Smeenk" <ssmeenk@???>
To: "Lane Vance" <lists@???>
Cc: <exim-users@???>
Sent: Tuesday, October 14, 2003 3:28 AM
Subject: Re: [Exim] :fail: from a router


> Quoting Lane Vance (lists@???):
>
> > blacklist_address:
> > data = :fail:$local_part@$domain has blacklisted all mail coming from
> >
> > It does fail a blacklisted address but gives a different error message:
> > Remote host said: 550 unknown user
> > It's probably just me, but I appreciate any insight or guidance.
>
> Two things that come to my mind:
>
> Shouldn't it be 'data = :fail: $local_part@$domain ....' ?
> I don't know for sure, but I think the extra space between the last :
> and the first $ is essential...
>
> You could also take a look at the 'cannot_route_message' setting. It
> might make a difference.
>
> I haven't tested anything, these are just ideas ;)
>
> Sander.
> --
> | Alles hat ein ende, nur die wurst hat zwei
> | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>