i have done a backup of the server configuration before the update. so i’m not so sure what caused the problem anymore, because the error always had a latent after changes.
After update to 7.6.1810, I have the same problem, emails are re-downloaded with a dovecot message error delivery in logs. If I set disk space to unlimited the problem disappears, but I have no quota anymore. Is there any solution ?
This seems a Bug. I’ve done some tests, and as @kunstlust and @samuel_grenier found, when a quota is set under Email → Mailboxes → disk space: apply quota, we get a warning and email messages are not deleted or are fetched again. (what follows is an excerpt):
Global setting mail_plugins won’t change the setting inside an earlier filter at /etc/dovecot/dovecot.conf
Problems might come from declaration of mail_plugins global setting in dovecot.conf…:
[root@server ~]# dovecot -n
# 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.24 (124e06aa)
doveconf: Warning: /etc/dovecot/dovecot.conf line 276: Global setting mail_plugins won't change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 202 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 202)
doveconf: Warning: /etc/dovecot/dovecot.conf line 276: Global setting mail_plugins won't change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 202 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 202)
doveconf: Warning: service auth { client_limit=2000 } is lower than required under max. load (2400)
# OS: Linux 3.10.0-957.1.3.el7.x86_64 x86_64 CentOS Linux release 7.6.1810 (Core)
...
'Re: delete command' - MARC
there is some sort of problem suddenly happened error when getmail hands over to dovecot deliver and it reports error which stops getmail sending delete command I guess
Yes. If your MDA (delivery program) fails, getmail doesn’t tell the server to delete the message, so it can try again next time.
ok at least it clear now, when you trigger getmail manually
msg 20/10669 (18537 bytes), delivery error (command dovecot-lda 6685 wrote to stderr: doveconf: Warning: /etc/dovecot/dovecot.conf line 262: Global setting mail_plugins won't change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 188 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 188))
Delivery error (command dovecot-lda 6689 wrote to stderr: doveconf: Warning: /etc/dovecot/dovecot.conf line 262: Global setting mail_plugins won't change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 188 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 188))
On the QA note, is nethserver-getmail needed or it’s nethserver-mail-getmail?
After a quick test it seems to work, mail is deleted from server and not duplicated.