Search Criteria
Package Details: courier-mta 1.3.13-1
Package Actions
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.000002 |
First Submitted: | 2012-10-13 09:56 (UTC) |
Last Updated: | 2024-09-21 14:27 (UTC) |
Dependencies (14)
- ca-certificates (ca-certificates-utils)
- courier-authlibAUR
- courier-unicodeAUR
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- gdbm (gdbm-gitAUR)
- libidn2 (libidn2-gitAUR)
- mime-types (mailcap)
- pcre2 (pcre2-gitAUR)
- wget (wget-gitAUR, wurlAUR)
- expect (make)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR) (make)
- libldap (libldap-gnutlsAUR) (make)
- pam (pam-selinuxAUR) (make)
- libldap (libldap-gnutlsAUR) (optional)
Required by (876)
- aegir (requires smtp-forwarder)
- checkrun.sh-git (requires smtp-forwarder) (optional)
- courier-imap (requires courier-maildrop)
- courier-pythonfilter
- cronie-selinux (requires smtp-forwarder) (optional)
- cronie-selinux (requires smtp-server) (optional)
- ddclient-git (requires smtp-forwarder) (optional)
- e2fsprogs-git (requires smtp-forwarder) (optional)
- gitlab-ee (requires smtp-server) (optional)
- hylafaxplus (requires smtp-server) (optional)
- inn-git (requires smtp-forwarder) (make)
- lilac-git (requires smtp-forwarder) (optional)
- mailfromd (requires smtp-server)
- mediawiki-lts (requires smtp-forwarder) (optional)
- mlmmj (requires smtp-server)
- mutt-git (requires smtp-forwarder) (optional)
- mutt-slang (requires smtp-forwarder) (optional)
- oak (requires smtp-server) (make)
- openarc (requires smtp-server) (optional)
- openarc-git (requires smtp-server) (optional)
- Show 856 more...
Sources (14)
- courier-courierfilter.service
- courier-esmtpd-msa.service
- courier-esmtpd-ssl.service
- courier-esmtpd.service
- courier-imapd-ssl.service
- courier-imapd.service
- courier-mkdhparams.service
- courier-mkdhparams.timer
- courier-mta.conf
- courier-pop3d-ssl.service
- courier-pop3d.service
- courier.service
- http://downloads.sourceforge.net/project/courier/courier/1.3.13/courier-1.3.13.tar.bz2
- webmaild.service
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »
vario commented on 2018-08-03 06:56 (UTC) (edited on 2018-08-06 07:52 (UTC) by vario)
For the new Courier package version, I have changed the service files to directly reference "/run" rather than the "/var/run" symlink. This has stopped the PIDFILE problems (I think because the "/var" pathname element is not used) and courier is also reconfigured to use /run for PID files. I have also removed the ExecStartPre lines from the service files, as the "/run/courier" folder is created on installation.
andrej commented on 2018-02-10 09:19 (UTC) (edited on 2018-02-10 09:21 (UTC) by andrej)
Thanks for maintaining this package.
At the moment there’s an urgent problem:
courier-imapd
will not start due to this systemd bug: https://github.com/systemd/systemd/issues/8085I’m not sure what the best solution would be, so I’m just dropping a note here, to make troubleshooting easier for others. The only workaround seems to be to start the Courier stuff manually until systemd gets fixed. This affects also
authdaemond
.courier-courierfilter
works fine though.vario commented on 2017-12-13 12:40 (UTC) (edited on 2017-12-13 13:16 (UTC) by vario)
@andrej - I have modified the PKGBUILD to avoid overwriting config files not managed by sysconftool. Sorry for your trouble, I had misunderstood pacman upgrades and because I have not changed my aliases and smtpaccess files didn't notice the overwrite.
vario commented on 2017-12-13 06:59 (UTC) (edited on 2017-12-13 11:27 (UTC) by vario)
@andrej - sorry you're having problems. I am running a live installation of this package without problems. Upgrades work fine. I have tried to be careful with my changes to the PKGBUILD and .install file so will explain my reasons.
I have made use of sysconfigtool as recommended by the standard Courier install process (see http://www.courier-mta.org/install.html#installconfigure) as this removes the need to manually compare .pacnew and .pacsave files.
There are many files that get modified as part of a normal Courier installation - not just those few listed in the old PKGBUILD "backup" option of the package as I took over it which are taken care of by sysconfigtool anyway now. The "_backup trick" you mention is no longer used - I removed that from the .install in favour of a complete copy of /etc/courier on package removal.
I will look at the aliases/system file and others you mention. I may have misunderstood pacman's handling of files on upgrade.
You use a symlink instead of an imapd-ssl file - that is not a standard install method so you may well get problems.
I will try and understand your issues - is something like this http://courier-mail-server.10983.n7.nabble.com/SMTP-Auth-via-SSL-TLS-required-td9870.html what you are looking for?
andrej commented on 2017-12-13 01:14 (UTC)
Phew. I finally tracked this down to a nasty bug (yet another one) in the installation /
PKGBUILD
configuration.An update copies
imapd-ssl
toimapd-ssl.bak
and overwrites it with the defaults. (That shouldn't be happening; that's what the.dist
files are for.) In my setup,imapd-ssl
is a symlink toimapd
. I only allowSTARTTLS
and nothing else, so it makes sense to have only one set of variables and avoid confusion.Replacing
imapd-ssl
in effect overwrote the TLS-related variables (which are bundled in myimapd
file) with defaults from the newimapd-ssl
. Consequently,courier-imapd
couldn't access its certificate file and failed.How I debugged this: Surprisingly, one can't diagnose this with
openssl s_client
. Yettelnet
helps:Here^^^ I basically sent it a STARTTLS command manually and was expecting only the negotiation message. But the answer says it loud and clear:
/usr/share/imapd.pem
was indeed missing. That was the incorrect value from the overwrittenimapd-ssl
file.Restoring the
imapd-ssl -> imapd
symlink restored law and order.andrej commented on 2017-12-13 00:08 (UTC) (edited on 2017-12-13 01:04 (UTC) by andrej)
EDIT: The problem below is not a library compatibility issue. (See above.)
Just a warning: IMAP currently doesn't work at all. I can see similar symptoms as described in this comment, but this time it's not the same problem. The symptoms persist
Basically the IMAP server is closing incoming connections immediately. There doesn't seem to be a misnamed binary this time. Nothing interesting appears in the logs, just a connection and a disconnection.
It looks like some shared libraries became incompatible with Courier-IMAP.
Surprisingly, ESMTP (with TLS) works perfectly fine, so this is an IMAP-specific problem.
andrej commented on 2017-12-10 08:12 (UTC)
The "/etc/courier/_backup" trick (whatever it's supposed to do) doesn't work. It overwrites some of the configuration files from which the .dat files are generated, pretty much without warning. Only one file appears in "_backup", which should contain a copy of smtpaccess/default, yet the copy is in fact lost and the file has the default contents in it.
Can the relevant files be listed in the PKGBUILD so that pacman can't overwrite them? There used to be some obscure historical reasons not to do so, but those may not be relevant any more. The following files are affected:
aliases/system [overwritten, backup completely lost] esmtpacceptmailfor.dir/esmtpacceptmailfor [not touched, no pacsave/pacnew] hosteddomains/hosteddomains [not touched, no pacsave/pacnew] imapaccess/default [not touched, no pacsave/pacnew] smtpaccess/default [overwritten, no backup attempted]
vario commented on 2017-10-06 17:46 (UTC) (edited on 2017-10-07 08:54 (UTC) by vario)
vario commented on 2017-08-19 17:15 (UTC) (edited on 2017-08-19 17:19 (UTC) by vario)
« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »