Hi Markus,

The output as follows.

1. postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
cafile = /etc/letsencrypt/live/www.zystro.xyz/cert.
pem
compatibility_level = 3.5
disable_vrfy_command = yes
home_mailbox = Mailbox
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 1048576000
maximal_backoff_time = 3h
message_size_limit = 10485760
minimal_backoff_time = 180s
mydestination = $mydomain, $myhostname, localhost
mydomain = zystro.xyz
myhostname = www.zystro.xyz
mynetworks_style = host
myorigin = $mydomain
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_always_send_ehlo = yes
smtp_helo_timeout = 15s
smtp_rcpt_timeout = 15s
smtp_sasl_auth_enable = yes
smtp_tls_CAfile = $cafile
smtp_tls_cert_file = $tcert
smtp_tls_key_file = $tkey
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_dire
ctory}/smtp_scache
smtpd_banner = $myhostname
smtpd_client_restrictions = reject_rbl_client dnsbl
.sorbs.net
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_helo_hostn
ame, reject_non_fqdn_helo_hostname, reject_unknown_
helo_hostname
smtpd_recipient_limit = 40
smtpd_recipient_restrictions = reject_invalid_hostn
ame, reject_unknown_recipient_domain, reject_unauth
_destination, reject_rbl_client sbl.spamhaus.org, p
ermit
smtpd_relay_restrictions = permit_mynetworks permit
_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_timeout = 30s
smtpd_tls_cert_file = $tcert
smtpd_tls_key_file = $tkey
smtpd_tls_security_level = encrypt
strict_rfc821_envelopes = yes
tcert = /etc/letsencrypt/live/www.zystro.xyz/fullch
ain.pem
tkey = /etc/letsencrypt/live/www.zystro.xyz/privkey
.pem
virtual_alias_maps = hash:/etc/postfix/virtual
root@www:~#


2. postconf -M
smtp inet n - y - -
      smtpd
pickup unix n - y 60 1
      pickup
cleanup unix n - y - 0
      cleanup
qmgr unix n - n 300 1
      qmgr
tlsmgr unix - - y 1000? 1
      tlsmgr
rewrite unix - - y - -
      trivial-rewrite
bounce unix - - y - 0
      bounce
defer unix - - y - 0
      bounce
trace unix - - y - 0
      bounce
verify unix - - y - 1
      verify
flush unix n - y 1000? 0
      flush
proxymap unix - - n - -
      proxymap
proxywrite unix - - n - 1
      proxymap
smtp unix - - y - -
      smtp
relay unix - - y - -
      smtp -o syslog_name=postfix/$service_name
showq unix n - y - -
      showq
error unix - - y - -
      error
retry unix - - y - -
      error
discard unix - - y - -
      discard
local unix - n n - -
      local
virtual unix - n n - -
      virtual
lmtp unix - - y - -
      lmtp
anvil unix - - y - 1
      anvil
scache unix - - y - 1
      scache
postlog unix-dgram n - n - 1
      postlogd
maildrop unix - n n - -
      pipe flags=DRXhu user=vmail argv=/usr/bin/mai
ldrop -d ${recipient}
uucp unix - n n - -
      pipe flags=Fqhu user=uucp argv=uux -r -n -z -
a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - -
      pipe flags=F user=ftn argv=/usr/lib/ifmail/if
mail -r $nexthop ($recipient)
bsmtp unix - n n - -
      pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp
/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2
      pipe flags=R user=scalemail argv=/usr/lib/sca
lemail/bin/scalemail-store ${nexthop} ${user} ${ext
ension}
mailman unix - n n - -
      pipe flags=FRX user=list argv=/usr/lib/mailma
n/bin/postfix-to-mailman.py ${nexthop} ${user}
smtps inet n - - - -
      smtpd -o syslog_name=postfix/smtps -o smtpd_t
ls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o
 smtpd_client_restrictions= permit_sasl_authenticat
ed, reject -o milter_macro_daemon_name= ORIGINATING
submission inet n - - - -
      smtpd -o smtpd_etrn_restrictions=reject -o sm
tpd_enforce_tls=yes -o smtpd_tls_security_level=enc
rypt -o smtpd_sasl_auth_enable=yes -o smtpd_sasl_ty
pe=dovecot -o smtpd_sasl_path=private/auth -o smtpd
_sasl_security_options= noanonymous -o smtpd_sasl_l
ocal_domain=$mydomain -o smtpd_client_restrictions=
 permit_sasl_authenticated, reject -o smtpd_sender_
login_maps= hash:/etc/postfix/virtual -o smtpd_send
er_restrictions= reject_sender_login_mismatch -o sm
tpd_recipient_restrictions= reject_non_fqdn_recipie
nt, reject_unknown_recipient_domain, permit_sasl_au
thenticated,reject
root@www:~#


Regards,
-badli


From: Markus Winkler <ml@irmawi.de>
Sent: Monday, April 24, 2023, 05:33
To: dovecot@dovecot.org <dovecot@dovecot.org>
Subject: Re: dovecot sasl with postfix, smtp auth not available

Hi Badli,

On 23.04.23 05:15, Badli Al Rashid wrote:
> Anybody got any ideas ?

please post the output of:

1) postconf -n
2) postconf -M

Regards,
Markus
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org