TITLE:
Dovecot issue - incorrect config and potential FAILURE of MU61
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk 17.8.11 : micro-update #60 and #61 (after Dovecot fix)
OS: Ubuntu 16.04.x LTS + Ubuntu 18.04.x LTS
VPS and Dedicated server
PROBLEM DESCRIPTION:OS: Ubuntu 16.04.x LTS + Ubuntu 18.04.x LTS
VPS and Dedicated server
Mail.log and syslog show entries like:
process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf#012doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:5: ssl_dh_parameters_length is no longer needed
When simply adjusting the offending line to
#ssl_dh_parameters_length=2048 (and reloading dovecot)
the old error notification in mail.log and/or syslog, being
process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : lda([email protected],)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
returns, even though it seems to be the case that MU61 intended to fix this particular (and odd) issue.
In addition, another (second) problem exists.
A Dovecot stop and start sequence results in the syslog entries :
Jul 22 18:01:55 main dovecot: master: Error: systemd listens on port 143, but it's not configured in Dovecot. Closing.
Jul 22 18:01:55 main dovecot: master: Error: systemd listens on port 993, but it's not configured in Dovecot. Closing.
In short, Dovecot config is not correct at all.
STEPS TO REPRODUCE:process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf#012doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:5: ssl_dh_parameters_length is no longer needed
When simply adjusting the offending line to
#ssl_dh_parameters_length=2048 (and reloading dovecot)
the old error notification in mail.log and/or syslog, being
process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : lda([email protected],)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
returns, even though it seems to be the case that MU61 intended to fix this particular (and odd) issue.
In addition, another (second) problem exists.
A Dovecot stop and start sequence results in the syslog entries :
Jul 22 18:01:55 main dovecot: master: Error: systemd listens on port 143, but it's not configured in Dovecot. Closing.
Jul 22 18:01:55 main dovecot: master: Error: systemd listens on port 993, but it's not configured in Dovecot. Closing.
In short, Dovecot config is not correct at all.
Just send a mail and check logs......before and after uncommenting the offending ssl_dh_parameters_length
STR to get the errors at dovecot stop/start sequences : just run the appropriate stop and start commands.
ACTUAL RESULT:STR to get the errors at dovecot stop/start sequences : just run the appropriate stop and start commands.
Mails get stored to the inbox.
However, the error notification
process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : lda([email protected],)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
still exists!
EXPECTED RESULT:However, the error notification
process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : lda([email protected],)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
still exists!
MU61 contains some updated dovecot and other mail related packages.
MU61 seems to be the intended fix of some mail related issues with dovecot.
MU61 did not work...... probably.
ANY ADDITIONAL INFORMATION:MU61 seems to be the intended fix of some mail related issues with dovecot.
MU61 did not work...... probably.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug