SMTP issues

Hi all,

I'm able to send and receive email through cloudmin or roundcube web page, but not able to use and setup in mobile , mail receiving but not able to sent. not able to setup smtp send mail.

tried to login with kmail android app , smtp setup results as follows

1) Port - 25 , Security - None

Reply - Cannot connect to server. (unable to open connection to SMTP server)

2) Port - 465 , Security - STARTTLS

Reply - username or password incorrect. (AUTH PLAIN failed (Negative SMTP reply : 535 5.7.8 Error: authentication failed : authentication failure))

3) Port - 465 , Security - SSL / TLS

Reply - Cannot connect to server. (cannot connect to host)

4) Port - 587 , Security - none

Reply -username or password incorrect. (AUTH PLAIN failed (Negative SMTP reply : 535 5.7.8 Error: authentication failed : authentication failure))

5) Port - 587 , Security - STARTTLS

Reply -username or password incorrect. (AUTH PLAIN failed (Negative SMTP reply : 535 5.7.8 Error: authentication failed : authentication failure))

5) Port - 587 , Security - SSL / TLS

Reply - Cannot connect to server. (cannot connect to host)

Please help me to resolve the same.

Regards, Hari P V

Status: 
Active

Comments

Howdy -- a few things to try... if you hadn't already, you may want to take a look at the email logs in /var/log/mail.log to see if any relevant errors are being generated.

You may also want to verify that you're using the correct username to log in with... the full username can be seeing by going into "Edit Users", and looking under the "IMAP Login" field.

Also, check that saslauthd is running, you may want to try restarting it.

Lastly, you may want to verify that for the ports you can't connect to at all, that there isn't a firewall blocking the port.

It looks like you're using Virtualmin GPL though, the area here is for folks using Virtualmin Pro. If you had any additional questions, we'd encourage you to use the Forums for support. We monitor the Forums, along with lots of wonderful folks in the community. Thanks!

hari's picture
Submitted by hari on Fri, 09/15/2017 - 09:50

in /etc/default/saslauthd

edited this line OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" with OPTIONS="-r -c -m /var/spool/postfix/var/run/saslauthd"

Dinamicostudio's picture
Submitted by Dinamicostudio on Sun, 04/26/2020 - 17:15

Hi, I installed virtualmin and RoundCube mail today. I'm getting the error with SMTP Error (535): Authentication failed. Please help me to create a mail to receive and sending mail...