[Exim] redirect router: list address rewriting

Pàgina inicial
Delete this message
Reply to this message
Autor: Thomas Kinghorn
Data:  
A: Exim-Users (E-mail)
Assumptes nous: [Exim] secure email
Assumpte: [Exim] redirect router: list address rewriting
good morning everyone.

Here is the issue i am having.

If a mail is dent to user@???, it is
rewriiten to user@???.
This is succesful.

However, if i mail say domains@???, the addresses of the list
are not rewritten.

list contains:
domains:    user1@???, user2@???


the users are not rewritten to user1@???.

<snip>
rewrite_addresses:
    driver = redirect
    data =
${lookup{$1$2}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail} hT
    file_transport = address_file
    pipe_transport = address_pipe
    domains = lsearch;/usr/exim/alias-file/rewrite-domains
    errors_to = postmaster@???


The files containing the different domains mailing lists are in:
/usr/exim/mailing-lists/

Platform is RH8, using exim 4.10

Regards,

Tom Kinghorn