[exim] Re: Callout from Exim hub to local Exim server

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Rory Campbell-Lange
Date:  
À: Jason L Tibbitts III
CC: Exim Users
Sujet: [exim] Re: Callout from Exim hub to local Exim server
Many thanks for your help, Jason. I think I've hit a snag since the
routing server thinks the mail is local, so it won't do a callout.

The routing server thinks it is example.com. Howerver I force mail to
example.com to another internal host:

router:

    accept_relay_for_example:
      driver = accept
      domains = example.com
      transport = local_smtp_example
      no_more


transport:

    local_smtp_example:
      driver = smtp
      hosts = 192.168.181.254
      hosts_override


Both servers are Exim (4.52) servers.

Thanks for any further tips.
Rory

On 12/10/05, Jason L Tibbitts III (tibbs@???) wrote:

> RC> The internal host has its user list generated through postgresql
> RC> queries. I'm unclear whether it would be best to do database calls
> RC> on the hub or to do callouts.
>
> I have two hosts which accept mail for all internal hosts. Some
> information is in LDAP, so I have a local LDAP replica on each mail
> host. Some information isn't in LDAP or is dynamic so callouts are
> done to the appropriate hosts when necessary.

...
> I think you have to do verification in an ACL, but I'm certainly no
> expert. In a router, the "verify" option only takes a boolean and
> controls whether the router is consulted during address verification.
>
> I have this in my RCPT ACL:
>
>   # Check special hosts that run their own mail
>   accept  domains       = +special_domains
>           endpass
>           verify        = recipient/callout=defer_ok

>
>   # The other hosts can be verified via LDAP
>   accept  domains       = +local_domains
>           endpass
>           verify        = recipient


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