Applicable to:
- Plesk Obsidian for Linux
Symptoms
-
Mail quota warnings are not sent.
-
Warnings are enabled under Tools & Settings > Mail Server Settings > Enable mailbox quota warning
-
Dovecot configuration for quota warnings is missing:
# ls -la /etc/dovecot/conf.d/20-plesk-quota-warning.conf
ls: cannot access /etc/dovecot/conf.d/20-plesk-quota-warning.conf: No such file or directory
Cause
Product issue:
-
#PPP-46278 "Mailbox quota warning now works as expected after it is disabled and then enabled again in “Tools & Settings” > “Mail Server Settings”."
Fixed in:- Plesk Obsidian 21 January 2020 (Linux)
Resolution
Workaround
-
Connect to the server via SSH
-
Create the missing file:
# touch /etc/dovecot/conf.d/20-plesk-quota-warning.conf
-
Edit file
/etc/dovecot/conf.d/20-plesk-quota-warning.conf
and add the following content:CONFIG_TEXT: #ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
plugin {
quota_warning = storage=95%% quota-warning %u
}
service quota-warning {
executable = script /usr/lib64/plesk-9.0/send-quota-warning
user = popuser
unix_listener quota-warning {
user = popuser
}
}
Comments
2 comments
Hi Digital Connect,
You may find errors or related entries in the /var/log/maillog. If you aren't able to find anything I suggest opening a ticket with our support department for further investigation
https://support.plesk.com/hc/en-us/articles/213953025-How-to-get-support-directly-from-Plesk-
Thanks Vladimir for your help, but the mails are still not being sent (the mailbox is at 98%). I've upgraded Plesk 17.5 to Obsidian 18.0.27 round about 2 weeks ago and installed the latest update today. Since the last 2 weeks i tried to disable and enable the setting, checked the Config (/etc/dovecot/conf.d/20-plesk-quota-warning.conf) but the warnings still not sent.
If i just execute the script (/usr/lib/plesk-9.0/send-quota-warning) the mails sent without any problems..
- When should the warnings normally be sent? Once a day at xx o'clock? If a new mail comes in?
- Where can i check for errors? Maybe any Log file i can look for?
Setup:
- Ubuntu 16.04
- Plesk 18.0.27
- Mailserver: Postfix 3.4.8 + Dovecot 2.3.10
Any help would be appreciated. Thanks in advance!
Please sign in to leave a comment.