Jaroslaw Grzabel wrote:
> Hi,
>
> OK. I have to filter and limit everything by IP address. I need to limit
> each IP address to some value. So I've created policy where source and
> dest = any and in tracking I've put SenderIP:0.0.0.0/0.
>
> Now all messages are rejected. Log file:
>
> [2009/07/15-15:10:13 - 12009] [CBPOLICYD] DEBUG: Starting up caching engine
> [2009/07/15-15:10:13 - 3294] [POLICIES] INFO: [ID:8/Name:swift_IP]:
> Source matching result: matched=1
> [2009/07/15-15:10:13 - 3294] [QUOTAS] WARNING: Unknown key specification
> in TrackSenderIP
> [2009/07/15-15:10:13 - 3294] [QUOTAS] ERROR: No key found for quota ID '3'
> [2009/07/15-15:10:53 - 3292] [CORE] INFO: Killing "1" children
> [2009/07/15-15:10:53 - 3293] [CBPOLICYD] DEBUG: Shutting down caching
> engine (3293)
>
> What did I do wrong ?
>
Good question...
$server->log(LOG_WARN,"[QUOTAS] Unknown key
specification in TrackSenderIP");
Could you find that line in the .pm module, then change it to ...
$server->log(LOG_WARN,"[QUOTAS] Unknown key
specification in TrackSenderIP '$spec'");
Lets see what the error message says then.
-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users