Author: Phil Pennock Date: To: Matt Justin CC: exim-users Subject: Re: [exim] exim mail queue sent off wrong IP
On 2011-07-19 at 02:34 +0000, Matt Justin wrote: > I have cpanel/exim setup to send mail for specific urls over specific ips. This is working fine except when there was mail queued up due to a ISP temporary deferring it. Exim did its job and deferred sending the emails and they sat in queue awaiting for the block to be listed. When Another url/ip started sending some mail exim saw that the other IP was delivering mail to that ISP that was blocked on the other IP and sent the mail over the unblocked IP.
>
> How i found this out is we got a alert from that the SPF record failed for a mail.
>
> Is there a way to tell exim's mail queue to not send the other urls mail that is blocked over the unblocked IP?
Exim will only send mail over the configured Transports, as dictated by
the Routers which accept responsibility for delivering to that
recipient.
If Exim sent email without constraining its source IP address, then you
have a Transport which supports that and the first Router accepting the
mail is using that Transport.
So: please provide your configuration (you can strip comments) and
log entries for the problematic messages.