Now Cluebringer seems to be able to connect to the database... but it's still not tracking the quota.
Could it have anything to do with the fact that the rules were added after the vmail database was imported? When I check the rest of the tables I can't find any reference to the domains configured... while on the previous server there were records per domain. All tables with groups and members in the names are empty... maybe because the users were imported instead of added.
The log file:
[2015/05/18-15:19:53 - 2630] [CORE] INFO: 2015/05/18-15:19:53 CONNECT TCP Peer: "[127.0.0.1]:47841" Local: "[127.0.0.1]:10031"
[2015/05/18-15:19:53 - 1121] [CORE] INFO: Starting "1" children
[2015/05/18-15:19:53 - 2735] [CORE] DEBUG: Child Preforked (2735)
[2015/05/18-15:19:53 - 2735] [CBPOLICYD] DEBUG: Starting up caching engine
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: No session tracking data exists for request: $VAR1 = {
'ccert_fingerprint' => '',
'sasl_method' => 'LOGIN',
'sasl_sender' => '',
'size' => 0,
'_timestamp' => 1431958793,
'helo_name' => '_',
'reverse_client_name' => 'email',
'queue_id' => '',
'encryption_cipher' => 'ECDHE-RSA-AES256-SHA',
'encryption_protocol' => 'TLSv1',
'etrn_domain' => '',
'ccert_subject' => '',
'request' => 'smtpd_access_policy',
'protocol_state' => 'RCPT',
'stress' => '',
'sasl_username' => 'xxxxxx@xxxxxx.es',
'recipient' => 'xxxxxx@xxxxxx.be',
'ccert_pubkey_fingerprint' => '',
'instance' => 'aaa.5559f509.4a694.0',
'protocol_name' => 'ESMTP',
'encryption_keysize' => '256',
'recipient_count' => '0',
'ccert_issuer' => '',
'sender' => 'xxxxxx@xxxxxx.es',
'client_name' => 'email',
'client_address' => '127.0.0.1',
'_protocol_transport' => 'Postfix'
};
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Added session tracking information for: $VAR1 = {
'ccert_fingerprint' => '',
'sasl_method' => 'LOGIN',
'sasl_sender' => '',
'size' => 0,
'_timestamp' => 1431958793,
'helo_name' => '_',
'reverse_client_name' => 'email',
'queue_id' => '',
'encryption_cipher' => 'ECDHE-RSA-AES256-SHA',
'encryption_protocol' => 'TLSv1',
'etrn_domain' => '',
'ccert_subject' => '',
'request' => 'smtpd_access_policy',
'protocol_state' => 'RCPT',
'stress' => '',
'sasl_username' => 'xxxxxx@xxxxxx.es',
'recipient' => 'xxxxxx@xxxxxx.be',
'ccert_pubkey_fingerprint' => '',
'instance' => 'aaa.5559f509.4a694.0',
'protocol_name' => 'ESMTP',
'encryption_keysize' => '256',
'recipient_count' => '0',
'ccert_issuer' => '',
'sender' => 'xxxxxx@xxxxxx.es',
'client_name' => 'email',
'client_address' => '127.0.0.1',
'_protocol_transport' => 'Postfix'
};
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Protocol state is 'RCPT', resolving policy...
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Going to resolve session data into policy: $VAR1 = {
'Recipient' => 'xxxxxx@xxxxxx.be',
'SASLUsername' => 'xxxxxx@xxxxxx.es',
'QueueID' => '',
'RecipientData' => '',
'Instance' => 'aaa.5559f509.4a694.0',
'EncryptionCipher' => 'ECDHE-RSA-AES256-SHA',
'Size' => '0',
'EncryptionKeySize' => '256',
'EncryptionProtocol' => 'TLSv1',
'Helo' => '_',
'ClientAddress' => '127.0.0.1',
'ClientName' => 'email',
'Sender' => 'xxxxxx@xxxxxx.es',
'SASLSender' => '',
'Protocol' => 'ESMTP',
'ClientReverseName' => 'email',
'SASLMethod' => 'LOGIN'
};
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '2' in policy 'Default Outbound'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '3' in policy 'Default Inbound'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '4' in policy 'Default Internal'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '6' in policy 'whitelists'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '7' in policy 'blacklists'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '8' in policy 'no_greylisting'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: Found policy member with ID '9' in policy 'no_greylisting'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: Main policy sources '%internal_domains'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: Group 'internal_domains' has 1 source(s) => @yyyyyyyyy.com
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]=>(group:internal_domains): - Resolved source '@yyyyyyyyy.com' to a email address specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]=>(group:internal_domains): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:2/Name:Default Outbound]: Source matching result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: Main policy sources '!%internal_ips,!%internal_domains'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: Group 'internal_ips' has 1 source(s) => 10.0.0.0/8
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]=>(group:internal_ips): - Resolved source '10.0.0.0/8' to a IP/CIDR specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]=>(group:internal_ips): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: Group 'internal_domains' has 1 source(s) => @yyyyyyyyy.com
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]=>(group:internal_domains): - Resolved source '@yyyyyyyyy.com' to a email address specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]=>(group:internal_domains): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:3/Name:Default Inbound]: Source matching result: matched=1
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: Main policy destinations '%internal_domains'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: Group 'internal_domains' has 1 destination(s) => @yyyyyyyyy.com
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]=>(group:internal_domains): - Resolved destination '@yyyyyyyyy.com' to a email address specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]=>(group:internal_domains): Destination group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:3/Name:Default Inbound]: Destination matching result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: Main policy sources '%internal_ips,%internal_domains'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: Group 'internal_ips' has 1 source(s) => 10.0.0.0/8
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:4/Name:Default Internal]=>(group:internal_ips): - Resolved source '10.0.0.0/8' to a IP/CIDR specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:4/Name:Default Internal]=>(group:internal_ips): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:4/Name:Default Internal]: Source matching result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:6/Name:whitelists]: Main policy sources '%whitelists'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:6/Name:whitelists]: Group 'whitelists' has 0 source(s) =>
[2015/05/18-15:19:53 - 2630] [POLICIES] WARNING: [ID:6/Name:whitelists]: No group members for source group 'whitelists'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:6/Name:whitelists]=>(group:whitelists): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:6/Name:whitelists]: Source matching result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:7/Name:blacklists]: Main policy sources '%blacklists'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:7/Name:blacklists]: Group 'blacklists' has 0 source(s) =>
[2015/05/18-15:19:53 - 2630] [POLICIES] WARNING: [ID:7/Name:blacklists]: No group members for source group 'blacklists'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:7/Name:blacklists]=>(group:blacklists): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:7/Name:blacklists]: Source matching result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]: Main policy sources '!%internal_ips,!%internal_domains'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]: Group 'internal_ips' has 1 source(s) => 10.0.0.0/8
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]=>(group:internal_ips): - Resolved source '10.0.0.0/8' to a IP/CIDR specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]=>(group:internal_ips): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]: Group 'internal_domains' has 1 source(s) => @yyyyyyyyy.com
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]=>(group:internal_domains): - Resolved source '@yyyyyyyyy.com' to a email address specification, match = 0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]=>(group:internal_domains): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:8/Name:no_greylisting]: Source matching result: matched=1
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]: Main policy destinations '%no_greylisting_for_internal'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]: Group 'no_greylisting_for_internal' has 0 destination(s) =>
[2015/05/18-15:19:53 - 2630] [POLICIES] WARNING: [ID:8/Name:no_greylisting]: No group members for destination group 'no_greylisting_for_internal'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:8/Name:no_greylisting]=>(group:no_greylisting_for_internal): Destination group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:8/Name:no_greylisting]: Destination matching result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:9/Name:no_greylisting]: Main policy sources '%no_greylisting_for_external'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:9/Name:no_greylisting]: Group 'no_greylisting_for_external' has 0 source(s) =>
[2015/05/18-15:19:53 - 2630] [POLICIES] WARNING: [ID:9/Name:no_greylisting]: No group members for source group 'no_greylisting_for_external'
[2015/05/18-15:19:53 - 2630] [POLICIES] DEBUG: [ID:9/Name:no_greylisting]=>(group:no_greylisting_for_external): Source group result: matched=0
[2015/05/18-15:19:53 - 2630] [POLICIES] INFO: [ID:9/Name:no_greylisting]: Source matching result: matched=0
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Policy resolved into: $VAR1 = {};
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Request translated into session data: $VAR1 = {
'Recipient' => 'xxxxxx@xxxxxx.be',
'SASLUsername' => 'xxxxxx@xxxxxx.es',
'QueueID' => '',
'RecipientData' => '',
'Instance' => 'aaa.5559f509.4a694.0',
'EncryptionCipher' => 'ECDHE-RSA-AES256-SHA',
'Size' => '0',
'EncryptionKeySize' => '256',
'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' => 'TLSv1',
'Helo' => '_',
'ClientAddress' => '127.0.0.1',
'ClientName' => 'email',
'Sender' => 'xxxxxx@xxxxxx.es',
'SASLSender' => '',
'Timestamp' => 1431958793,
'ProtocolState' => 'RCPT',
'Policy' => {},
'Protocol' => 'ESMTP',
'ClientReverseName' => 'email',
'SASLMethod' => 'LOGIN'
};
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Got request, running modules...
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] INFO: Got request #1
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: Access Control Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'Access Control Plugin' returned CBP_CONTINUE
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: HELO/EHLO Check Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'HELO/EHLO Check Plugin' returned CBP_CONTINUE
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'SPF Check Plugin' returned CBP_CONTINUE
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: Greylisting Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'Greylisting Plugin' returned CBP_CONTINUE
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: Quotas Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'Quotas Plugin' returned CBP_CONTINUE
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Done with modules
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Protocol state is 'END-OF-MESSAGE', decoding policy...
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Decoded into: $VAR1 = {};
[2015/05/18-15:19:53 - 2630] [TRACKING] DEBUG: Request translated into session data: $VAR1 = {
'SASLUsername' => 'xxxxxx@xxxxxx.es',
'QueueID' => '6181D3FDF9',
'RecipientData' => '/<xxxxxx@xxxxxx.be>#',
'EncryptionCipher' => 'ECDHE-RSA-AES256-SHA',
'Instance' => 'aaa.5559f509.4a694.0',
'Size' => '1',
'EncryptionKeySize' => '256',
'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' => 'TLSv1',
'Helo' => '_',
'ClientAddress' => '127.0.0.1',
'ClientName' => 'email',
'Sender' => 'xxxxxx@xxxxxx.es',
'SASLSender' => '',
'Timestamp' => 1431958793,
'ProtocolState' => 'END-OF-MESSAGE',
'_Recipient_To_Policy' => {},
'Protocol' => 'ESMTP',
'ClientReverseName' => 'email',
'SASLMethod' => 'LOGIN'
};
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Got request, running modules...
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] INFO: Got request #2 (pipelined)
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: Access Control Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'Access Control Plugin' returned CBP_SKIP
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: HELO/EHLO Check Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'HELO/EHLO Check Plugin' returned CBP_SKIP
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'SPF Check Plugin' returned CBP_SKIP
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: Greylisting Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'Greylisting Plugin' returned CBP_SKIP
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Running module: Quotas Plugin
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Module 'Quotas Plugin' returned CBP_CONTINUE
[2015/05/18-15:19:53 - 2630] [CBPOLICYD] DEBUG: Done with modules
[2015/05/18-15:21:33 - 2630] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:47841, Local: 127.0.0.1:10031
[2015/05/18-15:21:33 - 1121] [CORE] INFO: Killing "1" children
[2015/05/18-15:21:33 - 2630] [CBPOLICYD] DEBUG: Shutting down caching engine (2630)