SMTP not working

August 29, 2016 266 views
Email Ubuntu 16.04

After upgrade to Ubuntu 16.04 and Roundcube update I have trouble to send email.

Roundcube throws error SMTP Error (250): Authentication failed.

Dont know what to do? Any idea?

  • As far as your mail services go, roundcube is just a client. I would recommend checking on your log files in /var/log and seeing if you can find out some more detail on the issue you're encountering. It's also worth trying to connect directly to your SMTP service to see if you can authenticate that way. If you can share any additional information from your log files here it would help in recommending the next steps to take.

  • This is /var/log/mail.log

    NOQUEUE: reject: RCPT from[]: 454 4.7.1 <>: Relay access denied; from=<> to=<> proto=ESMTP helo=<>
    dizdarevic postfix/smtpd[7198]: disconnect from [] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5

    This is Roundcube log

    SMTP Error: Authentication failure: SMTP server does not support authentication (Code: ) in /etc/zpanel/panel/etc/apps/webmail/program/lib/Roundcube/rcube.php on line 1596 

    How to connect to SMTP directly?

2 Answers

Output of

telnet 25
ehlo localhost


220 ESMTP Postfix (Ubuntu)
EHLO localhost
250-SIZE 10240000
250 DSN

Have another answer? Share your knowledge.