Package Details: courier-mta 1.3.13-1

Git Clone URL: https://aur.archlinux.org/courier-mta.git (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: http://courier-mta.org
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: 13
Popularity: 0.000005
First Submitted: 2012-10-13 09:56 (UTC)
Last Updated: 2024-09-21 14:27 (UTC)

Required by (876)

Sources (14)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 Next › Last »

andrej commented on 2013-07-09 05:46 (UTC)

OK, so I did some debugging of the IMAP issue. It fails with/without the IDLE extension. It fails with/without the mailbox sanity checking. It fails with both fam and gamin. It is *not* related to this issue http://ubuntuforums.org/showthread.php?t=1970712, because fam doesn't fix it. Based on this http://www.courier-mta.org/imapd.html, there should be a daemon called imapd. However, in this package, there's /usr/bin/imapd, which is a symlink to /usr/share/imapd (!!!), which later (via courierlogger and couriertcpd) executes /usr/bin/imapd. This looks like a weird cycle that cannot work.

andrej commented on 2013-07-09 03:20 (UTC)

So IMAP does not work at all. This is a critical bug; flagging package out-of-date to warn others.

andrej commented on 2013-07-09 02:10 (UTC)

There's something wrong with this package right now. imapd doesn't work, at least not with TLS. The connection is established, but nothing else happens. Some files end up directly in /usr/share (imapd, imapd-ssl, courierctl.start, esmtpd, esmtpd-ssl and multiple others), which is quite messy. Symlinks from /usr/bin are created, but it's still somewhat weird.

eigengrau commented on 2013-04-04 18:23 (UTC)

Also, please correct me if I'm missing something, but shouldn't the /usr/sbin/authtest binary have root-only permissions? It allows me to retrieve all the hashes from the shadowed passwd as a normal user.. o_O

eigengrau commented on 2013-04-04 18:12 (UTC)

Systemd units do not directly support bash syntax. Lines such as: > ExecStartPre=[ -d /var/run/courier ] || mkdir -p /var/run/courier && chown courier:courier /var/run/courier should instead say: > ExecStartPre=/bin/bash -c '[-d /var/run/courier ] ...... '

onny commented on 2013-01-05 11:07 (UTC)

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 (UTC)

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: [Unit] Description=Courier filter Daemon [Service] Type=forking 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 PIDFile=/var/run/courier/courierfilter.pid [Install] WantedBy=multi-user.target 2) Caution, as noted here [http://old.nabble.com/PID-file-for-courierd-td23364995.html], 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: After=courier-courierfilter.service Once again, thank you very much for maintaining this package!

onny commented on 2013-01-04 04:04 (UTC)

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