These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Can't connect via smtp on the new forum.
Hi,
I have a trouble with the smtp connection. When I try to connect using GMail (add external account option) with the following data:
- SMTP: mail.domain.com
- Port: 587
- Username: username
- Password: password
- Connect using TLS
I get the following error:
"535 5.7.8 Error: authentication failed: generic failure code(535)".
Here is my mail log:
Aug 25 00:21:56 vps3234 postfix/smtpd[2024]: connect from mail-qk0-f178.google.com[209.85.220.178]
Aug 25 00:21:57 vps3234 postfix/smtpd[2024]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Aug 25 00:21:57 vps3234 postfix/smtpd[2024]: warning: SASL authentication failure: Password verification failed
Aug 25 00:21:57 vps3234 postfix/smtpd[2024]: warning: mail-qk0-f178.google.com[209.85.220.178]: SASL PLAIN authentication failed: generic failure
Aug 25 00:21:57 vps3234 postfix/smtpd[2024]: lost connection after AUTH from mail-qk0-f178.google.com[209.85.220.178]
Aug 25 00:21:57 vps3234 postfix/smtpd[2024]: disconnect from mail-qk0-f178.google.com[209.85.220.178] ehlo=2 starttls=1 auth=0/1 commands=3/4
Is the third fresh install of virtualmin trying to fix this issue. Thanks for any help!
This was an old message caught up in the moderation queue, so not sure if it's still relevant, but the issue can be resolved by running:
# virtualmin config-system --include SASL
The SASL configuration was incorrect on some distros/versions for a while after the move to the Virtualmin 6 installer, and this fixes it.
--
Check out the forum guidelines!