Results 1 to 4 of 4

Thread: policyd and saslusername

Threaded View

  1. #1
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    350
    Rep Power
    8

    Default policyd and saslusername

    Hello
    I have installed cluebringer (or policyd or cbpolicyd) on a 8.0.4 like here Postfix Policyd - Zimbra :: Wiki.
    and here http://www.policyd.org/content/policies-configuration


    It's works with all the stuff you can find there.
    But I need to track saslusername, I am able to do it on debian+postfix+cluebringer+mysql.
    I am not able to get it working here.

    Code:
    sqlite> select * from policy_members;
    1|1||||0
    2|2|%internal_ips,%internal_domains|!%internal_domains||0
    3|3|!%internal_ips,!%internal_domains|%internal_domains||0
    4|4|%internal_ips,%internal_domains|%internal_domains||0
    5|5|@example.net|||0
    6|6|%smtp_users|any||0
    
    sqlite> select * from policy_groups;
    1|internal_ips|0|
    2|internal_domains|0|
    3|smtp_users|0|
    
    sqlite> select * from policy_group_members;
    1|1|10.0.0.0/8|0|
    2|2|@example.org|0|
    3|2|@example.com|0|
    4|3|$*|0|All sasl
    About quotas table

    everithing I use does not track inbound sasl authenticated messages, but only inbound messages messages (not authenticated ones)

    I tried as Track:

    1. SASLUsername:sasl=user@domain
    2. SASLUsername:user@domain
    2. SASLUsername:username

    everithing is wrong as it is never tracked when I send a mesage using sasl

    any help is apreciated


    Maurizio

    EDIT
    i was able at last, but I have to use no ssl, no tls, port 25 and this way I am tracked

    Code:
    [2013/10/27-18:23:56 - 13644] [CORE] INFO: module=Quotas, mode=create, host=79.18.68.178, helo=tikal.homenet.telecomitalia.it, from=maumar@xxxxx.com, to=xxxx@xxxx.xxxx, reason=quota_create, policy=6, quota=4, limit=5, track=SASLUsername:maumar@xxxxxxx.com, counter=MessageCount, quota=1.00/100 (1.0%)

    and quotas is:

    Code:
    4|6|SASLUsername:username|SASLUsername:user@domain|3600|DEFER|Deferring: Too many messages from sasl user in last 60|0||0
    Last edited by maumar; 10-27-2013 at 11:29 AM.

Similar Threads

  1. Zimbra 8.0.1 Policyd
    By niam in forum Administrators
    Replies: 5
    Last Post: 12-24-2013, 03:40 AM
  2. How to install policyd
    By blueflametuna in forum Administrators
    Replies: 7
    Last Post: 04-20-2013, 07:43 PM
  3. Policyd Web
    By jose.cortina in forum Administrators
    Replies: 0
    Last Post: 04-24-2012, 04:04 PM
  4. policyd vs sqlgrey
    By maceee in forum Administrators
    Replies: 0
    Last Post: 07-08-2010, 04:19 AM
  5. PolicyD through a SOAP API
    By rafrio in forum Administrators
    Replies: 0
    Last Post: 10-08-2007, 01:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •