Rocco Scappatura wrote:
>>>>> [2008/10/27-17:11:51 - 658] [QUOTAS] WARNING: Unknown key
>>>> specification
>>>>> in TrackSenderIP
>>>>> [2008/10/27-17:11:51 - 658] [QUOTAS] ERROR: No key found for
>> quota
>>> ID
>>>>> '4'
>>>>>
>>>>> I suppose that the value xxx.yyy.www.zzz set in Track senderIP
> of
>>>> Quota
>>>>> must be picked up from Transports in 'Postfix integration'
>>> section..
>>>> Shouldn't it be a CIDR?
>>>>
>>>> http://www.policyd.org/tiki-
>>>> index.php?page=Quotas&structure=Documentation
>>>> "Sender IP Tracking Options
>>>> By sending IP or network using: "SenderIP:/bitmask"
>>>> Track counters using the sending IP masked with the bitmask
>> provided.
>>>> For instance if the senders IP is 192.168.0.10 and the bitmask is
>> /24
>>>> then the key in the database will be 192.168.0.0/24 and mail
>> comming
>>>> from that entire class-c or /24 will be tracked."
>>> Infact, for the field 'Track' I have selected 'Sender IP'. Then I
>> have
>>> put 'xxx.yyy.www.zzz/32' in the nearby text box.
>>>
>>> So I think that my input is correct.
>>>
>>> I have set an entire sub network (xxx.yyy.www.128/64) to be sure
> that
>>> the sigle IP doesn't cause problem for the policyd server, but I
>> still
>>> get:
>>>
>> Sorry ..  A big mistake..
>> :-(((
> 
> I have corrected my big mistake putting:
> 
> 'xxx.yyy.www.64/26' in the text box close to select box in the field
> 'Track', having select the value 'Sender IP' from the combo..
> 
> But the error still persist:
> 
> [2008/10/28-17:32:16 - 7984] [QUOTAS] WARNING: Unknown key specification
> in TrackSenderIP
> [2008/10/28-17:32:16 - 7984] [QUOTAS] ERROR: No key found for quota ID
> '4'

The format of the box next to the select box is not a.b.c.d/z it is   /a 
only .  It is a bitmask.

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

Reply via email to