Hi,

I attempting to setup policyd primarily to put quotas on outgoing email (we’ve 
ben having trouble with compromised accounts generating lots of SPAM).

Using the web GUI, I configured a quota  as follows: using Default Outbound 
policy, tracking Sender:user@domain, period 3600 seconds (1 hour) and the 
verdict reject.  From the Action menu, I selected Limits.  Then Type Message 
Count and Counter Limit 5 (5 is not a reasonable production value but right now 
all I’m doing is testing).  I tun made sure that nothing was disabled, and 
proceeded to send out in excess of the configured limit and they all went 
through.

When I start the daemon, the logs show that the quota modules is loaded and 
enabled:

[2014/04/03-09:38:35 - 18968] [CBPOLICYD] NOTICE: Initializing system modules.
[2014/04/03-09:38:35 - 18968] [CBPOLICYD] NOTICE: System modules initialized.
[2014/04/03-09:38:35 - 18968] [CBPOLICYD] NOTICE: Module load started...
[2014/04/03-09:38:35 - 18968] [CORE] NOTICE:   => Accounting: enabled
[2014/04/03-09:38:35 - 18968] [CORE] NOTICE:   => Quotas: enabled
[2014/04/03-09:38:35 - 18968] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2014/04/03-09:38:35 - 18968] [CBPOLICYD] NOTICE: Module load done.

And this is what gets logged per messages (I’m presuming that this is the log 
entry for the 8th message).

[2014/04/03-09:49:23 - 18973] [CBPOLICYD] INFO: Got request #8 (pipelined)
[2014/04/03-09:49:23 - 18973] [CBPOLICYD] DEBUG: Running module: Quotas Plugin
[2014/04/03-09:49:23 - 18973] [CBPOLICYD] DEBUG: Module 'Quotas Plugin' 
returned CBP_SKIP
[2014/04/03-09:49:23 - 18973] [CBPOLICYD] DEBUG: Running module: Accounting 
Plugin
[2014/04/03-09:49:23 - 18973] [CBPOLICYD] DEBUG: Module 'Accounting Plugin' 
returned CBP_SKIP
[2014/04/03-09:49:23 - 18973] [CBPOLICYD] DEBUG: Done with modules

Limiting outbound messages is dinner, anything else that policyd will do for me 
is just dessert.  How do I fix this?


Thanks,

Rob Tanner
UNIX Services Manager
Linfield College, McMinnville Oregon

ITS will never ask you for your password.  Please don’t share yours with anyone!

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to