I've enabled debugging. In what format do you want my config?

I've set up a new policy ('Kimeno'), with member:
        source: @s3c.hu
        des: any
        disabled: no

And I've set up a qouta, linked to this policy:
        Policy: Kimeno
        Name: s3c.hu
        Track: Sender:@domain
        Period: 300
        Verdict: REJECT
        Data: some message
        Stop processing: yes
        Disabled: no

When I send a mail, I see in the logs, that postfix is contacting policyd ( and 
policy is running module quota ), but nothing gets written to sql ( suppose, 
quotas_tracking should be filled ).

What should be wrong?

Thanks,

        Tom


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Robert Anderson
Sent: Monday, April 23, 2012 10:15 AM
To: [email protected]
Subject: Re: [policyd-users] What is what

On 22/04/2012 21:13, DAJKA Tamas wrote:
>
> No, I’m not able to set up a limit.
>
> Can anyone write me a step-by-step guide, how to set up:
>
> a)hourly 99 messages limit
>
> b)monthly 10000 messages limit
>
> via an empty web gui.
>
> Should I see the courrent conter state in the MySQL database? ( in the 
> correspontind _tracking table )
>
>

You need to create a policy that matches what you're after ( Documenation 
explains how matching works ).
You then create a quota for it. ( Again, documentation )

"No, I'm not able to set up a limit" - Why not? What is going wrong? Can you 
show us your configuration? Debugging?

Regarding the differences between Quotas and Accounting, see: 
http://lists.policyd.org/pipermail/users/2010-January/002905.html
_______________________________________________
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