Page 1 of 1

Unable to use Starttls , 554 SMTP authentication error

Posted: Wed Jan 11, 2017 9:27 am
by akveeraj
I am stuck at this problem for so long and lost

Using Centos 6.8 , i setup SPF/DKIM/rdns , all are working . But not able to use smtp server in an external application (interspire). When i try to send an email from interspire, Unable to use starttls error comes up. If i disable tls_advertise_host than email goes but in spam.
Domain is techside.co.in, using it as an email server.
smtp: mail.techside.co.in
port: 25/587


Exact logs:
2017-01-10 16:00:30 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=techside.co.in [142.4.26.51] input="\026\003\001"
2017-01-10 16:00:44 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=techside.co.in [142.4.26.51] input="\026\003\001\001\016\001"
2017-01-10 16:00:56 SMTP protocol synchronization error (next input sent too soon: pipelining was advertised): rejected "STARTTLS" H=techside.co.in [142.4.26.51] next input="\r\n"
2017-01-10 16:03:00 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:03:06 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:06:25 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:06:30 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:08:27 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:15:30 SMTP protocol synchronization error (next input sent too soon: pipelining was advertised): rejected "STARTTLS" H=techside.co.in [142.4.26.51] next input="\r\n"
2017-01-10 16:22:00 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:22:06 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:25:02 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:25:07 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:27:07 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:27:12 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:52:01 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:52:07 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:55:01 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 16:55:07 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 16:57:06 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 17:11:01 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 17:11:06 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 17:14:01 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 17:14:06 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003"
2017-01-10 17:16:02 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[123.201.129.145] input="\026\003\003"
2017-01-10 17:42:07 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003\003"
2017-01-10 17:42:15 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003"
2017-01-10 17:45:04 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003\003"
2017-01-10 17:45:11 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003"
2017-01-10 17:47:14 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003\003"
2017-01-10 17:51:40 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=techside.co.in [142.4.26.51] input="\026\003\001"
2017-01-10 17:51:55 SMTP protocol synchronization error (next input sent too soon: pipelining was advertised): rejected "STARTTLS" H=techside.co.in [142.4.26.51] next input="\r\n"
2017-01-10 18:13:06 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003\003"
2017-01-10 18:13:12 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003"
2017-01-10 18:16:05 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003\003"
2017-01-10 18:16:11 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003"
2017-01-10 18:18:10 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[219.91.146.6] input="\026\003\003"
2017-01-11 13:48:55 SMTP protocol synchronization error (next input sent too soon: pipelining was advertised): rejected "STARTTLS" H=techside.co.in [142.4.26.51] next input="\r\n"


Any solutions? I tried creating openssl certificate but it did not help. Any help will be appreciated.

Thanks

Re: Unable to use Starttls , 554 SMTP authentication error

Posted: Thu Jan 12, 2017 8:02 am
by ScIT
akveeraj wrote: ...
port: 25/587
...
SMTP SSL Port should be 465.

Re: Unable to use Starttls , 554 SMTP authentication error

Posted: Sat Jan 14, 2017 12:13 pm
by akveeraj
Thanks, but i already tried that , although i am not able to send email from that as well. it keeps loading without any error.

I commented tls_advertise_hosts = * and i am able to send email from port 25/587 and getting 10/10 on http://mail-tester.com however email still goes into pan specially in gmail.

I am desperate to resolve the issue. If i uncomment tls_advertise_hosts line in /etc/exim/exim.conf i get the same error "Unable to use STARTTLS".

NOw i have used letsencrypt as well but same issue.

Re: Unable to use Starttls , 554 SMTP authentication error

Posted: Tue Jan 24, 2017 8:41 pm
by akveeraj
I haven't been ab;e to resolve this and safe to say that now i won't be following up on this.
however now i am trying luck with only port 465 connection with interspire. It keeps loading when i test the smtp to send an email.

I am getting this error in exim logs:

2017-01-23 03:30:51 TLS error on connection from techside.co.in [142.4.26.51] (SSL_accept): error:00000000:lib(0):func(0):reason(0)
2017-01-23 03:30:51 TLS client disconnected cleanly (rejected our certificate?)

there seems to be some issue with SSl for which i have used letsenrypt certificates.

i checked her
checktls.com , everything looks great here as well..! not sure anymore whats wrong.

Re: Unable to use Starttls , 554 SMTP authentication error

Posted: Wed Sep 27, 2017 6:37 am
by grovalmitch
It is because Google blocks sign-in attempts from apps which do not use modern security standards (mentioned on their support page). You can however, turn on/off this safety feature by going to the link below:

Go to this link and select Turn On

https://www.google.com/settings/security/lesssecureapps

More on...smtp mail