Hi,

I am trying to get cluebringer to work in CentOS 7 64bit and postfix 2.11 but failed.

cluebringer 2.0.14 is working great on CentOS 6 64bit with postfix 2.11

Followed the setting on CentOS 6 to CentOS 7 but does not work.

Here is what is done on postfix main.cf

------------ main.cf ---------------

smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031

smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031,
                               permit_mynetworks,
                               permit_sasl_authenticated,
check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf
                               reject_unauth_destination


------------- end ------------------

The session table is not updated and the quota module does not seem to work. quota tracker table is also not updated.

Here is the debug log and there is no error.

---------------- debug log -----------------
[2016/05/01-14:58:58 - 15276] [CBPOLICYD] DEBUG: Shutting down caching engine (15276)
[2016/05/01-15:09:59 - 14967] [CORE] INFO: Starting "1" children
[2016/05/01-15:09:59 - 15462] [CORE] INFO: 2016/05/01-15:09:59 CONNECT TCP Peer: "[127.0.0.1]:56746" Local: "[127.0.0.1]:10031" [2016/05/01-15:09:59 - 15462] [PROTOCOLS/Postfix] DEBUG: Possible Postfix protocol [2016/05/01-15:09:59 - 15462] [PROTOCOLS/Postfix] INFO: Identified Postfix protocol
[2016/05/01-15:09:59 - 16255] [CORE] DEBUG: Child Preforked (16255)
[2016/05/01-15:09:59 - 16255] [CBPOLICYD] DEBUG: Starting up caching engine
[2016/05/01-15:09:59 - 15462] [TRACKING] DEBUG: No session tracking data exists for request: $VAR1 = {
          'ccert_fingerprint' => '',
          'sasl_method' => 'PLAIN',
          'sasl_sender' => '',
          'size' => 1012,
          '_timestamp' => 1462086599,
          'helo_name' => 'localhost.localdomain',
          'reverse_client_name' => 'unknown',
          'queue_id' => 'EF22834806CB',
          'encryption_cipher' => 'ECDHE-RSA-AES128-GCM-SHA256',
          'encryption_protocol' => 'TLSv1.2',
          'etrn_domain' => '',
          'ccert_subject' => '',
          'request' => 'smtpd_access_policy',
          'protocol_state' => 'END-OF-MESSAGE',
          'stress' => '',
          'sasl_username' => '[email protected]',
          'recipient' => 'anthony@example_external_domain.com.sg',
          'ccert_pubkey_fingerprint' => '',
          'instance' => '3f70.5725abc7.ed460.0',
          'protocol_name' => 'ESMTP',
          'encryption_keysize' => '128',
          'recipient_count' => '1',
          'ccert_issuer' => '',
          'sender' => '[email protected]',
          'client_name' => 'unknown',
          'client_address' => '10.29.29.10',
          '_protocol_transport' => 'Postfix'
        };
[2016/05/01-15:09:59 - 15462] [TRACKING] DEBUG: Protocol state is 'END-OF-MESSAGE', decoding policy...
[2016/05/01-15:09:59 - 15462] [TRACKING] DEBUG: Decoded into: $VAR1 = {};
[2016/05/01-15:09:59 - 15462] [TRACKING] DEBUG: Request translated into session data: $VAR1 = {
          'SASLUsername' => '[email protected]',
          'QueueID' => 'EF22834806CB',
          'RecipientData' => '',
          'Instance' => '3f70.5725abc7.ed460.0',
          'EncryptionCipher' => 'ECDHE-RSA-AES128-GCM-SHA256',
          'Size' => '1',
          'EncryptionKeySize' => '128',
          'ParsedClientAddress' => {
                                     'Broadcast_Long' => 169680138,
                                     'Network' => '10.29.29.10',
                                     'IP_Long' => 169680138,
                                     'Broadcast' => '10.29.29.10',
                                     'IP' => '10.29.29.10',
                                     'Mask_Long' => 4294967295,
                                     'Network_Long' => 169680138
                                   },
          'ProtocolTransport' => 'Postfix',
          'EncryptionProtocol' => 'TLSv1.2',
          'Helo' => 'localhost.localdomain',
          'ClientAddress' => '10.29.29.10',
          'ClientName' => 'unknown',
          'Sender' => '[email protected]',
          'SASLSender' => '',
          'Timestamp' => 1462086599,
          'ProtocolState' => 'END-OF-MESSAGE',
          '_Recipient_To_Policy' => {},
          'Protocol' => 'ESMTP',
          'ClientReverseName' => 'unknown',
          'SASLMethod' => 'PLAIN'
        };
[2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Got request, running modules...
[2016/05/01-15:09:59 - 15462] [CBPOLICYD] INFO: Got request #1
[2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Running module: Access Control Plugin [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Module 'Access Control Plugin' returned CBP_SKIP [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Running module: HELO/EHLO Check Plugin [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Module 'HELO/EHLO Check Plugin' returned CBP_SKIP [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Module 'SPF Check Plugin' returned CBP_SKIP [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Running module: Greylisting Plugin [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Module 'Greylisting Plugin' returned CBP_SKIP [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Running module: Quotas Plugin [2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Module 'Quotas Plugin' returned CBP_CONTINUE
[2016/05/01-15:09:59 - 15462] [CBPOLICYD] DEBUG: Done with modules
[2016/05/01-15:10:00 - 14967] [CORE] INFO: Starting "1" children
[2016/05/01-15:10:00 - 14972] [CORE] INFO: 2016/05/01-15:10:00 CONNECT TCP Peer: "[127.0.0.1]:56752" Local: "[127.0.0.1]:10031" [2016/05/01-15:10:00 - 14972] [PROTOCOLS/Postfix] DEBUG: Possible Postfix protocol [2016/05/01-15:10:00 - 14972] [PROTOCOLS/Postfix] INFO: Identified Postfix protocol
[2016/05/01-15:10:00 - 16264] [CORE] DEBUG: Child Preforked (16264)
[2016/05/01-15:10:00 - 16264] [CBPOLICYD] DEBUG: Starting up caching engine
[2016/05/01-15:10:00 - 14972] [TRACKING] DEBUG: No session tracking data exists for request: $VAR1 = {
          'ccert_fingerprint' => '',
          'sasl_method' => '',
          'sasl_sender' => '',
          'size' => 1516,
          '_timestamp' => 1462086600,
          'helo_name' => 'localhost',
          'reverse_client_name' => 'unknown',
          'queue_id' => 'CC48034806CC',
          'encryption_cipher' => '',
          'encryption_protocol' => '',
          'etrn_domain' => '',
          'ccert_subject' => '',
          'request' => 'smtpd_access_policy',
          'protocol_state' => 'END-OF-MESSAGE',
          'stress' => '',
          'sasl_username' => '',
          'recipient' => 'anthony@example_external_domain.com.sg',
          'ccert_pubkey_fingerprint' => '',
          'instance' => '3f85.5725abc8.cbf93.0',
          'protocol_name' => 'ESMTP',
          'encryption_keysize' => '0',
          'recipient_count' => '1',
          'ccert_issuer' => '',
          'sender' => '[email protected]',
          'client_name' => 'unknown',
          'client_address' => '127.0.0.1',
          '_protocol_transport' => 'Postfix'
        };
[2016/05/01-15:10:00 - 14972] [TRACKING] DEBUG: Protocol state is 'END-OF-MESSAGE', decoding policy...
[2016/05/01-15:10:00 - 14972] [TRACKING] DEBUG: Decoded into: $VAR1 = {};
[2016/05/01-15:10:00 - 14972] [TRACKING] DEBUG: Request translated into session data: $VAR1 = {
          'SASLUsername' => '',
          'QueueID' => 'CC48034806CC',
          'RecipientData' => '',
          'Instance' => '3f85.5725abc8.cbf93.0',
          'EncryptionCipher' => '',
          'Size' => '2',
          'EncryptionKeySize' => '0',
          'ParsedClientAddress' => {
                                     'Broadcast_Long' => 2130706433,
                                     'Network' => '127.0.0.1',
                                     'IP_Long' => 2130706433,
                                     'Broadcast' => '127.0.0.1',
                                     'IP' => '127.0.0.1',
                                     'Mask_Long' => 4294967295,
                                     'Network_Long' => 2130706433
                                   },
          'ProtocolTransport' => 'Postfix',
          'EncryptionProtocol' => '',
          'Helo' => 'localhost',
          'ClientAddress' => '127.0.0.1',
          'ClientName' => 'unknown',
          'Sender' => '[email protected]',
          'SASLSender' => '',
          'Timestamp' => 1462086600,
          'ProtocolState' => 'END-OF-MESSAGE',
          '_Recipient_To_Policy' => {},
          'Protocol' => 'ESMTP',
          'ClientReverseName' => 'unknown',
          'SASLMethod' => ''
        };
[2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Got request, running modules...
[2016/05/01-15:10:00 - 14972] [CBPOLICYD] INFO: Got request #1
[2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Running module: Access Control Plugin [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Module 'Access Control Plugin' returned CBP_SKIP [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Running module: HELO/EHLO Check Plugin [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Module 'HELO/EHLO Check Plugin' returned CBP_SKIP [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Module 'SPF Check Plugin' returned CBP_SKIP [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Running module: Greylisting Plugin [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Module 'Greylisting Plugin' returned CBP_SKIP [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Running module: Quotas Plugin [2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Module 'Quotas Plugin' returned CBP_CONTINUE
[2016/05/01-15:10:00 - 14972] [CBPOLICYD] DEBUG: Done with modules
[2016/05/01-15:11:40 - 15462] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:56746, Local: 127.0.0.1:10031
[2016/05/01-15:11:40 - 14967] [CORE] INFO: Killing "1" children
[2016/05/01-15:11:40 - 15035] [CBPOLICYD] DEBUG: Shutting down caching engine (15035) [2016/05/01-15:11:40 - 14972] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:56752, Local: 127.0.0.1:10031
[2016/05/01-15:11:50 - 14967] [CORE] INFO: Killing "1" children
[2016/05/01-15:11:50 - 14972] [CBPOLICYD] DEBUG: Shutting down caching engine (14972)
------------------ end ---------------------

There is no mention of cbpolicy in /var/log/maillog too.

What have I missed out? Is there some setting that I missed out?

--
P.V.Anthony

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

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

Reply via email to