Package Details: courier-mta 1.0.14-1

Git Clone URL: (read-only, click to copy)
Package Base: courier-mta
Description: IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig
Upstream URL:
Licenses: GPL2
Conflicts: courier-imap, courier-maildrop, imap-server, smtp-forwarder, smtp-server, ucspi-tcp
Provides: courier-imap, courier-maildrop, imap-server, pop3-server, smtp-forwarder, smtp-server
Submitter: Svenstaro
Maintainer: vario
Last Packager: vario
Votes: 11
Popularity: 0.000000
First Submitted: 2012-10-13 09:56
Last Updated: 2020-06-20 05:21

Required by (94)

Sources (14)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

onny commented on 2013-01-05 11:07

Thank you andrej for testing. Courier is a very complex package and not easy to maintain. I'm very glad to see some support!
I adopted your suggestions to the package. Instead of removing the PIDFile-part from the service file, I added an option to /etc/courier/courierd to create the PID-file. Hope that fixes it

andrej commented on 2013-01-05 02:40

Thx a lot for the update! I have some suggestions, based on the adjustmets I made to the units:

1) An extra unit for 'courierfilter' is needed, I called it courier-courierfilter.service in my configuration. Something like this works for me:

Description=Courier filter Daemon

ExecStartPre=[ -d /var/run/courier ] || mkdir -p /var/run/courier && chown courier:courier /var/run/courier
ExecStart=/usr/sbin/courierfilter start
ExecStop=/usr/sbin/courierfilter stop


2) Caution, as noted here [], the 'courier' daemon does *not* create a PID file. Consequently, systemctl start courier will freeze when run from the shell and it will time out, killing the courier processes, when run automatically. (It waits for the PID file that never appears.) Removing the 'PIDFile=...' line from courier.service solves the problem. (Well, it's in no way the best solution, but it works.)

3) When filtering is on, esmtpd and esmtpd-ssl depend on it. They do not 'Require' filtering, for it may not be active, but they should definitely be started 'After' the filter, so this should appear in courier-esmtpd.service and courier-esmtpd-ssl.service:


Once again, thank you very much for maintaining this package!

onny commented on 2013-01-04 04:04

@abdrej: done, feedback welcome. If you like, also update the wiki regarding courier documentation

andrej commented on 2012-12-31 04:08

Units for systemd would be really great... :-)