Muhammad Naeem wrote:
Now there is another issue and that is lets suppose that i have a user
whose mailbox size is 1MB and if i send a test email to that account
containing an attachment of 1.5MB means more than the size of its
mailbox the mail gets deferred and stuck in the qmail queue and qmail
logs it:

2006-02-18 11:15:00.290014500 delivery 7: deferral:

what i want is to return this oversize email to sender immediately
with a message like "user is over quota"

I don't know how to implement this, i will be obliged if you can help
me out in this regard.


You can use the CHKUSER_MBXQUOTA variable. Example below




Reply via email to