Hi All,

I have set up dovecot sasl with postfix. When I check the smtp with ehlo there is no auth advertise.

Connected to www.zystro.xyz.
Escape character is '^]'.
220 www.zystro.xyz
ehlo x.zystro.xyz
250-www.zystro.xyz
250-PIPELINING
250-SIZE 10485760
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING

I did a number of installations the auth was not shown. I have use debian distributed and also dovecot packages.

Sasl.

root@www:~# postconf -a
cyrus
dovecot
root@www:~# postconf -A
cyrus

Dovecot version.

root@www:~# dovecot --version
2.3.20 (80a5ac675d)


Dovecot configuration.

root@www:~# dovecot -n
# 2.3.20 (80a5ac675d): /etc/dovecot/dovecot.conf
# OS: Linux 5.10.0-21-amd64 x86_64 Debian 11.6
# Hostname: www.zystro.xyz
auth_mechanisms = plain login
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_location = mbox:~/Mailbox
namespace {
  inbox = yes
  location =
  prefix =
  separator = /
}
passdb {
  driver = pam
}
postmaster_address = postmaster@zystro.xyz
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service imap-login {
  inet_listener imap {
    address = 127.0.0.1,::1
    port = 143
  }
  inet_listener imaps {
    address = *
    port = 993
    ssl = yes
  }
}
ssl_cert = </etc/letsencrypt/live/www.zystro.xyz/fu
llchain.pem
ssl_key = # hidden, use -P to show it
userdb {
  args = blocking=no
  driver = passwd
}

I have followed the guide at postfix and dovecot but still the auth did not appear.

https://doc.dovecot.org/configuration_manual/howto/postfix_and_dovecot_sasl/

https://www.postfix.org/SASL_README.html 

Anybody got any ideas ? 

Regards,
-badli