[exim] per recipient processing.

Top Page
Delete this message
Reply to this message
Author: Steve Wilson
Date:  
To: Exim Mailing List
Subject: [exim] per recipient processing.
Hi,

I'm currently in the process of building and testing a mail server that
will split deliveries to different backend smtp servers based on
$local_name for a particular domain.
All seems to work well until it comes to an email with multiple
recipients and the smarthost routing is done to what seems like the
first recipient.
I've found the recipients_max setting and as this server only receives
mail via MX this would do if there's no better options.
What I think I'd ideally like is that each recipient of a message is
queued individually, is this something that can be done and if so what
do I need to investigate further?

Here's my router for what I'm currently trying:

TEST:
        debug_print = "R: TEST smarthost for $local_part@$domain"
        driver = manualroute
        domains = example.org
        transport = remote_smtp_smarthost
        route_list = *
${lookup{$local_part}lsearch*@{/etc/exim4/testsmarthosts}} byname
        host_find_failed = defer
        same_domain_copy_routing = yes
        no_more


That said I think the same_domain_copy_routing option needs
investigating and could be the cause of the problem, however input from
the list would be greatly appreciated.

Regards

Steve.