On 25/07/2012 10:16, CSS wrote: > I've run into a small issue with my very basic "match all sasl-authenticated > users" policy (ID 6 below in both the policies and policy_members tables). > > sqlite> select * from policies; > 1|Default|0|Default System Policy|0 > 6|outbound mail|10|put sasl-auth and any other outbound groups here|0 > 7|outbound-test|20|testing|1 > > sqlite> select * from policy_members; > 1|1||||0 > 6|6|$*|any|match sasl-auth users|0 > 7|7|[email protected]|any|testing|0 > > I see normal users that are connecting with a mail client being tracked, and > I think I'm grabbing all of them. However I just enabled smtp-auth in > roundcube so I can also track my webmail users. According to Postfix, this > is working: > > Jul 25 03:58:31 hc1 postfix/smtpd[25015]: connect from hc2.foo.com[x.x.x.x] > Jul 25 03:58:32 hc1 postfix/smtpd[25015]: F40808FD9D: > client=hc2.foo.com[x.x.x.x], sasl_method=PLAIN, > [email protected] > > And compared to another message I sent as another user via a normal MUA: > > Jul 25 03:49:50 hc1 postfix/smtpd[23814]: connect from y.y.y.y[y.y.y.y] > Jul 25 03:49:51 hc1 cbpolicyd[23779]: module=Quotas, mode=update, > host=y.y.y.y, helo=frankentosh.foo.com, [email protected], [email protected], > reason=quota_update, policy=6, quota=3, limit=4, > track=SASLUsername:[email protected], counter=MessageCount, quota=1.00/100 (1.0%) > Jul 25 03:49:51 hc1 postfix/smtpd[23814]: 218D178B5D: > client=y.y.y.y[96.57.144.66], sasl_method=PLAIN, [email protected] > > What might account for the difference? > > The only thing of note here is that the IP that the mail server, smtpd and > roundcube are using are all the same IP. Could this be triggering some type > of ignore? > > With the log level set to 3, I'm not seeing anything in the cbpolicyd.log on > these connections.
Would you mind posting the output of postconf? Also, just for reference, policyd's logging and configuration + postfix log. _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
