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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rory Campbell-Lange
Fecha:  
A: Jason L Tibbitts III
Cc: Exim Users
Asunto: [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>