On 06/02/2013 21:25, Gustavo Etchudez wrote:

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
What version of policyd have you installed?

451 4.3.5 Server configuration problem
Where are these errors appearing?

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] <mailto:[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 <http://mail.xxxx.com>',
          'ClientAddress' => '200.42.89.58',
          'ClientName' => 'mail.xxxx.com <http://mail.xxxx.com>',
          'Sender' => '[email protected] <mailto:[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 <http://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 <http://cache.pm> line 256. Can't call method "get" on an undefined value at /usr/local/lib/cbpolicyd-2.1/awitpt/cache.pm <http://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 <http://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 <http://cache.pm> line 321, <$read> line 5.

What versions are you running of:
Perl
MySQL/Other
Cache::FastMmap

If you could explain the above as well as provide a full debug log of cbpolicyd start up until your errors appear we can then investigate further.

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

Reply via email to