How To Customize The "User's Mail Box Is Full" Message

I am using CentOS 6 + VM Pro.

I have noticed that when a user’s mail box is full, the message that is bounced back is not very helpful. It basically just says “can’t create user output file” - which might be thought to indicate something wrong with the server!

I have been trying to see if there is a built-in way to change that e.g. “The user’s mail box is full”. But I can’t see how to do it.

Is there a way to to do that?


Yeah, that “can’t create user output file” error does indeed suck! We don’t have a good solution for it though; some details about why it’s a problem are here:

Thanks Andreycheck.

Could this point to a solution?

They seem to to be able to generate this kind of thing:

Apr 5 15:03:00 mail2 postfix/smtpd[24261]: NOQUEUE: reject: RCPT from[]: 552 5.2.2 firstname.lastname@example.invalid:
Recipient address rejected: Quota exceeded (mailbox for user is full); to=firstname.lastname@example.invalid proto=ESMTP


Hey, that looks perfect! I hadn’t seen that before.

The unfortunate problem there is that no distro is currently shipping dovecot 2.2, which is the dovecot version that supports the quota feature.

However, as soon as some of the Virtualmin-supported distros start shipping with that Dovecot version, that’s an important enough thing that I can see Virtualmin automatically configuring it, or at least offering an option to do so.

In the meantime, the only way to get that feature would be to install a non-standard Dovecot version (which we don’t really recommend :slight_smile: and then manually configure things to use it.


Sounds good Eric. I’ll wait for the distro folks to get dovecot 2.2 on board.