I'm using Ubuntu and postfix and dovecot to host a mail server. When i try and run telnet localhost 25 i get an error SASL no authentication methods. I am also using mysql to store usernames and passwords. The permissions for the auth file are correct.
My postfix config:
alias_database = hash:/etc/aliasesalias_maps = hash:/etc/aliasesappend_dot_mydomain = nobiff = nobroken_sasl_auth_clients = yescompatibility_level = 3.6debug_peer_level = 3debug_peer_list = 127.0.0.1default_transport = errorinet_interfaces = loopback-onlyinet_protocols = allmailbox_size_limit = 0mydestination = $myhostname, UbuntuDovecot, localhost.localdomain, localhostmyhostname = UbuntuDovecot.seattleschools.orgmynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128queue_directory = /var/spool/postfixreadme_directory = norecipient_delimiter = +relay_transport = errorrelayhost =smtp_tls_CApath = /etc/ssl/certssmtp_tls_security_level = maysmtp_tls_session_cache_database = btree:${data_directory}/smtp_scachesmtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destinationsmtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destinationsmtpd_sasl_auth_enable = yessmtpd_sasl_local_domain = $myhostnamesmtpd_sasl_path = /var/spool/postfix/private/authsmtpd_sasl_security_options = noanonymoussmtpd_sasl_type = dovecotsmtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pemsmtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.keysmtpd_tls_loglevel = 4smtpd_tls_security_level = mayvirtual_mailbox_domains = mysql:/etc/postfix/virtual-mail-domains.cfvirtual_mailbox_maps = mysql:/etc/postfix/virtual-mailbox.cfmy dovecot config:
auth_debug = yesauth_debug_passwords = yesauth_mechanisms = plain loginauth_verbose = yesdebug_log_path = /var/log/dovecot-debug.logdisable_plaintext_auth = noinfo_log_path = /var/log/dovecot.loglog_path = /var/log/dovecot.logmail_debug = yesmail_gid = vmailmail_home = /var/mail/vmail/%d/%nmail_location = maildir:/var/mail/vmail/%d/%nmail_privileged_group = mailmail_uid = vmailnamespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix =}passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext}userdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext}service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix }}ssl_cert = </etc/dovecot/private/dovecot.pemssl_client_ca_dir = /etc/ssl/certsssl_key = </etc/dovecot/private/dovecot.pemverbose_proctitle = yesverbose_ssl = yesidk why it isn't working ive spent 12 hours trying to fix this. I use the SQL for user management It could be part of the problem idk.