Re: SOLVED: Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-03 Thread Viktor Dukhovni
On Thu, Mar 03, 2016 at 11:31:50AM +0100, Dietrich Streifert wrote: > And here is the solution: > > I had to explicitely tell the smtp proxy to NOT use tls by specifying > > -o smtpd_use_tls=no > -o smtp_use_tls=no > -o smtpd_tls_security_level=none > -o

Re: SOLVED: Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-03 Thread Dietrich Streifert
Thank you Christian for clarifying this. It seems that the obsoleted parameters survived somehow several migrations since ancient times Regards Dietrich Am 03.03.2016 um 12:01 schrieb Christian Kivalo: On 2016-03-03 11:31, Dietrich Streifert wrote: And here is the solution: I had to

Re: SOLVED: Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-03 Thread Christian Kivalo
On 2016-03-03 11:31, Dietrich Streifert wrote: And here is the solution: I had to explicitely tell the smtp proxy to NOT use tls by specifying -o smtpd_use_tls=no -o smtp_use_tls=no -o smtpd_tls_security_level=none -o smtp_tls_security_level=none where it seems

SOLVED: Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-03 Thread Dietrich Streifert
And here is the solution: I had to explicitely tell the smtp proxy to NOT use tls by specifying -o smtpd_use_tls=no -o smtp_use_tls=no -o smtpd_tls_security_level=none -o smtp_tls_security_level=none where it seems that simply setting smtpd_use_tls and

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-03 Thread Dietrich Streifert
Hi Viktor, thank you for the script I will run it asap on the server. Meanwhile I think the problem is the following: I'm running a smtp_proxy_filter on localhost:10024 as described in http://postfix.cs.utah.edu/SMTPD_PROXY_README.html smtp inet n - n - -

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Viktor Dukhovni
On Wed, Mar 02, 2016 at 10:01:35PM +0100, Dietrich Streifert wrote: > Ah OK! This log entries may be helpfull: > > 135125:Mar 2 18:32:55 node1 postfix/smtp[9047]: 5B0A235E18A: Cannot start > TLS: handshake failure > 135131:Mar 2 18:32:55 node1 postfix/cleanup[22956]: 7D9B335E185: >

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Dietrich Streifert
Ah OK! This log entries may be helpfull: 135125:Mar 2 18:32:55 node1 postfix/smtp[9047]: 5B0A235E18A: Cannot start TLS: handshake failure 135131:Mar 2 18:32:55 node1 postfix/cleanup[22956]: 7D9B335E185: message-id=<20160302172755.5b0a235e...@..de> 135133:Mar 2 18:32:55 node1

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Viktor Dukhovni
On Wed, Mar 02, 2016 at 06:09:54PM +0100, Dietrich Streifert wrote: > I'm using php mail to send mails which uses /usr/sbin/sendmail -t -i to > send the mail. > > On my previous server centos 6 using postfix 2.6.6 the mail was delivered > nearly instant to the recipient, whereas on centos 7

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread John Stoffel
> "Dietrich" == Dietrich Streifert > writes: Dietrich> I'm running centos 7.2 with postfix 2.10.1, installed from the standard Dietrich> centos 7 repo which corresponds to rhel 7. Dietrich> I'm using php mail to send mails which uses

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Mauricio Tavares
On Wed, Mar 2, 2016 at 12:37 PM, Dietrich Streifert wrote: > Hi Mauricio, > > no, there is nothing in the log file. Here is the output for one sending > attempt: > > mail() on [/data/development/phpmail/mail.php:9]: To: > dietrich.streif...@googlemail.com --

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Dietrich Streifert
Hi Mauricio, no, there is nothing in the log file. Here is the output for one sending attempt: mail() on [/data/development/phpmail/mail.php:9]: To: dietrich.streif...@googlemail.com -- Headers: From: nore...@.de Reply-To: s...@.de X-Mailer: PHP/5.4.16 Mar 2 18:27:55 node1

Re: mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Mauricio Tavares
On Wed, Mar 2, 2016 at 12:09 PM, Dietrich Streifert wrote: > Hi all, > > I'm running centos 7.2 with postfix 2.10.1, installed from the standard > centos 7 repo which corresponds to rhel 7. > > I'm using php mail to send mails which uses /usr/sbin/sendmail -t

mail sent via sendmail is queued and delayed for approx. 300 seconds

2016-03-02 Thread Dietrich Streifert
Hi all, I'm running centos 7.2 with postfix 2.10.1, installed from the standard centos 7 repo which corresponds to rhel 7. I'm using php mail to send mails which uses /usr/sbin/sendmail -t -i to send the mail. On my previous server centos 6 using postfix 2.6.6 the mail was delivered