Re: Forwarding all mail to office365.com exchange server.

2017-01-11 Thread jdehnert
*Really?* No one has dealt with this issue? Thats astonishing. I would have expected this to have been done many times, to the point where it might even get documented on the Postfix web site (but I can't find it if it is). I may have to abandon this project and look for some other tool, but I

Re: Forwarding all mail to office365.com exchange server.

2017-01-11 Thread jdehnert
Noel Jones-2 wrote > On 1/11/2017 4:33 PM, jdehnert wrote: >> *Really?* No one has dealt with this issue? Thats astonishing. > > No one knows what your issue is. Hmm, I thought I was clear with my post, but I guess I was not clear enough. I should have posted the postconf -

RE: Forwarding all mail to office365.com exchange server.

2017-01-11 Thread jdehnert
Kevin Miller wrote > I can't speak for anyone else, but your original post doesn't seem to have > made it to the list. > > The one that came in an hour ago to which Noel replied had no details, and > it had a "re:" in the subject line indicating it was part of a thread > containing other messages

RE: Forwarding all mail to office365.com exchange server.

2017-01-11 Thread jdehnert
Kevin Miller wrote > Does it have to be authenticated? Assuming that your users receive > internet mail on the office365 box, you could just set the postfix host to > send on port 25. You can limit what it will relay to mail from your > internal subnets so it isn't an open relay and it can pass a

Re: Forwarding all mail to office365.com exchange server.

2017-01-11 Thread jdehnert
Igor Golubkov wrote > Only problem I had with office 365 is old postfix version in CentOS 6 > repos. After building newer version all worked as it should. I'm running this in a Centos 7.2 system, but the Postfix version is a rather old 2.10.1 Would moving up to Postfix 3.1 help? I hate breaking

Re: Forwarding all mail to office365.com exchange server.

2017-01-12 Thread jdehnert
Thanks Boris, but I already have a white list for the incoming hosts. I have a file called 'mynets' that lists all the allowed hosts. That gets used via the line: mynetworks = cidr:/etc/postfix/mynets in main.cfg Unfortunately, it does not solve the relay problem. Boris Behrens wrote > J

Re: Forwarding all mail to office365.com exchange server.

2017-01-12 Thread jdehnert
Thanks for the feedback Christian, I have been reading the ADDRESS_REWRITING pages in the Postfix web site, but so far everything I try ends up with no mail being passed. I have tried using sender canonical maps, but I don't think I was configuring it properly because I can't get relayed email to

Re: Forwarding all mail to office365.com exchange server.

2017-01-12 Thread jdehnert
Richard-2 wrote > Line 232 has: > >smtp.office365.com[40.97.0.2]:587: > MAIL FROM:< > kemail@ > > > > which I think is what you're after, but it's followed by the > following in line 245: > >smtp.office365.com[40.97.0.2]:587: > 550 5.7.60 SMTP; Client does not have permissio