Nothing news?? Does someone has un example of configuration with account that it works???
Thank you From: [email protected] To: [email protected] Date: Tue, 30 Aug 2011 12:37:47 +0200 Subject: Re: [policyd-users] Problem accounting policyd the Value on disabled field is 0 ( it mean enable right??) This is the cbpolicyd.log : [2011/08/29-19:54:09 - 2164] [CORE] INFO: 2011/08/29-19:54:09 CONNECT TCP Peer: "127.0.0.1:55907" Local: "127.0.0.1:10031" [2011/08/29-19:54:09 - 2164] [TRACKING] DEBUG: No session tracking data exists for request: $VAR1 = { 'ccert_fingerprint' => '', 'sasl_method' => '', 'sasl_sender' => '', 'size' => '0', '_timestamp' => 1314640449, 'helo_name' => 'MatteoPC', 'reverse_client_name' => '178-20-75-2.ip.wimore.it', 'queue_id' => '', 'encryption_cipher' => '', 'encryption_protocol' => '', 'etrn_domain' => '', 'ccert_subject' => '', 'request' => 'smtpd_access_policy', 'protocol_state' => 'RCPT', 'stress' => '', '_peer_address' => '127.0.0.1', 'recipient' => '[email protected]', 'sasl_username' => '', 'instance' => '877.4e5bd241.46fb9.0', 'protocol_name' => 'ESMTP', 'encryption_keysize' => '0', 'recipient_count' => '0', 'ccert_issuer' => '', 'sender' => '[email protected]', 'client_name' => 'unknown', 'client_address' => '178.20.75.2', '_protocol_transport' => 'Postfix' }; [2011/08/29-19:54:09 - 2164] [TRACKING] DEBUG: Added session tracking information for: $VAR1 = { 'ccert_fingerprint' => '', 'sasl_method' => '', 'sasl_sender' => '', 'size' => '0', '_timestamp' => 1314640449, 'helo_name' => 'MatteoPC', 'reverse_client_name' => '178-20-75-2.ip.wimore.it', 'queue_id' => '', 'encryption_cipher' => '', 'encryption_protocol' => '', 'etrn_domain' => '', 'ccert_subject' => '', 'request' => 'smtpd_access_policy', 'protocol_state' => 'RCPT', 'stress' => '', '_peer_address' => '127.0.0.1', 'recipient' => '[email protected]', 'sasl_username' => '', 'instance' => '877.4e5bd241.46fb9.0', 'protocol_name' => 'ESMTP', 'encryption_keysize' => '0', 'recipient_count' => '0', 'ccert_issuer' => '', 'sender' => '[email protected]', 'client_name' => 'unknown', 'client_address' => '178.20.75.2', '_protocol_transport' => 'Postfix' }; [2011/08/29-19:54:09 - 2164] [TRACKING] DEBUG: Protocol state is 'RCPT', resolving policy... [2011/08/29-19:54:09 - 2164] [POLICIES] DEBUG: Going to resolve session data into policy: $VAR1 = { 'Recipient' => '[email protected]', 'SASLUsername' => '', 'QueueID' => '', '_PeerAddress' => bless( { 'raw_ip' => '127.0.0.1', 'ip' => '127.0.0.1', 'ip_version' => 4, 'cidr' => 32 }, 'awitpt::netip' ), 'RecipientData' => '', 'Instance' => '877.4e5bd241.46fb9.0', 'EncryptionCipher' => '', 'Size' => '0', 'EncryptionKeySize' => '0', 'PeerAddress' => '127.0.0.1', 'EncryptionProtocol' => '', 'Helo' => 'MatteoPC', 'ClientAddress' => '178.20.75.2', 'ClientName' => 'unknown', 'Sender' => '[email protected]', 'SASLSender' => '', '_ClientAddress' => bless( { 'raw_ip' => '178.20.75.2', 'ip' => '178.20.75.2', 'ip_version' => 4, 'cidr' => 32 }, 'awitpt::netip' ), 'Protocol' => 'ESMTP', 'ClientReverseName' => '178-20-75-2.ip.wimore.it', 'SASLMethod' => '' }; [2011/08/29-19:54:09 - 2164] [POLICIES] DEBUG: Found policy member with ID '6' in policy 'WiMORE-RELAY_OK' [2011/08/29-19:54:09 - 2164] [POLICIES] DEBUG: [ID:6/Name:WiMORE-RELAY_OK]: Main policy sources '178.20.75.0/24' [2011/08/29-19:54:09 - 2164] [POLICIES] DEBUG: [ID:6/Name:WiMORE-RELAY_OK]: - Resolved source '178.20.75.0/24' to a IP/CIDR specification, match = 1 [2011/08/29-19:54:09 - 2164] [POLICIES] INFO: [ID:6/Name:WiMORE-RELAY_OK]: Source matching result: matched=1 [2011/08/29-19:54:09 - 2164] [POLICIES] DEBUG: [ID:6/Name:WiMORE-RELAY_OK]: Main policy destinations '' [2011/08/29-19:54:09 - 2164] [POLICIES] INFO: [ID:6/Name:WiMORE-RELAY_OK]: Destination matching result: matched=0 [2011/08/29-19:54:09 - 2164] [TRACKING] DEBUG: Policy resolved into: $VAR1 = {}; [2011/08/29-19:54:09 - 2164] [TRACKING] DEBUG: Request translated into session data: $VAR1 = { 'Recipient' => '[email protected]', 'SASLUsername' => '', 'QueueID' => '', '_PeerAddress' => bless( { 'raw_ip' => '127.0.0.1', 'ip' => '127.0.0.1', 'ip_version' => 4, 'cidr' => 32 }, 'awitpt::netip' ), 'RecipientData' => '', 'Instance' => '877.4e5bd241.46fb9.0', 'EncryptionCipher' => '', 'Size' => '0', 'EncryptionKeySize' => '0', 'UnixTimestamp' => 1314640449, 'ProtocolTransport' => 'Postfix', 'PeerAddress' => '127.0.0.1', 'EncryptionProtocol' => '', 'Helo' => 'MatteoPC', 'ClientAddress' => '178.20.75.2', 'ClientName' => 'unknown', 'Sender' => '[email protected]', 'SASLSender' => '', '_ClientAddress' => bless( { 'raw_ip' => '178.20.75.2', 'ip' => '178.20.75.2', 'ip_version' => 4, 'ip_bin' => '10110010000101000100101100000010', 'cidr' => 32 }, 'awitpt::netip' ), 'ProtocolState' => 'RCPT', 'Policy' => {}, 'Protocol' => 'ESMTP', 'ClientReverseName' => '178-20-75-2.ip.wimore.it', 'SASLMethod' => '' }; [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Got request, running modules... [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Running module: Access Control Plugin [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Running module: HELO/EHLO Check Plugin [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Running module: Greylisting Plugin [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Running module: Quotas Plugin [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Running module: Accounting Plugin [2011/08/29-19:54:09 - 2164] [CBPOLICYD] DEBUG: Done with modules [2011/08/29-19:54:39 - 2162] [CORE] INFO: Killing "1" children [2011/08/29-19:54:39 - 2165] [CBPOLICYD] DEBUG: Shutting down caching engine (2165) > Date: Tue, 30 Aug 2011 08:49:32 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [policyd-users] Problem accounting policyd > > > I tried to uncomment the line with port but the results is the same. > > > > What is wrong?? > > By default the webui adds your accounting configuration as disabled, you > need to enable them. Have you already done this? Check your accounting > table for the disabled field. > _______________________________________________ > Users mailing list > [email protected] > http://lists.policyd.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
