>>>> [EMAIL PROTECTED] 10/22/2005 4:13 AM >>>
>> 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
 
Thanks Bill.
I added that to my tcp.smtp and now all new mail for a user over quota gets returned to sender.
In the /var/log/qmail/smtpd/current file I can see entry. (I wasnt seeing that before.)
 
@40000000435cfebb32baabe4 CHKUSER mbx overquota: from <[EMAIL PROTECTED]::> remote <nl1.americanprizepatrol.com:unknown:69.94.72.98> rcpt <[EMAIL PROTECTED]> : rcpt mailbox is overquota
The mail that is already in the queue is not getting returned. I tried a "qmailctl doqueue" but the messages are still in the queue and I still see the mail in the queue. I still get the entry in the /var/log/qmail/current:
 
@40000000435cffba373fb704 delivery 1146: deferral: user_is_over_quota/maildrop:_signal_0x19/
Is there another way to get all this mail processed and returned?
 
Thanks for the help.
dan
 

Reply via email to