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 via email to