On 11/02/10 00:20, dingni wrote: > I'm running Postfix with dovecot(Smtp Auth) and PostfixAdmin. > > I have policyd working nicely with per SASL user per policy. > > This are the sample policies: > policy name: limit sasl users to 2 email per day > Source: %limit_sasl_users_2 //members ex.([email protected] > <mailto:[email protected]>, [email protected] <mailto:[email protected]>) > Destiantion: any > Track: SASLUsername > > policy name: limit sasl users to 4 email per day > Source: %limit_sasl_users_4 //members ex.([email protected] > <http://example3.com>,[email protected] <http://example4.com>) > Destiantion: any > Track: SASLUsername > > [email protected] <http://example1.com> is the authentication user again > dovecot(Smth Auth). > > Then in Outlook, I specify"[email protected] <http://example1.com>" as > the sending E-mail Address, and "[email protected] > <http://example1.com>" as outgoing authentication user, and this works > great. > > But if I change the "[email protected] <http://example1.com>" as the > sending E-mail Address to ANOTHER email address([email protected] > <mailto:[email protected]>) and "[email protected] <http://example1.com>" > as outgoing authentication user, then nothing match it. > > > In Database "policdy", "session_tracking" table, the Sender column > lists([email protected] <mailto:[email protected]>), and column SASLUsername > lists([email protected] <http://example1.com>), I think the reason is > because ([email protected] <mailto:[email protected]>) doesn't match Policy > "limit sasl users to 2 email per day"(Source: %limit_sasl_users_2). > Thus why it doesn't work. > > I've tried using any different combinations from > http://policyd.org/tiki-index.php?page=Policies+%26+Groups&structure=Documentation > <http://policyd.org/tiki-index.php?page=Policies+%26+Groups&structure=Documentation>, > but with no luck. > > Is there any workaround for this problem..Thanks for your help.
Hi, Could you enable full debugging and send us the full logs? Thank you. _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
