Index: [Article Count Order] [Thread]

Date:  Tue, 10 Jul 2007 15:42:36 +0100
From:  Gustavo Silva <pseudo (at mark) zbronx.com>
Subject:  [coba-e:10349] mail delivery with users already over quota
To:  coba-e (at mark) bluequartz.org
Message-Id:  <46939ADC.5070507 (at mark) zbronx.com>
X-Mail-Count: 10349

Hi blues,

Another "thing" im trying to come up with...

I dunno if i am the only one with this kind of problems... Some stuff 
that happens here is so weird.. oh well
Basically, some users like to check their pop accounts twice a year.. or 
so it seems
The problem is that the account fills up, and gets blocked. I dunno if 
this is beacuse i have set up things wrong of its just natural.

By blocked i mean that if they try to check their emails and download 
them from a email client, they cant logon because the account is over 
quota and returns an error. Even trhough OpwenWebmail the same happens.

So i have to login on BQ, give the user a little more space, then let it 
download the emails, then put the account back as it was...

Anyway i was wondering... Tell me if this is possible..
Create a Procmail recipe, or check on sendmail local delivery policy,

And basically make a rule that would do the math for us

if (client_actual_quota + this_email_message_size <= 
(client_quota_limit-100kb_buffer)){
    deliver
}else{
    bounce like it would normally do when its over quota
}

Heh... Am i being too radical?

Kind regards,

Gustavo