Can't get smtp to send via Thunderbird with SSL port 465, errors in log file!

5 posts / 0 new
Last post
#1 Wed, 11/18/2015 - 14:31
soydemadrid

Can't get smtp to send via Thunderbird with SSL port 465, errors in log file!

Hi my mail / postfix seems to work well from Usermin and webmail I can send and receive but I wanted to set up mail clients like Thunderbird on SSL.

I've added the account to Thunderbird and incoming IMAP mail works great on port 993. But although smtp connects on port 465 I get a wrong password prompt every time!

In Webmin mail logs I can see:

"Nov 18 19:46:15 svr postfix/smtps/smtpd[9980]: warning: SASL authentication failure: Password verification failed Nov 18 19:46:15 svr postfix/smtps/smtpd[9980]: warning: router.asus.com[192.168.0.1]: SASL PLAIN authentication failed: authentication failure Nov 18 19:46:15 svr postfix/smtps/smtpd[9980]: warning: router.asus.com[192.168.0.1]: SASL LOGIN authentication failed: authentication failure Nov 18 19:47:58 svr postfix/smtps/smtpd[9980]: lost connection after AUTH from router.asus.com[192.168.0.1]"

What is weird is my router is mentioned in there... not sure why as the ports are forwarded correctly... Is this normal?

Any help really appreciated thanks.

Wed, 11/18/2015 - 15:14
andreychek

Howdy,

From the point of view of your server, all requests it's receiving are coming from router.asus.com, since it's doing NAT.

So that part is actually normal.

As far as the errors you're receiving though -- the first place we should start, are you sure that the username and password are correct?

For example, you can see the actual usernames to use by going into Virtualmin, and clicking "Edit Users".

You mentioned it worked from Usermin -- Usermin is a bit more forgiving about the actual username being used though.

-Eric

Thu, 11/19/2015 - 03:55
soydemadrid

Hi thanks for the reply.

The password and user seem correct as the incoming mail from port 993 is working fine on imap, it's just the smtps that's not going due to authentication, even though the password and user should be the same?

Checked in the 'Users' section and credentials look ok...

Does my postfix config look ok?

========================================================================== service type private unpriv chroot wakeup maxproc command + args (yes) (yes) (yes) (never) (100) ==========================================================================

smtp inet n - - - - smtpd

smtp inet n - - - 1 postscreen smtpd pass - - - - - smtpd dnsblog unix - - - - 0 dnsblog tlsproxy unix - - - - 0 tlsproxy

submission inet n - - - - smtpd

-o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_reject_unlisted_recipient=no -o smtpd_client_restrictions=$mua_client_restrictions -o smtpd_helo_restrictions=$mua_helo_restrictions -o smtpd_sender_restrictions=$mua_sender_restrictions -o smtpd_recipient_restrictions= -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING

smtps inet n - - - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_reject_unlisted_recipient=no

-o smtpd_client_restrictions=$mua_client_restrictions -o smtpd_helo_restrictions=$mua_helo_restrictions -o smtpd_sender_restrictions=$mua_sender_restrictions -o smtpd_recipient_restrictions=

-o smtpd_relay_restrictions=permit_sasl_authenticated,reject

-o milter_macro_daemon_name=ORIGINATING 628 inet n - - - - qmqpd

pickup unix n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr unix n - n 300 1 qmgr

qmgr unix n - n 300 1 oqmgr

tlsmgr unix - - - 1000? 1 tlsmgr rewrite unix - - - - - trivial-rewrite bounce unix - - - - 0 bounce defer unix - - - - 0 bounce trace unix - - - - 0 bounce verify unix - - - - 1 verify flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - - - - smtp relay unix - - - - - smtp

-o smtp_helo_timeout=5 -o smtp_connect_timeout=5

showq unix n - - - - showq error unix - - - - - error retry unix - - - - - error discard unix - - - - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - - - - lmtp anvil unix - - - - 1 anvil scache unix - - - - 1 scache #

====================================================================
Fri, 12/04/2015 - 11:19
soydemadrid

Hi can anyone please help, I'm still having this problem. I've tried all sorts of different things in Virtualmin, Postfix settings, commenting and uncommenting in the postfix config files...

Email sends great on port 993 from Thunderbird, but every attempt to send email on port 465 ssl/tls just gives me a popup asking for another password.

I've checked and the the port is open and forwarded correctly in my router.

Any help really appreciated to get mail to send correctly. Thanks.

Wed, 01/06/2016 - 09:04
soydemadrid

Hi sorry to re-bump this thread. But I still can't send out emails. Webmail in Usermin works great and sends them out and receives them.

But in Thunderbird I can only receive and not send.

On checking my Webmin Postifix Mail Queue there are about 300 messages queued up and all stuck there with more notification emails queuing each day.

Can anyone please help me to get this working and get my message queue to send too?

Also I get this error in mail.log: Jan 6 14:49:19 svr postfix/smtp[9162]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter

Topic locked