> I have noticed that mail over the users quota is not getting bounced back > to the sender. > I have found this in the /var/log/qmail/current file: > > @40000000435946c00dbb5f8c starting delivery 375679: msg 67370 to local > [EMAIL PROTECTED] > @40000000435946c00dbbadac status: local 1/10 remote 0/20 > @40000000435946c018696d84 delivery 375679: deferral: > user_is_over_quota/maildrop:_signal_0x19/ > @40000000435946c01869c75c status: local 0/10 remote 0/20 > > qmialctl stat shows: > /service/qmail-send: up (pid 10179) 2179853 seconds > /service/qmail-send/log: up (pid 2519) 5548538 seconds > /service/qmail-smtpd: up (pid 10182) 2179853 seconds > /service/qmail-smtpd/log: up (pid 10549) 3120494 seconds > messages in queue: 1879 > messages in queue but not yet preprocessed: 0 > > The messages stay in the /var/qmail/queue/mess directories and do not get > bounced back to the sender saying that the user is over quota. > Shouldnt the mail be bounced back to the sender with a message saying that > the user is over quota? > > Where do I start to try to figure this out?
In ~vpopmail/etc/tcp.smtp, add the variable "CHKUSER_MBXQUOTA=95" to your default allow line, then run "qmailctl cdb" to update your cdb file. That will reject messages that put a user's quota at 95% or above. You can adjust the 95 to whatever you want. By default, this is turned off at the SMTP level, so it's a local bounce that is temporary. Regards, Bill
