sendmail: "forcing" relaying

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sendmail: "forcing" relaying

Jacob Yocom-Piatt
i need to force a remote host with sendmail to relay all outbound SMTP
through a local postfix, instead of delivering it itself. the config is
as follows:


host w/ postfix ---VPN--- host w/ sendmail
a.k.a. posthost                   a.k.a. sendhost

when email is sent to mydomain.com, a domain of mine, from sendhost, it
ends up at posthost since posthost is the mailserver for mydomain.com.
however, when email is sent to a remote domain, say hotmail.com, it is
sent directly from sendhost to hotmail.com without routing through
posthost. i need to force sendhost to relay outbound mail through
posthost instead of sending it to hotmail.com itself.

clues appreciated.

cheers,
jake

Reply | Threaded
Open this post in threaded view
|

Re: sendmail: "forcing" relaying

Jacob Yocom-Piatt
Jacob Yocom-Piatt wrote:

> i need to force a remote host with sendmail to relay all outbound SMTP
> through a local postfix, instead of delivering it itself. the config
> is as follows:
>
>
> host w/ postfix ---VPN--- host w/ sendmail
> a.k.a. posthost                   a.k.a. sendhost
>
> when email is sent to mydomain.com, a domain of mine, from sendhost,
> it ends up at posthost since posthost is the mailserver for
> mydomain.com. however, when email is sent to a remote domain, say
> hotmail.com, it is sent directly from sendhost to hotmail.com without
> routing through posthost. i need to force sendhost to relay outbound
> mail through posthost instead of sending it to hotmail.com itself.
>
> clues appreciated.
>

i have been informed offlist by a kindly individual that the sendmail
option to use is SMART_HOST.

cheers,
jake