Re: cyrus-imapd not starting after upgrade

Daniel Bareiro <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On 8/2/19 16:46, Paul van der Vlis wrote:

>> After quite some time, today I decided to update the mail server from
>> Debian Jessie (cyrus-imapd 2.4.17) to Debian Stretch (cyrus-imapd 2.5.10-3).

> Hello Daniel,

Hello, Paul.

> I use cyrus-imapd 2.5.10-3 from Debian stable on serveral machines and I
> can tell you that it gives much TLS problems.
> 
> What I do is this using a cronjob every night, and after rebooting:
> ----
> service cyrus-imapd stop
> mv /var/lib/cyrus/tls_sessions.db /var/lib/cyrus/tls_sessions.db-weg
> touch /var/lib/cyrus/tls_sessions.db
> chown cyrus:mail /var/lib/cyrus/tls_sessions.db
> service cyrus-imapd start
> ----
> 
> But it takes sometimes 30 minutes before I see "imapd" in "ps aux" again.
> 
> It seems to be better to use the patches from upstream, to backport the
> version in testing, or to use 2.5.12 from the Debian salsa git repo.
> 
> In a few days Cyrus 3.0.8 will be in unstable/testing it's autobuilding
> at the moment.

Thank you for sharing this. I don't remember seeing errors with TLS in
the syslog. Could you share some syslog entries to check? From what I
see, for some reason you create a new tls_sessions.db file.

Have you opened a bug in Debian BTS about this?

The problem that I am observing after the update is the following at the
time of trying to deliver each mail:

----------
[/var/run/cyrus/socket/lmtp]: Permission denied
----------

The delivery is normalized after executing this command:

----------
# dpkg-statoverride --force --update --add cyrus lmtp 750
/var/run/cyrus/socket
----------

But I have noticed that after doing a reboot I have this problem again.
Any idea what could be a definitive solution?

Kind regards,
Daniel

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQS/swjWtNExsnK5Kc5mlr8bFOYdNwUCXGLKNgAKCRBmlr8bFOYd
N4m2AJ9vjoezk7d/TEBWNFM2YEJKOpryagCffbrd2BlXRa7LqGk8Iqgc3UqA6mk=
=CvQB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.