Hi, suddenly the mailbox of a user shows "full" and trying to email him results in "mailbox full" errors. doveadm quota get -u [email protected] shows the correct values (like configured in the mailbox settings (72% full) Mail Quota in ISPconfig shows the right values (72% full) BUT: when trying to send an email to this user, we get "mailbox full" errors. AND: the user sees in his Thunderbird email client 100%, too! So my question is: why is the setting in ISPconfig SHOWN correct, even by doveadm quota on the console, but reported incorrect to external users and even when trying to deliver mails?
What ISPConfig shows you is what dovecot reports as quota. Possible reasons for your issue are: harddisk full. or you turned on the settings to use website UID for mailbox (its off by default and should be off), which stores mailbox files under the website user and which would mean mail deliveries will fail when website quota is full.
No, checked that harddisk is not full. I didn't change any of the default settings neither of Debian, postfix, dovecot nor ISPconfig. It works like a charm on several other mailboxes and on other ISPconfig hosts configured the same way. "Use website UID": where WOULD I change that or where can I reassure the right settings? Any other idea, what can be possibly gone wrong? Like I said: in ISPconfig everything looks fine. But external mailers are told "full", either other SMTP hosts trying to deliver mails or mail clients like Thunderbird.... ONLY in this account!!
Funny: making tests with a neutral account and configuring the quota WORKS. Looks like Thunderbird needs a restart to get the NEW max quota. BUT that alone was not the problem! We got delivery failures from postfix when trying to send mails to that account, while it was OKAY configured in ISPconfig. So there MUST have been a problem with ISPconfig communicating the right max quota to postfix.... Any further ideas? P.S.: we have 3.3.1p1 on all machines, at least Debian 12. php -version on the master: PHP 7.4.33 php -version on the slave: PHP 7.4.33
Quota is managed and enforced by Dovecot only and dovecot reads quota directly from ISPConfig MySQL database, postfix is not involved here at all.
okay, good to know. But when an external mail server tries to deliver a mail, it speaks do postfix on my server. So postfix is checking the quota somewhere before accepting or reports "mailbox full". The delivering external mail server does not speek to dovecot on my server, right? I'm just trying to figure out why we had the "mailbox full" delivery failures while the quota on the ISPconfig was good...
Your assumption is wrong here; not postfix checks it, Dovecot checks it. Dovecot is the so called LDA, local delivery agent. As I mentioned, when Dovecot internal quota system thinks that there is enough free quota and Dovecot is the only software that checks this, and the email gets rejected nonetheless, then this means that the actual storing of the email on disk failed, or in other words, harddisk full, or you applied Linux filesystem quota on emails as well. System > server config, the place where you find all global mail and server settings.