On 02/02/07, David Woodhouse <dwmw2@???> wrote:
> On Thu, 2007-02-01 at 21:56 +0000, Peter Bowyer wrote:
> > Yep - understood. You may have a problem here, though - you only want
> > SRS to apply to forwarded mail, but how is Exim going to tell if a
> > message is forwarded? Presumably all mail from the Notes server routes
> > the same way?
>
> It doesn't matter if the mail is forwarded. If you're sending a mail for
> a domain which has an SPF record, and the recipient server is known to
> be broken (i.e. reject for SPF failure even though that's stupid), and
> if this host is not listed in the SPF records for the sender's domain,
> then rewrite.
AFAICR that's not the logic in libsrs_alt - although I stand ready to
be corrected. I agree it's a good real-world algorithm. The OP could
consider using your SES technique instead, he'd have more control over
what's happening.
> That's essentially the logic in the 'rpr_outgoing_goto' router in
> http://david.woodhou.se/eximconf/include/routers-ses -- except I didn't
> bother with the last check.
Noted
Peter
--
Peter Bowyer
Email: peter@???