My server has been running just fine for over a year, until I upgraded PostfixAdmin and somehow messed things up. Now I can't log in, and my mail client (Evolution, if it matters) keeps popping up an authentication request. The server is Ubuntu 20.04, my Dovecot is version 2.3.7.2, and Evolution is 3.40.4-1. I've also tried logging in with Roundcube with no success. Any insight or suggestions will be gratefully received!
Here's the most recent entry from /var/log/mail.err:
Dec 28 22:05:02 grace dovecot: lmtp(me@mydomain.com)<910309><SOFiMl7Qy2Hl4w0AThsuZQ>: Error: lmtp- server: conn unix:pid=906625,uid=117 [6]: rcpt me@mydomain.com: Mailbox INBOX: open(/var/mail/vmail/me@mydomain.com/tmp/1640747102.M850878P910309.grac ) failed: Permission denied
Any further information available upon request!
On 29/12/2021 05:22 Ken Wright daddywarlock@gmail.com wrote:
My server has been running just fine for over a year, until I upgraded PostfixAdmin and somehow messed things up. Now I can't log in, and my mail client (Evolution, if it matters) keeps popping up an authentication request. The server is Ubuntu 20.04, my Dovecot is version 2.3.7.2, and Evolution is 3.40.4-1. I've also tried logging in with Roundcube with no success. Any insight or suggestions will be gratefully received!
Here's the most recent entry from /var/log/mail.err:
Dec 28 22:05:02 grace dovecot: lmtp(me@mydomain.com)<910309><SOFiMl7Qy2Hl4w0AThsuZQ>: Error: lmtp- server: conn unix:pid=906625,uid=117 [6]: rcpt me@mydomain.com: Mailbox INBOX: open(/var/mail/vmail/me@mydomain.com/tmp/1640747102.M850878P910309.grac ) failed: Permission denied
Any further information available upon request!
Maybe systemd is blocking it?
If systemd unit has ProtectSystem=strict or ProtectSystem=full, try adding override.conf with
[Service] ReadWritePaths=/var/mail
Aki
On Wed, 2021-12-29 at 09:51 +0200, Aki Tuomi wrote:
On 29/12/2021 05:22 Ken Wright daddywarlock@gmail.com wrote:
Any further information available upon request!
Maybe systemd is blocking it?
If systemd unit has ProtectSystem=strict or ProtectSystem=full, try adding override.conf with
[Service] ReadWritePaths=/var/mail
I checked /etc/systemd but I can't find anything with ProtectSystem uncommented. Am I looking in the wrong place?
On 29/12/2021 18:09 Ken Wright daddywarlock@gmail.com wrote:
On Wed, 2021-12-29 at 09:51 +0200, Aki Tuomi wrote:
On 29/12/2021 05:22 Ken Wright daddywarlock@gmail.com wrote:
Any further information available upon request!
Maybe systemd is blocking it?
If systemd unit has ProtectSystem=strict or ProtectSystem=full, try adding override.conf with
[Service] ReadWritePaths=/var/mail
I checked /etc/systemd but I can't find anything with ProtectSystem uncommented. Am I looking in the wrong place?
Try
systemctl show dovecot | grep Protect
Aki
On Wed, 2021-12-29 at 18:34 +0200, Aki Tuomi wrote:
On 29/12/2021 18:09 Ken Wright daddywarlock@gmail.com wrote: On Wed, 2021-12-29 at 09:51 +0200, Aki Tuomi wrote:
On 29/12/2021 05:22 Ken Wright daddywarlock@gmail.com wrote:
Any further information available upon request!
Maybe systemd is blocking it?
If systemd unit has ProtectSystem=strict or ProtectSystem=full, try adding override.conf with
[Service] ReadWritePaths=/var/mail
I checked /etc/systemd but I can't find anything with ProtectSystem uncommented. Am I looking in the wrong place?
Try
systemctl show dovecot | grep Protect
Okay, I did this, and ProtectSystem=full was there. So I created override.conf in /etc/systemd as per the above and restarted Dovecot. No joy. Evolution is still begging for a password and Dovecot is still rejecting it. And yes, I've verified I'm using the correct password.
On 2021-12-29 17:51, Ken Wright wrote:
On Wed, 2021-12-29 at 18:34 +0200, Aki Tuomi wrote:
On 29/12/2021 18:09 Ken Wright daddywarlock@gmail.com wrote: On Wed, 2021-12-29 at 09:51 +0200, Aki Tuomi wrote:
On 29/12/2021 05:22 Ken Wright daddywarlock@gmail.com wrote:
Any further information available upon request!
Maybe systemd is blocking it?
If systemd unit has ProtectSystem=strict or ProtectSystem=full, try adding override.conf with
[Service] ReadWritePaths=/var/mail
I checked /etc/systemd but I can't find anything with ProtectSystem uncommented. Am I looking in the wrong place?
Try
systemctl show dovecot | grep Protect
Okay, I did this, and ProtectSystem=full was there. So I created override.conf in /etc/systemd as per the above and restarted Dovecot. The override.conf goes to /etc/systemd/system/dovecot.service.d/ to be included. Issue systemctl daemon-reload before restarting dovecot. systemctl cat dovecot.service shows you the content of the involved conf files No joy. Evolution is still begging for a password and Dovecot is still rejecting it. And yes, I've verified I'm using the correct password.
-- Christian Kivalo
On Thu, 2021-12-30 at 00:20 +0100, Christian Kivalo wrote:
The override.conf goes to /etc/systemd/system/dovecot.service.d/ to be included. Issue systemctl daemon-reload before restarting dovecot. systemctl cat dovecot.service shows you the content of the involved conf files
Tried this, then tried logging in. Got the following message in /var/log/mail.err:
Jan 2 01:19:50 grace dovecot: imap-login: Error: read(anvil) failed: EOF
Does this help anyone?
Ken
participants (3)
-
Aki Tuomi
-
Christian Kivalo
-
Ken Wright