On Wed, Sep 30, 2015 at 08:07:24AM -0400, Charles Marcus wrote: > How do I tell postfix to pass these emails on to Office365, keeping all > headrs intact, so the emails look as if they were originated/sent using > the Office365 SMTP system? I'm thinking some kind of SMTP Auth > pass-thru, but I'm not sure exactly what to google on, and I don't think > this is a normal relay setup...
Why not just NAT the traffic to the Office365 submission service? If queueing is simpler, Postfix needs to be compiled with Cyrus SASL support: $ postconf -A cyrus if so: http://www.postfix.org/SASL_README.html#client_sasl (appropriate username + password) http://www.postfix.org/postconf.5.html#relayhost (outlook365 outbound service) http://www.postfix.org/postconf.5.html#mynetworks (include originating client) http://www.postfix.org/postconf.5.html#mydestination (empty) -- Viktor.