Hello everyone, I have been working with policyd on Centos 5 with PLesk
without problems, but we decided to migrate this infraestructure to a new
server , with the same OS and Control panel but more powerful.

I have installed the same version that I have running on the old server but
now when I activate policyd on the new server I'm starting to get errors
like this

451 4.3.5 Server configuration problem

on log of policyd i'm getting this
[2013/02/06-15:50:34 - 8991] [CORE] INFO: Starting "1" children
[2013/02/06-15:50:34 - 8996] [PROTOCOLS/Postfix] DEBUG: Possible Postfix
protocol
[2013/02/06-15:50:34 - 8996] [PROTOCOLS/Postfix] INFO: Identified Postfix
protocol
[2013/02/06-15:50:34 - 9132] [CORE] DEBUG: Child Preforked (9132)
[2013/02/06-15:50:34 - 8996] [TRACKING] DEBUG: Protocol state is 'RCPT',
resolving policy...
[2013/02/06-15:50:34 - 9132] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Going to resolve session
data into policy: $VAR1 = {
          'Recipient' => '[email protected]',
          'SASLUsername' => '',
          'QueueID' => '',
          'RecipientData' => undef,
          'EncryptionCipher' => 'DHE-RSA-AES256-SHA',
          'Instance' => '239f.5112a5f7.db36f.0',
          'Size' => '1456',
          'EncryptionKeySize' => '256',
          'UnixTimestamp' => '1360176632',
          'EncryptionProtocol' => 'TLSv1',
          'Helo' => 'mail.xxxx.com',
          'ClientAddress' => '200.42.89.58',
          'ClientName' => 'mail.xxxx.com',
          'Sender' => '[email protected]',
          'SASLSender' => '',
          '_ClientAddress' => bless( {
                                       'raw_ip' => '200.42.89.58',
                                       'ip' => '200.42.89.58',
                                       'ip_version' => 4,
                                       'cidr' => 32
                                     }, 'awitpt::netip' ),
          'Protocol' => 'ESMTP',
          'ClientReverseName' => 'mail.xxxx.com',
          'SASLMethod' => ''
        };

[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'1' in policy 'Default'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'2' in policy 'Default Outbound'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'6' in policy 'Default Outbound'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'3' in policy 'Default Inbound'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'4' in policy 'Default Internal'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'5' in policy 'Test'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'7' in policy 'STD_Out_gmail'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'8' in policy 'STD_Out_gmail'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'9' in policy 'STD_Out_hotmail'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'10' in policy 'STD_Out_hotmail'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'11' in policy 'STD_Out_yahoo'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: Found policy member with ID
'12' in policy 'STD_Out_yahoo'
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: [ID:1/Name:Default]: Source
not defined or 'any', explicit match: matched=1
[2013/02/06-15:50:34 - 8996] [POLICIES] INFO: [ID:1/Name:Default]: Source
matching result: matched=1
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: [ID:1/Name:Default]:
Destination not defined or 'any', explicit match: matched=1
[2013/02/06-15:50:34 - 8996] [POLICIES] INFO: [ID:1/Name:Default]:
Destination matching result: matched=1
[2013/02/06-15:50:34 - 8996] [POLICIES] DEBUG: [ID:2/Name:Default
Outbound]: Main policy sources '%internal_ips,%internal_domains'
Can't call method "get" on an undefined value at
/usr/local/lib/cbpolicyd-2.1/awitpt/cache.pm line 256.
Can't call method "get" on an undefined value at
/usr/local/lib/cbpolicyd-2.1/awitpt/cache.pm line 321, <$read> line 7.
Can't call method "get" on an undefined value at
/usr/local/lib/cbpolicyd-2.1/awitpt/cache.pm line 321, <$read> line 3.
Can't call method "get" on an undefined value at
/usr/local/lib/cbpolicyd-2.1/awitpt/cache.pm line 321, <$read> line 5.



I have the following 2 line on main.cnf

smtpd_recipient_restrictions = permit_mynetworks, check_client_access
pcre:/var/spool/postfix/plesk/no_relay.re, permit_sasl_authenticated,
reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031


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

Reply via email to