Your message dated Wed, 28 Jan 2026 00:37:48 +0300
with message-id <[email protected]>
and subject line Re: Bug#252025: postfix-tls: contributed HOWTO: enable sasl
for a chrooted postfix
has caused the Debian Bug report #252025,
regarding postfix-tls: contributed HOWTO: enable sasl for a chrooted postfix
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
252025: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252025
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postfix-tls
Version: 2.1.1-1
Severity: wishlist
I have gone through and worked out what needs to be done on my system to
enable the use of SASL authentication on a postfix smtpd instance in a
chroot; in practice, it is pretty easy.
I figured that others may also want to look at doing this, so I would
send the details in to you for inclusion in the package if you were
interested.
If you don't care, feel free to ignore me. :)
Daniel
Aim:
Enable SASL authentication for a Postfix SMTPD instance while retaining
the chroot state of the process.
Requirements:
* A kernel with support for bind mounts (2.4.0 and later).
* Working saslauthd
Actions:
* add `postfix' to the `sasl' group.
] id -nG postfix | grep sasl || \
usermod postfix -G `id -nG postfix | sed -e 's/ /,/'`,sasl
* create /etc/postfix/sasl/smtpd.conf, containing:
mech_list: login plain
pwcheck_method: saslauthd
* create the path for the saslauthd socket in the chroot
] mkdir -p ~postfix/var/run/saslauthd
* create a bind mount to put the saslauthd socket in the chroot
mount --bind /var/run/saslauthd ~postfix/var/run/saslauthd
* enable sasl in the postfix configuration files, as normal.
At this point everything should work. :)
Daniel
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-rc3-enki
Locale: LANG=C, LC_CTYPE=C
Versions of packages postfix-tls depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libsasl2 2.1.18-4.1 Authentication abstraction library
ii libssl0.9.7 0.9.7d-3 SSL shared libraries
ii postfix 2.1.1-1 A high-performance mail transport
-- no debconf information
--
What we call reality is an agreement that people have arrived at to
make life more livable.
-- Louise Nevelson
--- End Message ---
--- Begin Message ---
Version: 3.10.6-4
On Tue, 01 Jun 2004 16:39:40 +1000 Daniel Pittman <[email protected]>
wrote:
Package: postfix-tls
Version: 2.1.1-1
Severity: wishlist
I have gone through and worked out what needs to be done on my system to
enable the use of SASL authentication on a postfix smtpd instance in a
chroot; in practice, it is pretty easy.
I figured that others may also want to look at doing this, so I would
send the details in to you for inclusion in the package if you were
interested.
chroot in postfix has been turned off by default for new installs,
finally, after 25 years of misservice and grief for everyone.
Let's close this bug report now, too.
Thanks,
/mjt
--- End Message ---