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

2017-01-12 Thread Peter
On 13/01/17 17:57, jdehnert wrote: >>smtp.office365.com[40.97.0.2]:587: >> 550 5.7.60 SMTP; Client does not have permissions to send >> as this sender >> >> which might help explain your problem. > > It might help, but how is it that when I send mail from an account ON the > relay ho

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

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

2017-01-12 Thread Richard
> Date: Thursday, January 12, 2017 18:08:05 -0700 > From: 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,

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 Richard
> Date: Thursday, January 12, 2017 17:28:49 -0700 > From: 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 m

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 Boris Behrens
Just a short idea, how about to whitelist the relay server's IP address? Works for us :-) best regards Boris > Am 12.01.2017 um 09:29 schrieb Igor Golubkov : > > I'm using 2.11.6. You could try upgrading but logs would tell us more. > > чт, 12 янв. 2017 г. в 3:14, jdehnert

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

2017-01-12 Thread Igor Golubkov
I'm using 2.11.6. You could try upgrading but logs would tell us more. чт, 12 янв. 2017 г. в 3:14, 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

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

2017-01-12 Thread Christian Kivalo
I have several things like printers and applications that send email to a local linux host running postfix, and I need to get that postfix instance to forward all of its email to the Office365.com Exchange server via an authenticated connection. I have an account that we have used for system

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

2017-01-11 Thread Viktor Dukhovni
On Wed, Jan 11, 2017 at 03:33:40PM -0700, jdehnert wrote: > *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). >

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

2017-01-11 Thread Peter
On 12/01/17 13:14, jdehnert wrote: > 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 the package manager by installing from source, but if 3.1 > can resolve my issues I will give it a try. No n

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-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 Igor Golubkov
Only problem I had with office 365 is old postfix version in CentOS 6 repos. After building newer version all worked as it should. чт, 12 янв. 2017 г. в 2:43, 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.

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

2017-01-11 Thread Kevin Miller
wner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of jdehnert Sent: Wednesday, January 11, 2017 2:43 PM To: postfix-users@postfix.org Subject: RE: Forwarding all mail to office365.com exchange server. Kevin Miller wrote > I can't speak for anyone else, but your origin

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 Kevin Miller
2017 1:52 PM To: postfix-users@postfix.org Subject: Re: Forwarding all mail to office365.com exchange server. 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 th

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 -n output, but I was

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

2017-01-11 Thread Noel Jones
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. To report a problem with postfix, please see http://www.postfix.org/DEBUG_README.html#mail In particular, be sure to include "postconf -n" output and unedited

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