[exim] Callout from Exim hub to local Exim server

Pàgina inicial
Delete this message
Reply to this message
Autor: Rory Campbell-Lange
Data:  
A: Exim Users
Assumpte: [exim] Callout from Exim hub to local Exim server
We receive mail on a server called mail hub which then routes most of
its mail to an internal host.

The internal host has its user list generated through postgresql
queries. I'm unclear whether it would be best to do database calls on
the hub or to do callouts. As I understand from the spec that the
callout mechanism caches its results, I presume callouts are more
efficient than database queries.

Is there anything special I need to do to support callouts on the two
hosts?

On the hub, I was intending to do something like this:

    # router config snip
    accept_relay_for_us:
        driver = accept
        domains = our.domain.com
        verify = recipient/callout=10s,defer_ok
        transport = local_smtp_us
        no_more


Should this *just work*? Advice much appreciated,
Rory

--
Rory Campbell-Lange
<rory@???>
<www.campbell-lange.net>