Re: [exim] how to detect if address aliased?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Giuliano Gavazzi
Dátum:  
Címzett: Jakob Hirsch
CC: exim-users
Tárgy: Re: [exim] how to detect if address aliased?


On Sun, 11 Dec 2005, Jakob Hirsch wrote:

> Giuliano Gavazzi wrote:
>
> >> Could you post your routers section?
> > sorry, it's a bit of a mess, but I post it anyway (this is not on a
> > production server!)
>
> Um, I'm not sure what you are trying to do with all this routers.
> Your system_aliases_unspec and system_aliases routers do just the same.


you are perfectly right, and I do not know how I managed to paste in the
incorrect system_aliases router... here is the one that does what it says:

# domain aliases, catch all suffixes
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{DOMAINS_DIR/$domain/alias}}
domains = +local_domains
local_part_suffix_optional
local_part_suffix = -* : +*
file_transport = address_file
pipe_transport = address_pipe


> And what's your address_data good for? $sender_address stays the same
> for the whole message, so you can use it in the transport. And you never
> modify return_path, so you don't even have to explicitely specify it.


I'll reply about that tomorrow, it has to do with the filter (although, as
I say, it is for the moment unused).

Thanks

Giuliano