Updated Error Notes

I found a bug in postfix 3.8.6

read the bug report filed:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/2133880

action taken: make sure only standard packages are installed.

Updated Configuration Summary
more /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"

apt-get install sasl2-bin libsasl2-2 libsasl2-modules
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
sasl2-bin is already the newest version (2.1.28+dfsg1-5ubuntu3.1).
libsasl2-2 is already the newest version (2.1.28+dfsg1-5ubuntu3.1).
libsasl2-modules is already the newest version (2.1.28+dfsg1-
5ubuntu3.1).

apt-get install dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd
dovecot-ldap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dovecot-core is already the newest version (1:2.3.21+dfsg1-2ubuntu6.1).
dovecot-imapd is already the newest version (1:2.3.21+dfsg1-
2ubuntu6.1).
dovecot-pop3d is already the newest version (1:2.3.21+dfsg1-
2ubuntu6.1).
dovecot-lmtpd is already the newest version (1:2.3.21+dfsg1-
2ubuntu6.1).
dovecot-ldap is already the newest version (1:2.3.21+dfsg1-2ubuntu6.1).

dovecot -n
# 2.3.21 (47349e2482): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.21 (f6cd4b8e)
# OS: Linux 6.8.0-88-generic x86_64 Ubuntu 24.04.3 LTS ext4
# Hostname: rosecoded.com
auth_mechanisms = plain login
auth_socket_path = /var/run/dovecot/auth-userdb
first_valid_gid = 8
first_valid_uid = 8
imap_client_workarounds = tb-extra-mailbox-sep
last_valid_gid = 45000
last_valid_uid = 45000
mail_gid = 8
mail_location =
maildir:/mnt/storage/mail/datafiles/mail/%n:CONTROL=/mnt/storage/mail/d
atafiles/no-quota/%n:INDEX=/mnt/storage/mail/datafiles/indexes/%n
mail_privileged_group = mail
mail_uid = 8
maildir_copy_with_hardlinks = no
namespace inbox {
inbox = yes
list = yes
location = maildir:/mnt/storage/mail/datafiles/mail/%n
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 = 
subscriptions = yes
type = private
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
passdb {
driver = pam
}
plugin {
quota_max_mail_size = 100M
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=10%%
quota_rule3 = Spam:storage=20%%
}
postmaster_address = [email protected]
protocols = " imap lmtp pop3"
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
}
service imap-login {
inet_listener imaps {
port = 993
ssl = yes
}
}
service imap {
process_limit = 1024
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service pop3-login {
inet_listener pop3s {
port = 995
ssl = yes
}
}
service pop3 {
process_limit = 1024
}
ssl_cert = </etc/ssl/servers/mail/fullchain.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
default_fields = home=/mnt/storage/mail/datafiles/mail/%n uid=mail
gid=mail
driver = ldap
}
userdb {
driver = passwd
}
protocol lda {
mail_plugins = 
}

ll /var/spool/postfix/private/dovecot-lmtp
srw-rw---- 1 postfix postfix 0 Dec 9 08:12
/var/spool/postfix/private/dovecot-lmtp=

doveadm auth test contact 
Password: 
passdb: contact auth succeeded
extra fields:
user=contact

tail /var/log/mail.log
2025-12-09T14:31:08.205519-08:00 rosecoded postfix/master[438060]:
warning: /usr/lib/postfix/sbin/smtp: bad command startup -- throttling
2025-12-09T14:32:08.277928-08:00 rosecoded postfix/smtp[471919]:
warning: unsupported SASL client implementation: dovecot
2025-12-09T14:32:08.278171-08:00 rosecoded postfix/smtp[471919]: fatal:
SASL library initialization
2025-12-09T14:32:09.279202-08:00 rosecoded postfix/master[438060]:
warning: process /usr/lib/postfix/sbin/smtp pid 471919 exit status 1
2025-12-09T14:32:09.279374-08:00 rosecoded postfix/master[438060]:
warning: /usr/lib/postfix/sbin/smtp: bad command startup -- throttling
2025-12-09T14:32:15.202980-08:00 rosecoded postfix/smtpd[471927]:
connect from 97-120-88-70.ptld.qwest.net[97.120.88.70]
2025-12-09T14:32:15.212753-08:00 rosecoded postfix/smtpd[471927]:
warning: SASL: Connect to Dovecot auth socket 'private/auth' failed:
Permission denied
2025-12-09T14:32:15.212884-08:00 rosecoded postfix/smtpd[471927]:
fatal: no SASL authentication mechanisms
2025-12-09T14:32:16.217077-08:00 rosecoded postfix/master[438060]:
warning: process /usr/lib/postfix/sbin/smtpd pid 471927 exit status 1
2025-12-09T14:32:16.218003-08:00 rosecoded postfix/master[438060]:
warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling


On Mon, 2025-12-08 at 21:35 +0000, Andreas Hasenack wrote:
> > I am running dovecot-core is already the newest version
> (2:2.4.2-1+ubuntu22.04).
> 
> That is not a package produced or built by Ubuntu. Check the output
> of
> "apt-cache policy dovecot-core". It does not come from the Ubuntu
> archive.
> 
> > Regardless of version if you check the configuration summary --
> dovecot sockets are working
> 
> Yes. It's your postfix configuration that is not pointing at the
> correct
> place for the dovecot sockets, because from postfix's point of view,
> its
> root directory is /var/spool/postfix, so the path you provide in the
> postfix main.cf file must be relative to that, and not to /.
> 
> 
> > Does that help?
> 
> It should help you to fix your configuration, yes.
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133880

Title:
  postfix 3.8.6 bug --> [/var/spool/postfix/private/dovecot-lmtp]: No
  such file or directory)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/2133880/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to