Your message dated Mon, 28 Dec 2020 14:34:01 +0000
with message-id <e1kttaz-0000mv...@fasolo.debian.org>
and subject line Bug#933948: fixed in courier 1.0.14-1
has caused the Debian Bug report #933948,
regarding courier-mta randomly stops, cannot restart or start services, it just 
appears started, but it exists
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
933948: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933948
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: courier-mta
Version: 1.0.6-1
Severity: critical
Justification: causes serious data loss

Dear Maintainer,

   * What led up to the situation?

   I have made dist-upgrade from 9 to Debian 10
   
   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   Just upgraded the system. Courier MTA apparently randomly stops and cannot 
be restarted.
   
This includes courier-imap-ssl

If I use web administrationa and click SAVE on IMAP or incoming ESMTP, and 
install new configuration, services start working.

If I just use service courier-imap-ssl start this does not work, even if 
service is enabled.

Example for courier-imap-ssl

I have restarted from web administration, so this works:

Executing /usr/sbin/imapd-ssl stop ; . /etc/courier/imapd-ssl ; test 
"$IMAPDSSLSTART" != YES || /usr/sbin/imapd-ssl start...
Executing /usr/sbin/imapd stop ; . /etc/courier/imapd ; test "$IMAPDSTART" != 
YES || /usr/sbin/imapd start...


root@stw1:/tmp# service courier-imap-ssl status
● courier-imap-ssl.service - LSB: Courier IMAP server (TLS)
   Loaded: loaded (/etc/init.d/courier-imap-ssl; generated)
   Active: active (exited) since Sun 2019-08-04 11:28:14 MST; 17h ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 2379)
   Memory: 0B
   CGroup: /system.slice/courier-imap-ssl.service

Warning: Journal has been rotated since unit was started. Log output is 
incomplete or unavailable.
root@stw1:/tmp# lsof -i :993
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
couriertc 31390    root    3u  IPv6 332900      0t0  TCP *:imaps (LISTEN)


Now if I do following:


root@stw1:/tmp# service courier-imap-ssl stop
root@stw1:/tmp# service courier-imap-ssl start
root@stw1:/tmp# lsof -i :993
root@stw1:/tmp#

This does not work.

root@stw1:/tmp# service courier-imap-ssl status
● courier-imap-ssl.service - LSB: Courier IMAP server (TLS)
   Loaded: loaded (/etc/init.d/courier-imap-ssl; generated)
   Active: active (exited) since Mon 2019-08-05 05:28:47 MST; 16s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 31976 ExecStart=/etc/init.d/courier-imap-ssl start (code=exited, 
status=0/SUCCESS)

Aug 05 05:28:47 stw1.rcdrun.com systemd[1]: Starting LSB: Courier IMAP serve…...
Aug 05 05:28:47 stw1.rcdrun.com systemd[1]: Started LSB: Courier IMAP server…S).
Hint: Some lines were ellipsized, use -l to show in full.


So if I do simple:

/usr/sbin/imapd-ssl start

This works.

It broke my email system and I need to install third party supervision to make 
sure that services are running.


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages courier-mta depends on:
ii  courier-authlib        0.69.0-2
ii  courier-base           1.0.6-1
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libcourier-unicode4    2.1-3
ii  libgcc1                1:8.3.0-6
ii  libgdbm6               1.18.1-4
ii  libidn11               1.33-2.2
ii  libnet-cidr-perl       0.19-1
ii  libperl5.28            5.28.1-6
ii  libstdc++6             8.3.0-6
ii  sysvinit-utils         2.93-8

courier-mta recommends no packages.

Versions of packages courier-mta suggests:
ii  bsd-mailx [mail-reader]  8.1.2-0.20180807cvs-1
pn  courier-doc              <none>
pn  courier-filter-perl      <none>
pn  couriergrey              <none>
ii  emacs-nox [mail-reader]  1:26.1+1-3.2
ii  mailutils [mail-reader]  1:3.5-3
ii  mutt [mail-reader]       1.10.1-2.1

-- Configuration Files:
/etc/courier/aliases/system changed:
root: postmaster
mailer-daemon: postmaster
MAILER-DAEMON: postmaster
uucp: postmaster
www-data: postmaster
postmaster: admin

/etc/courier/courierd changed:
prefix="/usr"
exec_prefix="/usr"
. /etc/environment
PATH=/usr/bin:/bin:/usr/bin:/usr/local/bin
SHELL=/bin/sh
DSNTOAUTHADDR=0
DYNAMICDELIVERIES=1
DEFAULTDELIVERY="|| /usr/bin/dotforward
./Maildir"
MAILDROPDEFAULT=./Maildir
ESMTP_CORK=1
ESMTP_BLOCKBACKSCATTER=smtp/dsn
UUXFLAGS="-j -g C"
ESMTP_USE_STARTTLS=1
COURIERTLS=/usr/bin/couriertls
ESMTP_TLS_VERIFY_DOMAIN=0
ESMTP_PREFER_IPV6_MX=1
TLS_TRUSTCERTS=/etc/ssl/cert.pem
TLS_VERIFYPEER=NONE

/etc/courier/enablefiltering changed:
esmtp local

/etc/courier/esmtpauthclient [Errno 13] Permission denied: 
'/etc/courier/esmtpauthclient'
/etc/courier/esmtpd changed:
PATH=/usr/bin:/bin:/usr/bin:/usr/local/bin
SHELL=/bin/sh
ULIMIT=32768
BOFHCHECKDNS="1"
BOFHNOEXPN=1
BOFHNOVRFY=1
TARPIT=1
NOADDMSGID="1"
NOADDDATE="1"
NOADDRREWRITE=0
ESMTP_LOG_DIALOG=0
AUTH_REQUIRED="0"
COURIERTLS=/usr/bin/couriertls
TLS_CERTFILE=/etc/courier/esmtpd.pem
TLS_DHPARAMS=/etc/courier/dhparams.pem
TLS_TRUSTCERTS=/etc/ssl/cert.pem
TLS_VERIFYPEER=NONE
MAILUSER=courier
MAILGROUP=courier
PORT=smtp
BLACKLISTS="-block=zen.spamhaus.org,BLOCK"
ACCESSFILE=${sysconfdir}/smtpaccess
MAXDAEMONS="40"
MAXPERC="5"
MAXPERIP="5"
PIDFILE=/run/courier/esmtpd.pid
TCPDOPTS="-stderrlogger=/usr/sbin/courierlogger"
ESMTPAUTH=""
ESMTPAUTH_WEBADMIN="LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256"
ESMTPAUTH_TLS="PLAIN"
ESMTPAUTH_TLS_WEBADMIN="PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256"
ESMTPDSTART="YES"

/etc/courier/esmtpd-msa changed:
BOFHCHECKDNS="0"
NOADDMSGID="0"
NOADDDATE="0"
NOADDRREWRITE=0
ESMTP_LOG_DIALOG=0
AUTH_REQUIRED="1"
BLACKLISTS=""
ADDRESS=0
PORT=587
PIDFILE=/run/courier/esmtpd-msa.pid
ACCESSFILE=${sysconfdir}/smtpaccess
ESMTPDSTART="YES"
MAXDAEMONS="40"
MAXPERC="5"
MAXPERIP="5"
TCPDOPTS="-nodnslookup -noidentlookup"
/etc/courier/esmtpd-ssl changed:
prefix=/usr
exec_prefix=/usr
BOFHCHECKDNS="1"
BOFHNOEXPN=0
BOFHNOVRFY=0
TARPIT=1
NOADDMSGID="1"
NOADDDATE="1"
NOADDRREWRITE=0
ESMTP_LOG_DIALOG=0
AUTH_REQUIRED="0"
SSLPORT=465
SSLADDRESS=0
SSLPIDFILE=/run/courier/esmtpd-ssl.pid
ESMTPDSSLSTART="YES"
COURIERTLS=/usr/bin/couriertls
TLS_CERTFILE=/etc/courier/esmtpd.pem
TLS_DHPARAMS=/etc/courier/dhparams.pem
TLS_TRUSTCERTS=/etc/ssl/cert.pem
TLS_VERIFYPEER=NONE
MAXDAEMONS="40"
MAXPERC="5"
MAXPERIP="5"

/etc/courier/esmtpd.cnf [Errno 13] Permission denied: '/etc/courier/esmtpd.cnf'

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: courier
Source-Version: 1.0.14-1
Done: Markus Wanner <mar...@bluegap.ch>

We believe that the bug you reported is fixed in the latest version of
courier, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 933...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Wanner <mar...@bluegap.ch> (supplier of updated courier package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Dec 2020 15:01:14 +0100
Source: courier
Architecture: source
Version: 1.0.14-1
Distribution: unstable
Urgency: medium
Maintainer: Markus Wanner <mar...@bluegap.ch>
Changed-By: Markus Wanner <mar...@bluegap.ch>
Closes: 578937 922200 933948 946591 974585
Changes:
 courier (1.0.14-1) unstable; urgency=medium
 .
   [ Ángel González ]
   * New upstream release 1.0.13.
   * Refresh patches 0002, 0012, 0016, 0018, 0019, 0023, 0024
   * Add missing dependency wget
   * Simplify patch 0024
 .
   [ Markus Wanner ]
   * New upstream release 1.0.14.
   * Make courier-imap depend on fam or gamin.  Closes: #578937, #974585.
   * Refresh patch 0012
   * Improve regular expressions used to parse config files.  Allows
     single and double quotes.  Closes: #933948.
   * Correct installation of systemd unit files, use dh_installsystemd.
     Makes all daemons use proper service files rather than generation
     via sysv init scripts.
   * Correct PIDFile in systemd courier-msa.service unit.
   * Add patch 0026-correct-config-dir-in-docs.patch to correct paths to
     certificates in manpages and HTML documentation.  Closes: #946591.
   * Add patch 0027-improve-error-for-empty-file to catch the case of
     a missing ACCESSFILE in the configuration.  In the postinst script
     of courier-mta, check for the existence of that file prior to
     invoking makesmtpaccess, just like courier-imap already does.
   * Drop patch 0015-Disable-imapscanfail-maildirwatch-error-reporting:
     it seems to only hide issues and its original motivation remains
     unclear.
   * Bump S-V to 4.4.0; no changes required.
   * Pass the --with-certdb configure argument.
   * Define MKDIR_P as just 'mkdir -p' rather than a full absolute path
     to /usr/bin.  Allows generated scripts to work on non-usrmerge'd
     systems.  Closes: #922200.
   * Replace dh_install --list-missing with dh_missing.
   * Provide binaries and manpages that were missing before:
     verifysmtp, verifysender, verifysenderfull, and mkimapdcert.8.
   * d/rules: Correct typo in override_dh_installchangelogs-indep.
   * debian/tests/*: add a few smoke tests to ensure services start
     with the default configuration.
 .
   [ Viktor Szépe ]
   * Fix PIDFILE in courier-msa.init
Checksums-Sha1:
 98f9d786f09eccd19dc94f1e253eca61d1acad10 3854 courier_1.0.14-1.dsc
 f6a9a2a0b204d6dfc215bb18b9f740c8d4016947 7541652 courier_1.0.14.orig.tar.bz2
 020c67e1f9d52d5cc360712dccc61fa042faf5b1 866 courier_1.0.14.orig.tar.bz2.asc
 ba5a08f3a9e3acd70779b26c8d467832cdb49fa0 104920 courier_1.0.14-1.debian.tar.xz
 0b8cf3d14201efe3cd4b0817beb28a6a10bb1746 14236 
courier_1.0.14-1_source.buildinfo
Checksums-Sha256:
 3560667fa638527f74a59adba421f80e7338bc787596d7c042069fb7815ca959 3854 
courier_1.0.14-1.dsc
 e4534a5021965518531bccf2ed8c9cbae6bc5f5bae659dd22063db5263c3225d 7541652 
courier_1.0.14.orig.tar.bz2
 aa0d8ea1ffe91d355f86ce3f0ad4548e9dc27c83eabc07aad92204c0dc2e15cf 866 
courier_1.0.14.orig.tar.bz2.asc
 37823947304963a67faefa96641dc0492163c4de8ba2205aae7d87096a9ad99c 104920 
courier_1.0.14-1.debian.tar.xz
 df3827f3a44a3ea55ed11c861fb5837ba732eaca1e352a04e6a85fb274c8f009 14236 
courier_1.0.14-1_source.buildinfo
Files:
 86ad5f73fcd9a614d72883919eb5c872 3854 mail optional courier_1.0.14-1.dsc
 860afbb6e4dfebba375635981d7283cc 7541652 mail optional 
courier_1.0.14.orig.tar.bz2
 becd5af9b200716449772668ba4e066a 866 mail optional 
courier_1.0.14.orig.tar.bz2.asc
 20d2704679d29c88e4dc87f18596baa6 104920 mail optional 
courier_1.0.14-1.debian.tar.xz
 0635bb81cf92dc6944548fae89ce502e 14236 mail optional 
courier_1.0.14-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQQzBAEBCgAdFiEE7WdiNgeE4zHiUwPWAlr+layd8xsFAl/p59AACgkQAlr+layd
8xsQDh/9HbkpDPyvcfGc/YI0EVlPQHZAn1rDV0Grd4NYdXvuGcEhYR1pdIzzmg+E
THRcJBk7ixBDCxLKrmxUbrAClZKkCTYtp4cejfU4jclkPKxGrlneyymrltR9Zsry
sJRK3UxTUeQrM1wVddA4oWSeAu1RuWmVA+AmJbR1ybxAQhoAll972JrJzfgyU33e
HLHXhozx8xhxW3FdvgUUd3K7f8E6MykcxFRCP55uLDdArGh7pTmNG00iHWymADL4
qThG0y1EhHyyLYfkj78zHvGQmIXpOMSwK2BsPSJGYegJqliwbRxlyVoGsGIHhhb4
tRylLGyVD99SRCXJSDSUrkYZ1JwZx9Q2zY47ObUWs9eYnv4n1ZmIfSssxLq/sizn
8o8FcD5pPP+SAX76UQpqF9Q+ABcPNhK2D8/0S9etNnPCHUe9ec4xgPfBBR1kCMus
mE+EiY5YtcYVIQ7FBeD/fiSJRrGRV1YahOk7ThQGjWQp+lFYU+1ECGJm3/7e5HA2
s+QBLpIDiKh7+hQo01Bx8dO8iJih7BmQAGCGXRWqFj1ox+egKoywSPLT5VSlAVIg
KnwBu3fRVmePAK50El5f2xlLCYfMVaI/x2o+/HWevHIsFoGVFpC6WRBMv3Qnt5BX
1P222pAE8VXzcaRvkvA828UQKc0+gbG+l1AP/HbaKyGBdCVKFykMg4MspGJj9zLB
cZCOOuzivbGr1yiILTchZdE8OghCMdgC7g7c3m3cDTP8055CoOnxKME6L35o/d7r
8DbKdTXti9da56kq6bqHoXekZypSMxRIR03NN0CipS9P4dBCGLGSMsvOy/ZDMaPJ
2h6jmsM5N0hTEqY7cevNTMmRbxDVeR2ldRwsEpGcdDqy8G4cMsvF8keHI28CEtkP
aY6jNSako2um0uR0gWRr5Glvzp/alWsVwPyvEYHFnCV3vbeVD5nfCuzvBkEpdtfg
5v/vIpFwLX2AqGZEZ1sQVn1W6eBbVf31weAvyZWc0tR0bzRug9Szk4RP3Vck01aj
YqEutQkujou8pXaB7pdxSFGatJwF+lCeL0ds4JJHeT9xaxb7aBpfstVfhYElMVod
8Z42G0KRz3GZPWhg0h3gOE5bmpxGnR8M3mOO+9rlTB5XaqKcvbuFaKvs6AlaMM0T
Q2Kg1KqW4LNmk/gOs7hd4lPRUwMINvaRtf8OTfjHajtzFBaRg4O60yxnowrfEn4Y
3rl6vT1qwyli5MdM9+b0L80hyIc3k41GHer3UqWnK5XVC1CZt5j4FhlAM+A+utsl
xfUh2lT/gaR3t5Yi6HTY9rY35IWfvdmAVPMKvDHeE+SnVihQPAM/GeNHra/r+Uqg
zrWbGzkYzpDt/dvzBQmpnfD0i6k5bA==
=yfIs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to