Results 1 to 4 of 4

Thread: policyd and saslusername

  1. #1
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    348
    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 10:29 AM.

  2. #2
    justin_exoca is offline Intermediate Member
    Join Date
    Feb 2011
    Location
    France
    Posts
    15
    Rep Power
    4

    Default

    Hello,

    Up, i'm also interested by this problem.

    Thanks
    Already 6 years of Zimbra NE and always Happy
    Release 8.0.4.GA.5737.UBUNTU12.64 UBUNTU12_64 NETWORK edition, Patch 8.0.4_P1.

  3. #3
    tbovingdon is offline Special Member
    Join Date
    Oct 2006
    Posts
    151
    Rep Power
    8

    Default

    Did you guys ever figure this out?

  4. #4
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    348
    Rep Power
    8

    Default

    Yes, I was able to doit, but w/out ssl
    I contributed some note here
    Bash Scripts for cbpolicyd - Zimbra :: Wiki

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 06:43 PM
  3. Policyd Web
    By jose.cortina in forum Administrators
    Replies: 0
    Last Post: 04-24-2012, 03:04 PM
  4. policyd vs sqlgrey
    By maceee in forum Administrators
    Replies: 0
    Last Post: 07-08-2010, 03:19 AM
  5. PolicyD through a SOAP API
    By rafrio in forum Administrators
    Replies: 0
    Last Post: 10-08-2007, 12: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
  •