Package: postfix
Version: 3.10.2-1
Severity: important

Dear Maintainer,

using postfix together with cyrus sasl worked by creating the file
/etc/postfix/sasl/smtpd.conf with the corresponding content (see e.g.
bug reports #252025 and #262869) in debian release up to bookworm. There 
was no need to set the option cyrus_sasl_config_path in 
/etc/postfix/main.cf

Using trixie it seems to be necessary, to explicitly set 
cyrus_sasl_config_path = /etc/postfix/sasl

In the HISTORY of postfix
https://sources.debian.org/src/postfix/3.10.2-1/HISTORY/#L26584 the
following is mentioned:

20220808

        Documentation: some Debian releases hard-code the search
        path for Cyrus SASL application configuration files,
        overriding the cyrus_sasl_config_path setting. Viktor
        Dukhovni. File: proto/SASL_README.html.

Was this hard-coding of the search path removed in trixie?

The following error messages are logged:

May 28 22:21:41 host postfix/submission/smtpd[29758]: connect from 
client[192.168.178.1]
May 28 22:21:41 host postfix/submission/smtpd[29758]: Anonymous TLS connection 
established from client[192.168.178.1]: TLSv1.3 with cipher 
TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature 
RSA-PSS (2048 bits) server-digest SHA256
May 28 22:21:41 host postfix/submission/smtpd[29758]: warning: 
client[192.168.178.1]: SASL LOGIN authentication failed: authentication 
failure, sasl_username=user@host
May 28 22:21:41 host postfix/submission/smtpd[29758]: disconnect from 
client[192.168.178.1] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5

If the option cyrus_sasl_config_path is set, if works (again).

(debian is running in a lxc container on a gentoo host if you are
wondering about the kernel version below)

-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (750, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.21-gentoo-x86_64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfix depends on:
ii  adduser                3.152
ii  debconf [debconf-2.0]  1.5.91
ii  init-system-helpers    1.68
ii  libc6                  2.41-8
ii  libdb5.3t64            5.3.28+dfsg2-9
ii  libicu76               76.1-3
ii  libnsl2                1.3.0-3+b3
ii  libsasl2-2             2.1.28+dfsg1-9
ii  libssl3t64             3.5.0-1
ii  libtlsrpt0             0.5.0rc1-2
ii  netbase                6.5

Versions of packages postfix recommends:
ii  ca-certificates  20250419
ii  python3          3.13.3-1
ii  ssl-cert         1.1.3

Versions of packages postfix suggests:
ii  dovecot-core [dovecot-common]  1:2.4.1+dfsg1-4
ii  libsasl2-modules               2.1.28+dfsg1-9
pn  mail-reader                    <none>
pn  postfix-cdb                    <none>
pn  postfix-doc                    <none>
pn  postfix-ldap                   <none>
pn  postfix-lmdb                   <none>
pn  postfix-mongodb                <none>
pn  postfix-mta-sts-resolver       <none>
pn  postfix-mysql                  <none>
ii  postfix-pcre                   3.10.2-1
pn  postfix-pgsql                  <none>
pn  postfix-sqlite                 <none>
ii  procmail                       3.24+really3.22-4
ii  sasl2-bin                      2.1.28+dfsg1-9
ii  systemd-resolved [resolvconf]  257.5-2
pn  ufw                            <none>

-- Configuration Files:
/etc/postfix/post-install changed [not included]
/etc/postfix/postfix-script changed [not included]

-- debconf information excluded

Reply via email to