[Exim] redirect router: list address rewriting

Top Page
Delete this message
Reply to this message
Author: Thomas Kinghorn
Date:  
To: Exim-Users (E-mail)
New-Topics: [Exim] secure email
Subject: [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