Jon Duggan wrote:
> Ok, this is interesting to know for stats purposes;
> 
> I've another question also about this table... we have throttle based on
> sasl user.
> 
> we're using it mainly for monitoring purposes, but also set a hard upper
> limit of 10gig (per month).. its working almost as expected and policyd
> seems to be the best if not only solution for doing this, there is one thing
> that bugs me though..
> 
> if  for example i set a hard limit of 2mb/month.
> 
> now i send my first email which happens to be 1.5mb of size.. this sends as
> expected because it has not exceeded the quota...
> 
> now the next email... usually i would expect that if the email was of
> greater size than .5mb the mta to reject the relay based on exceeded
> quota... but it's fine to expect it to allow, to take up to quota limit and
> then reject any further mails after this...
> 
> the weird thing im seeing is that im able to send a '3rd' email even after
> the 2nd email should have exceeded the quota.... i've tested this with
> different quota sizes and different email sizes.... regardless.. it always
> seems to allow one more than the hard limit...
> 
> Am i doing something wrong, is there something im overlooking here?.. its
> not like its a big deal, i mean its just one more email... just thought i'd
> ask its something thats been bugging me :)

You would have to show logs and your config that would show where 
policyd was being called.

Read through these archives to see if it helps.

John Beaver
------------------------------------------------------------
Check out this message for a solution for sender based quota's.
http://sourceforge.net/mailarchive/message.php?msg_id=15443569

Here is the thread for all the gory details.
http://sourceforge.net/mailarchive/forum.php?thread_id=10164566&forum_id=46105

Note that recipient based quota's cannot be done reliably just yet. To
do so requires the MUA (email client) to send the size, which you've
discovered, Outlook and Outlook Express do not.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to