At 20:54 -0500 14/11/10, R M Waters wrote:
>If a quota results in a mail being deferred, when the deferral 
>period ends is the quota re-applied to the mail? (Policyd v2/Postfix 
>2.7)
>
>If deferred mail just gets re-queued when the deferral ends, it's an 
>end-run around the Quota.

Not really. If someone tries to send messages too fast, they will in 
effect get throttled. Eg, if you set a policy of 10 messages/hour and 
they try to send 30 messages, then 20 of those will get deferred. 
After one hour, the user will have sent 10 messages and when the 
quota resets* for the next hour then another 10 will get through. And 
then the remaining 10 the next hour.

The user has been throttled to 10 messages per hour which is 
effectively what the module is supposed to do. If they only send 
short bursts then their messages will get through at the rate you've 
throttled them to - but if they keep sending at a rate above the 
quota, their queue will just keep backing up more and more until 
messages start failing (max queue time exceeded).

* Taking a simplistic view for illustration.

If you want a laugh, or perhaps squirm, we have a customer that sends 
out mailshots on a regular basis. We keep trying to educate them, but 
some people just don't want to learn. What usually happens is that 
they send a mailshot and then phone us to complain that their 
internet connection is slow and remote users can't work properly. We 
thought we'd managed to educate them into keeping the emails small 
and linking to a web page for more info (they used to send out Word 
generated stuff !) - but this time they excelled themselves.
An 8 1/2MByte messages sent to many thousands of recipients - and all 
sent individually rather than a smaller number of messages each to a 
number of recipients (it's how their software works).
I estimated that this mailshot alone would fill their outbound 
connection for 4 1/2 days !
-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to