Urmmm.....

> It works! Thanks. Now I will observe that really the mail from "<>" are
> not considered for the quota that I have defined.
>
> Indeed, from the log below:
>
> [2009/02/19-11:35:54 - 30992] [CORE] INFO: 2009/02/19-11:35:54 CONNECT
> TCP Peer: "127.0.0.1:43626" Local: "127.0.0.1:10031"
> [2009/02/19-11:35:54 - 30992] [PROTOCOLS/Postfix] DEBUG: Possible
> Postfix protocol
> [2009/02/19-11:35:54 - 30992] [PROTOCOLS/Postfix] INFO: Identified
> Postfix protocol
> [2009/02/19-11:35:54 - 30992] [TRACKING] DEBUG: No session tracking data
> exists for request: $VAR1 = {
>           'ccert_fingerprint' => '',
>           'sasl_method' => '',
>           'sasl_sender' => '',
>           'size' => '1876',
>           '_timestamp' => 1235039754,
>           'helo_name' => 'Mail.CRCSBO.IT',
>           'reverse_client_name' => 'unknown',
>           'queue_id' => '',
>           'encryption_cipher' => '',
>           'encryption_protocol' => '',
>           'etrn_domain' => '',
>           'ccert_subject' => '',
>           'request' => 'smtpd_access_policy',
>           'protocol_state' => 'RCPT',
>           'stress' => '',
>           '_protocol_peeraddr' => '127.0.0.1',
>           'recipient' => 'roc...@rcpt',
>           'sasl_username' => '',
>           'instance' => '75f5.499d360a.a651d.0',
>           'protocol_name' => 'ESMTP',
>           'encryption_keysize' => '0',
>           'recipient_count' => '0',
>           'ccert_issuer' => '',
>           'sender' => '',
>           'client_name' => 'unknown',
>           'client_address' => 'xxx.yyy.zzz.uuu',
>           '_protocol_transport' => 'Postfix'
>         };
> [2009/02/19-11:35:54 - 30992] [TRACKING] DEBUG: Added session tracking
> information for: $VAR1 = {
>           'ccert_fingerprint' => '',
>           'sasl_method' => '',
>           'sasl_sender' => '',
>           'size' => '1876',
>           '_timestamp' => 1235039754,
>           'helo_name' => 'Mail.CRCSBO.IT',
>           'reverse_client_name' => 'unknown',
>           'queue_id' => '',
>           'encryption_cipher' => '',
>           'encryption_protocol' => '',
>           'etrn_domain' => '',
>           'ccert_subject' => '',
>           'request' => 'smtpd_access_policy',
>           'protocol_state' => 'RCPT',
>           'stress' => '',
>           '_protocol_peeraddr' => '127.0.0.1',
>           'recipient' => 'roc...@rcpt',
>           'sasl_username' => '',
>           'instance' => '75f5.499d360a.a651d.0',
>           'protocol_name' => 'ESMTP',
>           'encryption_keysize' => '0',
>           'recipient_count' => '0',
>           'ccert_issuer' => '',
>           'sender' => '',
>           'client_name' => 'unknown',
>           'client_address' => 'xxx.yyy.zzz.uuu',
>           '_protocol_transport' => 'Postfix'
>         };
> [2009/02/19-11:35:55 - 30992] [TRACKING] DEBUG: Protocol state is
> 'RCPT', resolving policy...
> [2009/02/19-11:35:55 - 30992] [POLICIES] DEBUG: Going to resolve session
> data into policy: $VAR1 = {
>           'Recipient' => 'roc...@rcpt',
>           'SASLUsername' => '',
>           'QueueID' => '',
>           'RecipientData' => '',
>           'Instance' => '75f5.499d360a.a651d.0',
>           'EncryptionCipher' => '',
>           'Size' => '1876',
>           'EncryptionKeySize' => '0',
>           'EncryptionProtocol' => '',
>           'Helo' => 'Mail.CRCSBO.IT',
>           'ClientAddress' => 'xxx.yyy.zzz.uuu',
>           'ClientName' => 'unknown',
>           'Sender' => '',
>           'SASLSender' => '',
>           'Protocol' => 'ESMTP',
>           'ClientReverseName' => 'unknown',
>           'SASLMethod' => ''
>         };
> [2009/02/19-11:35:55 - 30992] [POLICIES] DEBUG: Found policy member with
> ID '1' in policy 'Default'
> [2009/02/19-11:35:55 - 30992] [POLICIES] DEBUG: [ID:1/Name:Default]:
> Main policy sources '!@'
>   
This is !@


> [2009/02/19-11:35:55 - 30992] [POLICIES] DEBUG: [ID:1/Name:Default]: -
> Resolved source '@' to a email blank address specification, match = 1
>   
This is right, look , no ! as this is resolved AFTER the @.


> [2009/02/19-11:35:55 - 30992] [POLICIES] INFO: [ID:1/Name:Default]:
> Source matching result: matched=0
>   
This is 100% correct,  @ matched, ! negated the match.

Regards
Nigel

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

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

Reply via email to