MrOzone wrote:
>
> But with reading on a few sites, has there been a definitive answer in 
> how to even deny that 1st email than allowing it to sit in the queue?
>

You can't, without modifying maildrop.  If you modify maildrop so that 
it creates the maildirsize file with world readable permissions, then 
you can use the pythonfilter quota module.

The other solution, which would be more work, would be to introduce a 
quota command into maildrop itself, so that "localmailfilter"s could be 
used to check the quota.  This would have the considerable advantage 
that messages would only be rejected for users who are over quota on 
multi-recipient messages.  Users who were not over quota would still be 
accepted.  This would probably mean that additional work would be 
desirable, which would allow localmailfilters to temporarily reject 
messages, which they cannot currently do.  I probably wouldn't start 
down this path unless Sam were inclined to accept patches to support 
this functionality in the distribution.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to