- Package:
- courier-mta
- Source:
- courier-mta
- Description:
- Courier mail server - ESMTP daemon
- Submitter:
- Jean Louis
- Date:
- 2025-08-25 16:15:02 UTC
- Severity:
- normal
Dear Maintainer,
* What led up to the situation?
Upgrade to Trixie
* What exactly did you do (or not do) that was effective (or
ineffective)?
Nothing, I was running courier-msa for years. It is not starting.
* What was the outcome of this action?
* What outcome did you expect instead?
See "systemctl status courier-msa.service" and "journalctl -xeu courier-msa.service" for details.
admin@stw1:/etc/init.d$ systemctl status courier-msa.service
× courier-msa.service - Courier ESMTP Daemon
Loaded: loaded (/usr/lib/systemd/system/courier-msa.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/courier-msa.service.d
└─override.conf
Active: failed (Result: protocol) since Sat 2025-08-23 00:59:18 MST; 5s ago
Duration: 25ms
Invocation: 0d73c945cbd844cabc844359ba1a23fe
Process: 252922 ExecStart=/usr/sbin/esmtpd-msa start (code=exited, status=0/SUCCESS)
Aug 23 00:59:17 stw1.rcdrun.com systemd[1]: Starting courier-msa.service - Courier ESMTP Daemon...
Aug 23 00:59:18 stw1.rcdrun.com systemd[1]: courier-msa.service: Can't open PID file '/run/courier/esmtpd-msa.pid' (yet?) after start: No such file or directory
Aug 23 00:59:18 stw1.rcdrun.com systemd[1]: courier-msa.service: Failed with result 'protocol'.
Aug 23 00:59:18 stw1.rcdrun.com systemd[1]: Failed to start courier-msa.service - Courier ESMTP Daemon.
I am able to start courier-msa just fine on a new install, so whatever the problem is it is either something specific to upgrading from bookworm or to some setting on your system. Your error message includes the following: "courier-msa.service: Can't open PID file '/run/courier/esmtpd-msa.pid' (yet?) after start: No such file or directory” Can you please post the output of “ls -la /run/courier”?
I am able to start courier-msa just fine on a new install, so whatever the problem is it is either something specific to upgrading from bookworm or to some setting on your system. Your error message includes the following: "courier-msa.service: Can't open PID file '/run/courier/esmtpd-msa.pid' (yet?) after start: No such file or directory” Can you please post the output of “ls -la /run/courier”?
* Soren Stoutner <soren@debian.org> [2025-08-23 22:59]: I can also observe that the way how sqwebamil binary is installed as symlink in /usr/lib/cgi-bin it will also not work, but starts working when I copy the file. It works then. But courierwebadmin: Internal Error The webmail system is temporarily unavailable. An error occurred in function sendmsg(filedescriptor): Broken pipe Even though binary is 4755 setup, and I made /var/lib/courier: drwxrwxr-x 10 courier courier 4096 Aug 23 22:41 courier I still get the same error. And error talks of "The webmail system" and how would the webmail system be related to courier webadmin? usr/lib/cgi-bin$ ls -la /run/courier/ total 28 drwxrwxr-x 4 root courier 380 Aug 23 22:41 . drwxr-xr-x 32 root root 940 Aug 23 22:52 .. drwxr-x--- 2 courier courier 100 Aug 23 22:41 authdaemon drwxr-xr-x 4 courier courier 80 Aug 22 09:00 calendar -rw-r--r-- 1 courier courier 7 Aug 23 22:41 courierfilter.pid -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd-msa.pid -rw------- 1 root root 0 Aug 23 01:32 esmtpd-msa.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd.pid -rw------- 1 courier courier 0 Aug 22 09:00 esmtpd.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd-ssl.pid -rw------- 1 courier courier 0 Aug 22 09:00 esmtpd-ssl.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 imapd.pid -rw------- 1 courier courier 0 Aug 22 09:00 imapd.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 imapd-ssl.pid -rw------- 1 courier courier 0 Aug 22 09:00 imapd-ssl.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 sqwebmaild.pid -rw------- 1 courier courier 0 Aug 22 09:00 sqwebmaild.pid.lock -rw------- 1 courier courier 0 Aug 23 00:36 sqwebmaild.pid.pcp.lock srwxrwxrwx 1 root root 0 Aug 23 22:41 sqwebmail.sock Jean Louis
* Soren Stoutner <soren@debian.org> [2025-08-23 22:59]: I can also observe that the way how sqwebamil binary is installed as symlink in /usr/lib/cgi-bin it will also not work, but starts working when I copy the file. It works then. But courierwebadmin: Internal Error The webmail system is temporarily unavailable. An error occurred in function sendmsg(filedescriptor): Broken pipe Even though binary is 4755 setup, and I made /var/lib/courier: drwxrwxr-x 10 courier courier 4096 Aug 23 22:41 courier I still get the same error. And error talks of "The webmail system" and how would the webmail system be related to courier webadmin? usr/lib/cgi-bin$ ls -la /run/courier/ total 28 drwxrwxr-x 4 root courier 380 Aug 23 22:41 . drwxr-xr-x 32 root root 940 Aug 23 22:52 .. drwxr-x--- 2 courier courier 100 Aug 23 22:41 authdaemon drwxr-xr-x 4 courier courier 80 Aug 22 09:00 calendar -rw-r--r-- 1 courier courier 7 Aug 23 22:41 courierfilter.pid -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd-msa.pid -rw------- 1 root root 0 Aug 23 01:32 esmtpd-msa.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd.pid -rw------- 1 courier courier 0 Aug 22 09:00 esmtpd.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd-ssl.pid -rw------- 1 courier courier 0 Aug 22 09:00 esmtpd-ssl.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 imapd.pid -rw------- 1 courier courier 0 Aug 22 09:00 imapd.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 imapd-ssl.pid -rw------- 1 courier courier 0 Aug 22 09:00 imapd-ssl.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 sqwebmaild.pid -rw------- 1 courier courier 0 Aug 22 09:00 sqwebmaild.pid.lock -rw------- 1 courier courier 0 Aug 23 00:36 sqwebmaild.pid.pcp.lock srwxrwxrwx 1 root root 0 Aug 23 22:41 sqwebmail.sock Jean Louis
* Soren Stoutner <soren@debian.org> [2025-08-23 22:59]: I can also observe that the way how sqwebamil binary is installed as symlink in /usr/lib/cgi-bin it will also not work, but starts working when I copy the file. It works then. But courierwebadmin: Internal Error The webmail system is temporarily unavailable. An error occurred in function sendmsg(filedescriptor): Broken pipe Even though binary is 4755 setup, and I made /var/lib/courier: drwxrwxr-x 10 courier courier 4096 Aug 23 22:41 courier I still get the same error. And error talks of "The webmail system" and how would the webmail system be related to courier webadmin? usr/lib/cgi-bin$ ls -la /run/courier/ total 28 drwxrwxr-x 4 root courier 380 Aug 23 22:41 . drwxr-xr-x 32 root root 940 Aug 23 22:52 .. drwxr-x--- 2 courier courier 100 Aug 23 22:41 authdaemon drwxr-xr-x 4 courier courier 80 Aug 22 09:00 calendar -rw-r--r-- 1 courier courier 7 Aug 23 22:41 courierfilter.pid -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd-msa.pid -rw------- 1 root root 0 Aug 23 01:32 esmtpd-msa.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd.pid -rw------- 1 courier courier 0 Aug 22 09:00 esmtpd.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 esmtpd-ssl.pid -rw------- 1 courier courier 0 Aug 22 09:00 esmtpd-ssl.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 imapd.pid -rw------- 1 courier courier 0 Aug 22 09:00 imapd.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 imapd-ssl.pid -rw------- 1 courier courier 0 Aug 22 09:00 imapd-ssl.pid.lock -rw-r--r-- 1 root root 7 Aug 23 22:41 sqwebmaild.pid -rw------- 1 courier courier 0 Aug 22 09:00 sqwebmaild.pid.lock -rw------- 1 courier courier 0 Aug 23 00:36 sqwebmaild.pid.pcp.lock srwxrwxrwx 1 root root 0 Aug 23 22:41 sqwebmail.sock Jean Louis
to had Although I can’t imagine how -noidentlookup could cause this problem, I’m glad this is fixed for you. Please only discuss one bug per email. SqWebMail works for me. If you are having issues, please create a separate bug report. This is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111836, which will be fixed shortly.