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: New script to parse the postfix logs

2017-01-12 Thread Geert Stappers
On Thu, Jan 12, 2017 at 04:51:22PM -0700, James Reynolds wrote: > So I've been working on this script for about a year or so. I know > about pflogsumm but it is pretty inaccurate for my logs. > > https://github.com/magnusviri/postfix_log_parse > > I've probably made most of the changes I'm going

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

New script to parse the postfix logs

2017-01-12 Thread James Reynolds
So I've been working on this script for about a year or so. I know about pflogsumm but it is pretty inaccurate for my logs. https://github.com/magnusviri/postfix_log_parse I've probably made most of the changes I'm going to for awhile (other projects are calling my attention) so I wanted to pu

Re: how to check what cipher was used to connect

2017-01-12 Thread Dominic Raferd
On 12 January 2017 at 20:13, Fazzina, Angelo wrote: > Thank you that is working perfectly as I need. > http://www.postfix.org/postconf.5.html#smtpd_tls_loglevel > > # -ALF 2017-01-12 > smtpd_tls_loglevel = 1 > > example output for others to see > > Jan 12 14:21:59 mta4 postfix/smtpd[6814]: Ano

RE: how to check what cipher was used to connect

2017-01-12 Thread Fazzina, Angelo
Thank you that is working perfectly as I need. http://www.postfix.org/postconf.5.html#smtpd_tls_loglevel # -ALF 2017-01-12 smtpd_tls_loglevel = 1 example output for others to see Jan 12 14:21:59 mta4 postfix/smtpd[6814]: Anonymous TLS connection established from angelo.uits.uconn.edu[137.99

Re: Invalid argument on remote SMTP servers

2017-01-12 Thread wilfried.es...@essignetz.de
Hi, unfiltered postconf output is overwhelming. Please provide output of postconf -n. Also complete loglines of a failed smtp delivery would be very useful. Seems you are using your host as smarthost, because no relayhost is set. So it would be helpful to know if you have problems sending mail

Invalid argument on remote SMTP servers

2017-01-12 Thread Jeremy Hansen
I have a mail server behind a NAT/Firewall. This mail server was set up to move away a publicly facing mail server. I can’t figure out why this is happening. Incoming mail is working fine but trying to send mail outbound from this mail server is resulting in this error: mail.blah.com[X.X.X.11

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