Email errors when connecting with mail client postfix/dovecot

🛈 SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.3
Virtualmin version 6.17-3 Pro

Good Day

I have looked at the forums for weeks and I am not able to send email from thunderbird via 587 or 465.
Thunderbird picks up the account for send mail and non encrypted and the password fails although correct. Sending mail from read user mail is no issue

Posfix

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
compatibility_level = 2
smtpd_tls_cert_file = /etc/ssl/certs/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtp_tls_CApath=/etc/ssl/certs
smtp_tls_security_level = dane
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = domain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname

mydestination = $myhostname, localhost.$mydomain, $mydomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_protocols = all
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
mail_location = maildir:~/Maildir
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks permit_inet_interfaces
allow_percent_hack = no
tls_server_sni_maps = hash:/etc/postfix/sni_map
smtp_dns_support_level = dnssec
smtp_host_lookup = dns
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_CAfile = /etc/postfix/postfix.ca.pem
mynetworks_style = subnet
smtp_use_tls = yes
mydomain = com
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
milter_default_action = accept
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891

Dovecot

!include_try /usr/share/dovecot/protocols.d/*.protocol

dict {

}

!include conf.d/*.conf

!include_try local.conf
ssl=yes
disable_plaintext_auth = no
mail_privileged_group = mail
mail_location = maildir:~/Maildir
userdb {
driver = passwd
}
passdb {
args = %s
driver = pam
}

ssl_cert = </etc/dovecot/dovecot.cert.pem
ssl_key = </etc/dovecot/dovecot.key.pem
local_name domain.com {
ssl_cert = </home/domain.com/ssl.combined
ssl_key = </home/domain.com/ssl.key
}
local_name *.domain.com {
ssl_cert = </home/domain.com/ssl.combined
ssl_key = </home/domain.com/ssl.key
}

}

Mail Log
Jan 29 23:47:38 domain postfix/smtps/smtpd[178127]: connect from unknown[212.70.149.72]
Jan 29 23:47:47 domain postfix/smtps/smtpd[178127]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 29 23:48:01 domain postfix/pickup[177840]: 66FF526E062E: uid=0 from=
Jan 29 23:48:01 domain postfix/cleanup[178154]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 29 23:48:01 domain postfix/cleanup[178154]: 66FF526E062E: message-id=20220130044801.66FF526E062E@domain.com
Jan 29 23:48:01 domain postfix/qmgr[177841]: 66FF526E062E: from=root@domain.com, size=1255, nrcpt=1 (queue active)
Jan 29 23:48:01 domain postfix/local[178156]: 66FF526E062E: to=root@domain.com, orig_to=, relay=local, delay=0.13, delays=0.02/0/0/0.11, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jan 29 23:48:01 domain postfix/qmgr[177841]: 66FF526E062E: removed
Jan 29 23:48:10 domain postfix/smtps/smtpd[178127]: warning: unknown[212.70.149.72]: SASL LOGIN authentication failed: authentication failure

"

you know that log file below your config post is just noise?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.