Re: [exim] Callout and Smarthost

Top Page
Delete this message
Reply to this message
Author: Dave Evans
Date:  
To: exim-users
Subject: Re: [exim] Callout and Smarthost
On Sun, May 23, 2010 at 02:03:50PM -0400, Nikolaus Rath wrote:
> Hello,
>
> My server is sending mail over a smarthost, but receives mail directly
> via SMTP. I would like to do sender verification with callouts when
> receiving mails, but due to the default transport being a smarthost,
> exim always tries to verify addresses by contacting the smarthost rather
> than the MX of the address.
>
> Is there a way to have Exim use the smarthost for ordinary mail, but do
> direct connections to the MX when doing sender verification?


Have two routers: one smarthost, one dnslookup. dnslookup only runs when
verifying, smarthost only when /not/ verifying. (See the options "verify",
"verify_only").

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey