The settings are following now:

Name
                                        Accounting_WIMORE
                                        
                                
                                
                                        Link to policy
                                        WiMORE-RELAY_OK
                                        
                                                
                                                        
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                
                                                
                                        

                                
                                
                                        Track
                                        SenderIP:/32
                                        
                                                
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                
                                                
                                        
                                
                                
                                        Period
                                        Daily
                                        
                                                
                                                        
                                                        
                                                        
                                                        
                                                
                                        

                                
                                
                                        Message Count Limit
                                        1
                                        
                                
                                
                                        Message Cumulative Size Limit
                                        -none-
                                        Kbyte
                                
                                
                                        
                                                Verdict
                                        
                                        REJECT
                                        
                                                
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                
                                        

                                
                                
                                        
                                                Data
                                        
                                        Account limit exceeded
                                        
                                
                                
                                        Stop processing here
                                        no
                                        
                                                
                                                        
                                                        
                                                        
                                                
                                        

                                
                                
                                        Comment
                                        

                                        
                                
                                
                                        Disabled
                                        no

From: [email protected]
To: [email protected]
Date: Thu, 25 Aug 2011 12:15:00 +0200
Subject: [policyd-users] Problem accounting policyd








Hello,
i have a problem with accounting service. I want use a policyd for block email 
relay after some message relayed by ip address. I done a open relay (only for 
my networks )  and i want block relay for ip address after some message sended.

I see that the policy matchs but the accounting not block relay after some 
message.  Attached there is a log of policyd.


The settings of accounting on webui is the following:

Name
                                        Accounting_WIMORE
                                        

                                
                                
                                        Link to policy
                                        WiMORE-RELAY_OK
                                        
                                                
                                                        
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                
                                                
                                        

                                
                                
                                        Track
                                        SenderIP:/32
                                        
                                                
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                
                                                

                                        
                                
                                
                                        Period
                                        Daily
                                        
                                                
                                                        
                                                        
                                                        
                                                        
                                                
                                        

                                
                                
                                        Message Count Limit
                                        1
                                        

                                
                                
                                        Message Cumulative Size Limit
                                        -none-
                                        

                                
                                
                                        
                                                Verdict
                                        
                                        REJECT
                                        
                                                
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                
                                        

                                
                                
                                        
                                                Data
                                        
                                        Account limit exceeded
                                        

                                
                                
                                        Stop processing here
                                        no
                                        
                                                
                                                        
                                                        
                                                        
                                                
                                        

                                
                                
                                        Comment
                                        

                                        

                                
                                
                                        Disabled
                                        yes

but after one message it doesn't block my ip.

The accounting table on database is empty.


Thank you


Regards


                                          

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

Reply via email to