I attatched the debug log file "plog.txt" , when each mail send from
localhost.

Kindly review it and give suggestions.

Thanks
Muzi


> Have you tried increasing the log verbosity and actually checking your
>>> logs?
>>>
>>> Attach your logfile and we'll take a look
>>>
>>> Jon
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [email protected]
>>> http://lists.policyd.org/mailman/listinfo/users
>>>
>>
>>
>
[2010/05/27-19:33:54 - 6125] [CORE] INFO: 2010/05/27-19:33:54 CONNECT TCP Peer: 
"127.0.0.1:44342" Local: "127.0.0.1:10031"                                      
                                        
[2010/05/27-19:33:54 - 6125] [PROTOCOLS/Postfix] DEBUG: Possible Postfix 
protocol                   
[2010/05/27-19:33:54 - 6125] [PROTOCOLS/Postfix] INFO: Identified Postfix 
protocol                  
[2010/05/27-19:33:54 - 6123] [CORE] INFO: Starting "1" children                 
                    
[2010/05/27-19:33:54 - 6125] [TRACKING] DEBUG: No session tracking data exists 
for request: $VAR1 = {                                                          
                                         
          'ccert_fingerprint' => '',                                            
                    
          'sasl_method' => '',                                                  
                    
          'sasl_sender' => '',                                                  
                    
          'size' => '224',                                                      
                    
          '_timestamp' => 1274988834,                                           
                    
          'helo_name' => 'mydomain.com',                                        
                 
          'reverse_client_name' => 'localhost.localdomain',                     
                    
          'queue_id' => '',                                                     
                    
          'encryption_cipher' => '',                                            
                    
          'encryption_protocol' => '',                                          
                    
          'etrn_domain' => '',                                                  
                    
          'ccert_subject' => '',                                                
                    
          'request' => 'smtpd_access_policy',                                   
                    
          'protocol_state' => 'RCPT',                                           
                    
          'stress' => '',                                                       
                    
          'recipient' => '[email protected]',                                      
    
          'sasl_username' => '',                                                
                    
          'instance' => '1f04.4bfec922.5e7d9.0',                                
                    
          'protocol_name' => 'ESMTP',                                           
                    
          'encryption_keysize' => '0',                                          
                    
          'recipient_count' => '0',                                             
                    
          'ccert_issuer' => '',                                                 
                    
          'sender' => '[email protected]',                                      
                 
          'client_name' => 'localhost.localdomain',                             
                    
          'client_address' => '127.0.0.1',                                      
                    
          '_protocol_transport' => 'Postfix'                                    
                    
        };                                                                      
                    
[2010/05/27-19:33:54 - 6125] [TRACKING] DEBUG: Added session tracking 
information for: $VAR1 = {    
          'ccert_fingerprint' => '',                                            
                    
          'sasl_method' => '',                                                  
                    
          'sasl_sender' => '',                                                  
                    
          'size' => '224',                                                      
                    
          '_timestamp' => 1274988834,                                           
                    
          'helo_name' => 'mydomain.com',                                        
                 
          'reverse_client_name' => 'localhost.localdomain',                     
                    
          'queue_id' => '',                                                     
                    
          'encryption_cipher' => '',                                            
                    
          'encryption_protocol' => '',                                          
                    
          'etrn_domain' => '',                                                  
                    
          'ccert_subject' => '',                                                
                    
          'request' => 'smtpd_access_policy',                                   
                    
          'protocol_state' => 'RCPT',                                           
                    
          'stress' => '',                                                       
                    
          'recipient' => '[email protected]',                                      
    
          'sasl_username' => '',                                                
                    
          'instance' => '1f04.4bfec922.5e7d9.0',                                
                    
          'protocol_name' => 'ESMTP',                                           
                    
          'encryption_keysize' => '0',                                          
                    
          'recipient_count' => '0',                                             
                    
          'ccert_issuer' => '',                                                 
                    
          'sender' => '[email protected]',                                      
                 
          'client_name' => 'localhost.localdomain',                             
                    
          'client_address' => '127.0.0.1',                                      
                    
          '_protocol_transport' => 'Postfix'                                    
                    
        };                                                                      
                    
[2010/05/27-19:33:54 - 7943] [CORE] DEBUG: Child Preforked (7943)               
                    
[2010/05/27-19:33:54 - 6125] [TRACKING] DEBUG: Protocol state is 'RCPT', 
resolving policy...        
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: Going to resolve session data 
into policy: $VAR1 = { 
          'Recipient' => '[email protected]',                                      
    
          'SASLUsername' => '',                                                 
                    
          'QueueID' => '',                                                      
                    
          'RecipientData' => '',                                                
                    
          'Instance' => '1f04.4bfec922.5e7d9.0',                                
                    
          'EncryptionCipher' => '',                                             
                    
          'Size' => '224',                                                      
                    
          'EncryptionKeySize' => '0',                                           
                    
          'EncryptionProtocol' => '',                                           
                    
          'Helo' => 'mydomain.com',                                             
                 
          'ClientAddress' => '127.0.0.1',                                       
                    
          'ClientName' => 'localhost.localdomain',                              
                    
          'Sender' => '[email protected]',                                      
                 
          'SASLSender' => '',                                                   
                    
          'Protocol' => 'ESMTP',                                                
                    
          'ClientReverseName' => 'localhost.localdomain',                       
                    
          'SASLMethod' => ''                                                    
                    
        };                                                                      
                    
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: Found policy member with ID '1' 
in policy 'Default'  
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: Found policy member with ID '2' 
in policy 'Default Outbound'                                                    
                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: Found policy member with ID '3' 
in policy 'Default Inbound'                                                     
                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: Found policy member with ID '4' 
in policy 'Default Internal'                                                    
                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: Found policy member with ID '5' 
in policy 'Test'     
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:1/Name:Default]: Source not 
defined or 'any', explicit match: matched=1                                     
                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:1/Name:Default]: Source 
matching result: matched=1
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:1/Name:Default]: Destination 
not defined or 'any', explicit match: matched=1                                 
                                        
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:1/Name:Default]: Destination 
matching result: matched=1                                                      
                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
Main policy sources '%internal_ips,%internal_domains'                           
                                           
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
Group 'internal_ips' has 1 source(s) => 127.0.0.1/32                            
                                           
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_ips): - Resolved source '127.0.0.1/32' to a IP/CIDR 
specification, match = 1                               
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_ips): Source group result: matched=1                 
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
Group 'internal_domains' has 5 source(s) => 
@example.org,@example.com,localhost,mydomain.com,localhost.localdomain      
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Resolved source '@example.org' to a 
email address specification, match = 0                     
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Resolved source '@example.com' to a 
email address specification, match = 0                     
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Source 'localhost' is not a valid 
specification                                              
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Resolved source 'mydomain.com' to a 
reverse dns specification, match = 0                    
[2010/05/27-19:33:54 - 7943] [CBPOLICYD] DEBUG: Starting up caching engine      
                    
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Resolved source 'localhost.localdomain' 
to a reverse dns specification, match = 1              
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): Source group result: matched=1             
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:2/Name:Default Outbound]: 
Source matching result: matched=1                                               
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
Main policy destinations '!%internal_domains'                                   
                                           
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
Group 'internal_domains' has 5 destination(s) => 
@example.org,@example.com,localhost,mydomain.com,localhost.localdomain 
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Resolved destination '@example.org' to a 
email address specification, match = 0                
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Resolved destination '@example.com' to a 
email address specification, match = 0                
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Destination 'localhost' is not a valid 
specification                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Destination 'mydomain.com' is not a 
valid specification                                   
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): - Destination 'localhost.localdomain' is 
not a valid specification                             
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:2/Name:Default 
Outbound]=>(group:internal_domains): Destination group result: matched=0        
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:2/Name:Default Outbound]: 
Destination matching result: matched=1                                          
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: 
Main policy sources '!%internal_ips,!%internal_domains'                         
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:3/Name:Default Inbound]: 
Group 'internal_ips' has 1 source(s) => 127.0.0.1/32                            
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:3/Name:Default 
Inbound]=>(group:internal_ips): - Resolved source '127.0.0.1/32' to a IP/CIDR 
specification, match = 1                                
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:3/Name:Default 
Inbound]=>(group:internal_ips): Source group result: matched=1                  
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:3/Name:Default Inbound]: 
Source matching result: matched=0                                               
                                             
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: 
Main policy sources '%internal_ips,%internal_domains'                           
                                           
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: 
Group 'internal_ips' has 1 source(s) => 127.0.0.1/32                            
                                           
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_ips): - Resolved source '127.0.0.1/32' to a IP/CIDR 
specification, match = 1                               
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_ips): Source group result: matched=1                 
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: 
Group 'internal_domains' has 5 source(s) => 
@example.org,@example.com,localhost,mydomain.com,localhost.localdomain      
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Resolved source '@example.org' to a 
email address specification, match = 0                     
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Resolved source '@example.com' to a 
email address specification, match = 0                     
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Source 'localhost' is not a valid 
specification                                              
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Resolved source 'mydomain.com' to a 
reverse dns specification, match = 0                    
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Resolved source 'localhost.localdomain' 
to a reverse dns specification, match = 1              
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): Source group result: matched=1             
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:4/Name:Default Internal]: 
Source matching result: matched=1                                               
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: 
Main policy destinations '%internal_domains'                                    
                                           
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default Internal]: 
Group 'internal_domains' has 5 destination(s) => 
@example.org,@example.com,localhost,mydomain.com,localhost.localdomain 
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Resolved destination '@example.org' to a 
email address specification, match = 0                
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Resolved destination '@example.com' to a 
email address specification, match = 0                
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Destination 'localhost' is not a valid 
specification                                         
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Destination 'mydomain.com' is not a 
valid specification                                   
[2010/05/27-19:33:54 - 6125] [POLICIES] WARNING: [ID:4/Name:Default 
Internal]=>(group:internal_domains): - Destination 'localhost.localdomain' is 
not a valid specification                             
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:4/Name:Default 
Internal]=>(group:internal_domains): Destination group result: matched=0        
                                                      
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:4/Name:Default Internal]: 
Destination matching result: matched=0                                          
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:5/Name:Test]: Main policy 
sources '@example.net' 
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: [ID:5/Name:Test]: - Resolved 
source '@example.net' to a email address specification, match = 0               
                                            
[2010/05/27-19:33:54 - 6125] [POLICIES] INFO: [ID:5/Name:Test]: Source matching 
result: matched=0   
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: END RESULT: prio=0 => policy 
ids: 1                  
[2010/05/27-19:33:54 - 6125] [POLICIES] DEBUG: END RESULT: prio=10 => policy 
ids: 2                 
[2010/05/27-19:33:54 - 6125] [TRACKING] DEBUG: Policy resolved into: $VAR1 = {  
                    
          '0' => [                                                              
                    
                   '1'                                                          
                    
                 ],                                                             
                    
          '10' => [                                                             
                    
                    '2'                                                         
                    
                  ]                                                             
                    
        };                                                                      
                    
[2010/05/27-19:33:54 - 6125] [TRACKING] DEBUG: Request translated into session 
data: $VAR1 = {      
          'Recipient' => '[email protected]',                                      
    
          'SASLUsername' => '',                                                 
                    
          'QueueID' => '',                                                      
                    
          'RecipientData' => '',                                                
                    
          'Instance' => '1f04.4bfec922.5e7d9.0',                                
                    
          'EncryptionCipher' => '',                                             
                    
          'Size' => '224',                                                      
                    
          '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' => 'mydomain.com',                                             
                 
          'ClientAddress' => '127.0.0.1',                                       
                    
          'ClientName' => 'localhost.localdomain',                              
                    
          'Sender' => '[email protected]',                                      
                 
          'SASLSender' => '',                                                   
                    
          'Timestamp' => 1274988834,                                            
                    
          'ProtocolState' => 'RCPT',                                            
                    
          'Policy' => {                                                         
                    
                        '0' => [                                                
                    
                                 '1'                                            
                    
                               ],                                               
                    
                        '10' => [                                               
                    
                                  '2'                                           
                    
                                ]                                               
                    
                      },                                                        
                    
          'Protocol' => 'ESMTP',                                                
                    
          'ClientReverseName' => 'localhost.localdomain',                       
                    
          'SASLMethod' => ''                                                    
                    
        };                                                                      
                    
[2010/05/27-19:33:54 - 6125] [CBPOLICYD] DEBUG: Got request, running modules... 
                    
[2010/05/27-19:33:54 - 6125] [CBPOLICYD] DEBUG: Running module: Quotas Plugin   
                    
[2010/05/27-19:33:54 - 6125] [CBPOLICYD] DEBUG: Done with modules               
                    
[2010/05/27-19:33:55 - 6126] [CORE] INFO: 2010/05/27-19:33:55 CONNECT TCP Peer: 
"127.0.0.1:44343" Local: "127.0.0.1:10031"                                      
                                        
[2010/05/27-19:33:55 - 6126] [PROTOCOLS/Postfix] DEBUG: Possible Postfix 
protocol                   
[2010/05/27-19:33:55 - 6126] [PROTOCOLS/Postfix] INFO: Identified Postfix 
protocol                  
[2010/05/27-19:33:55 - 6126] [TRACKING] DEBUG: Protocol state is 
'END-OF-MESSAGE', decoding policy...                                            
                                                       
[2010/05/27-19:33:55 - 6126] [TRACKING] DEBUG: Decoded into: $VAR1 = {          
                    
          '[email protected]' => {                                                 
    
                                                '0' => [                        
                    
                                                         '1'                    
                    
                                                       ],                       
                    
                                                '10' => [                       
                    
                                                          '2'                   
                    
                                                        ]                       
                    
                                              }                                 
                    
        };                                                                      
                    
[2010/05/27-19:33:55 - 6126] [TRACKING] DEBUG: Request translated into session 
data: $VAR1 = {      
          'SASLUsername' => '',                                                 
                    
          'QueueID' => '703C34C2B7',                                            
                    
          'RecipientData' => '/<[email protected]>#0=1;10=2;',                     
    
          'EncryptionCipher' => '',                                             
                    
          'Instance' => '1f04.4bfec922.5e7d9.0',                                
                    
          'Size' => '490',                                                      
                    
          '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' => 'mydomain.com',
          'ClientAddress' => '127.0.0.1',
          'ClientName' => 'localhost.localdomain',
          'Sender' => '[email protected]',
          'SASLSender' => '',
          'Timestamp' => 1274988835,
          'ProtocolState' => 'END-OF-MESSAGE',
          '_Recipient_To_Policy' => {
                                      '[email protected]' => {
                                                                            '0' 
=> [
                                                                                
     '1'
                                                                                
   ],
                                                                            
'10' => [
                                                                                
      '2'
                                                                                
    ]
                                                                          }
                                    },
          'Protocol' => 'ESMTP',
          'ClientReverseName' => 'localhost.localdomain',
          'SASLMethod' => ''
        };
[2010/05/27-19:33:55 - 6126] [CBPOLICYD] DEBUG: Got request, running modules...
[2010/05/27-19:33:55 - 6126] [CBPOLICYD] DEBUG: Running module: Quotas Plugin
[2010/05/27-19:33:55 - 6126] [CBPOLICYD] DEBUG: Done with modules

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

Reply via email to