Good afternoon list.
I am using the lastest git version and having a problem getting policyd
to work.
I am using:
OS: rhel6.3
cluebringer: Policyd v2 / Cluebringer - v2.1.x-201205100639
my postfix logs show:
Nov 14 14:05:13 smtp5 postfix/smtpd[4635]: warning: problem talking to
server 10.115.244.114:10031: Success
Nothing shows in maillog on the policyd server at all. absolutely
nothing is logging.
The cbpolicyd.log file shows:
/[2014/11/14-14:09:22 - 29231] [CORE] INFO: 2014/11/14-14:09:22 CONNECT
TCP Peer: "[::ffff:10.113.154.84]:41725" Local:
"[::ffff:10.115.244.114]:10031"//
//[2014/11/14-14:09:22 - 29231] [PROTOCOLS/Postfix] DEBUG: Possible
Postfix protocol//
//[2014/11/14-14:09:22 - 29231] [PROTOCOLS/Postfix] INFO: Identified
Postfix protocol//
//[2014/11/14-14:09:22 - 29244] [CORE] DEBUG: Child Preforked (29244)//
//[2014/11/14-14:09:22 - 29244] [CBPOLICYD] DEBUG: Starting up caching
engine//
//[2014/11/14-14:09:22 - 29231] [TRACKING] DEBUG: Protocol state is
'RCPT', resolving policy...//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: Going to resolve
session data into policy: $VAR1 = {//
// 'Recipient' => '[email protected]',//
// 'SASLUsername' => '',//
// 'QueueID' => '',//
// 'RecipientData' => undef,//
// 'EncryptionCipher' => '',//
// 'Instance' => '1529.5465f0e0.c3c79.0',//
// 'Size' => '0',//
// 'EncryptionKeySize' => '0',//
// 'UnixTimestamp' => '1415966944',//
// 'EncryptionProtocol' => '',//
// 'Helo' => '[41.30.52.210]',//
// 'ClientAddress' => '41.30.52.210',//
// 'ClientName' => 'unknown',//
// 'Sender' => '[email protected]',//
// 'SASLSender' => '',//
// '_ClientAddress' => bless( {//
// 'raw_ip' => '41.30.52.210',//
// 'ip' => '41.30.52.210',//
// 'ip_version' => 4,//
// 'cidr' => 32//
// }, 'awitpt::netip' ),//
// 'Protocol' => 'ESMTP',//
// 'ClientReverseName' =>
'vc-gp-s-41-30-52-210.umts.vodacom.co.za',//
// 'SASLMethod' => ''//
// };//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: Found policy member
with ID '1' in policy 'Default'//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: Found policy member
with ID '2' in policy 'Default Outbound'//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: Found policy member
with ID '3' in policy 'Default Inbound'//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: Found policy member
with ID '4' in policy 'Default Internal'//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: Found policy member
with ID '5' in policy 'Test'//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: [ID:1/Name:Default]:
Source not defined or 'any', explicit match: matched=1//
//[2014/11/14-14:09:22 - 29231] [POLICIES] INFO: [ID:1/Name:Default]:
Source matching result: matched=1//
//[2014/11/14-14:09:22 - 29231] [POLICIES] DEBUG: [ID:1/Name:Default]:
Destination not defined or 'any', explicit match: matched=1//
//[2014/11/14-14:09:22 - 29231] [POLICIES] INFO: [ID:1/Name:Default]:
Destination matching result: matched=1//
//[2014/11/14-14:09:22 - 29231] [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, <$read> line 936./*
when i restart cbpolicyd, the init script poutputs:
*/# /etc/init.d/cbpolicyd restart/**/
/**/Shutting down cbpolicyd: [ OK ]/**/
/**/Starting cbpolicyd: Constant subroutine awitpt::netip::AF_INET6
redefined at /usr/share/perl5/Exporter.pm line 67./**/
/**/ at /usr/local/lib/cbpolicyd-2.1/awitpt/netip.pm line 38/**/
/**/Prototype mismatch: sub awitpt::netip::AF_INET6 () vs none at
/usr/share/perl5/Exporter.pm line 67./**/
/**/ at /usr/local/lib/cbpolicyd-2.1/awitpt/netip.pm line 38/**/
/**/[ OK ]/*
thx Tom
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org