Re: [exim] Will using a smarthost give me problems with chec…

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] Will using a smarthost give me problems with checks onremote servers
Hello Rich,
Rich Stanton <stantonrj@???> (Fr 22 Jan 2010 20:33:59 CET):
> I use exim 4.69 on ubuntu Hardy Heron. The server is not the mailserver for
> the main domain, but handles mail for a small, separate, domain. Recently
> the admins of the main mailservers have changed their config so that the
> main incoming mx servers won't receive mail from a machine on the local
> network - only from a remote network. Thus if my server sends mail to the
> main mailserver, it fails.
>
> I can use the main outgoing smtp server as a smarthost, then it all works.
> However am I then setting myself up for rejections from other, remote MX
> servers, because mail from my domain will appear to come from the separate,
> main domain (as a result of going through the smarthost)? Or will it be
> fine?


It depends… Normally the smarthost should not modify the sender address
of the mails passing it. As long as you do not propagate SPF records
with other outgoing IPs than that of your smarthost, everything should
be fine.

And additionally, there is no relation to be assumed between the MX for
your (sub) domain and the server, sending your mails off to the internet
(your smarthost).

> Is there a different workaround that would enable me to send directly for
> all domains except this one, which would use the smarthost?


You could configure your the dnslookup router (as in the example
config). And, since order matters, you could place a smarthost router
(driver = manualroute) before the dnslookup router, using a "domains =
…" precondition.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -