On 11/21/11 08:58, Roland Vogt wrote:
In the traking table I can see the SASL username.

But I don't understand why it doesn't match the SASL username when we
have a unique username for a lot of user (for Exchange principally)
Everything go to the default rule.

To make it easier for you to help me, there is all my configuration
for Policyd :

Cluebringer.conf : http://pastebin.com/TKp4bF2u
Database structure : http://pastebin.com/ZuMzhuhZ

If you need something else, ask my I'll send everything you need.

Rvdebian.


2011/11/20 Nigel Kukard<[email protected]>:
On 11/16/11 10:05, Roland Vogt wrote:
Hello,

I have a problem with the quota tracking using SASL. I want to track
the SASL:username but it appear that policyd track the "from" of each
mails. I use Policyd 2.0.11 with postfix on Debian 6.

There is a sample of my log :

Correct Policy :
Nov 16 12:28:42 policyd cbpolicyd[8386]: module=Quotas, mode=create,
host=192.168.170.29, helo=test, [email protected],
[email protected], reason=quota_create, policy=5, quota=7, limit=9,
track=SASLUsername:[email protected], counter=MessageCount,
quota=1.00/5000 (0.0%)

Wrong one :
Nov 16 12:29:18 policyd cbpolicyd[22917]: module=Quotas, mode=create,
host=192.168.170.29, helo=test, [email protected],
[email protected], reason=quota_create, policy=1, quota=2, limit=3,
track=SASLUsername:[email protected], counter=MessageCount, quota=1.00/60
(1.7%)

As you can see, the SASLUsername is the same of each case but the
"from" isn't. So why does it not use the SASLUsername to apply the
correct policy ?

What can I do to fix this ?

Thanks in advance,

RvDebian
What does your tracking table in mysql look like?  does it show the SASL
username or the FROM.

I just tested it here and for me it shows the SASL username. The logs above
are the envelope FROM and TO, which are the email addies.

-


The SASLUsername tracked will be the SASLUsername provided by Postfix to Policyd in the policy request.

-N

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to