On 05/18/11 14:21, ZioPino wrote:
> I have just installed policyd ver 2.011 e It seems working fine..
> but no session data is written into db.
> My conf is the subsequent:
> postfix > 2.1
> mysql 5.0.xx
> here is a little trace of my log file
> [2011/05/18-16:08:39 - 14975] [TRACKING] DEBUG: No session tracking data
> exists for request: $VAR1 = {
> 'ccert_fingerprint' => '',
> 'sasl_method' => '',
> 'sasl_sender' => '',
> 'size' => '2554390',
> '_timestamp' => 1305727719,
> 'helo_name' => 'PcMarisa',
> 'reverse_client_name' => 'unknown',
> 'queue_id' => '76D2CE207C',
> 'encryption_cipher' => '',
> 'encryption_protocol' => '',
> 'etrn_domain' => '',
> 'ccert_subject' => '',
> 'request' => 'smtpd_access_policy',
> 'protocol_state' => 'END-OF-MESSAGE',
> 'stress' => '',
> 'recipient' => '[email protected]',
> 'sasl_username' => '',
> 'instance' => '3a7b.4dd3d2de.6b9f4.0',
> 'protocol_name' => 'ESMTP',
> 'encryption_keysize' => '0',
> 'recipient_count' => '1',
> 'ccert_issuer' => '',
> 'sender' => '[email protected]',
> 'client_name' => 'unknown',
> 'client_address' => '80.86.148.114',
> '_protocol_transport' => 'Postfix'
> };
> [2011/05/18-16:08:39 - 14975] [TRACKING] DEBUG: Protocol state is
> 'END-OF-MESSAGE', decoding policy...
> [2011/05/18-16:08:39 - 14975] [TRACKING] DEBUG: Decoded into: $VAR1 =
> {};[2011/05/18-16:08:39 - 14975] [TRACKING] DEBUG: Request translated
> into session data: $VAR1 = {
> 'SASLUsername' => '',
> 'QueueID' => '76D2CE207C',
> 'RecipientData' => '',
> 'Instance' => '3a7b.4dd3d2de.6b9f4.0',
> 'EncryptionCipher' => '',
> 'Size' => '2554390',
> 'EncryptionKeySize' => '0',
> 'ParsedClientAddress' => {
> 'Broadcast_Long' => 1347851378,
> 'Network' => '80.86.148.114',
> 'IP_Long' => 1347851378,
> 'Broadcast' => '80.86.148.114',
> 'IP' => '80.86.148.114',
> 'Mask_Long' => 4294967295,
> 'Network_Long' => 1347851378
> },
> 'ProtocolTransport' => 'Postfix',
> 'EncryptionProtocol' => '',
> 'Helo' => 'PcMarisa',
> 'ClientAddress' => '80.86.148.114',
> 'ClientName' => 'unknown',
> 'Sender' => '[email protected]',
> 'SASLSender' => '',
> 'Timestamp' => 1305727719,
> 'ProtocolState' => 'END-OF-MESSAGE',
> '_Recipient_To_Policy' => {},
> 'Protocol' => 'ESMTP',
> 'ClientReverseName' => 'unknown',
> 'SASLMethod' => ''
>
> I have only a default active policy
>
>
> Policy Members
> Policy: Default
> Action
>
> Source Destination Disabled
> any any no
> Policy List
> Action
>
> Name Priority Description
> Disabled
> Default 0 Default system policy valida per tutti no
>
> and a quota rules
>
> Quota List
> Action
>
> Policy Name Track
> Period Verdict Data Disabled
> Default quota per sender Sender:@domain 3600 REJECT
> superato no
>
> Quota Limits
> Quota: quota per sender
> Action
>
> Type Counter Limit Disabled
> MessageCount 500 no
>
> What is going wrong?
>
> Thanks in advanceDoesn't look like there is a RCPT policy request, could you paste the appropriate sections of your main.cf file. Also remember that policyd should probably be pretty high up in the ordering in smtpd_recipient_restrictions , some checks before it which accept mail may cause the policy request not to go out. -N
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
