On 17/02/2013 01:37, Martin Sebald wrote:
Hello all,
I just installed the latest snapshot release (v2.1.x-201211111115) on our
new server, coming from an older snapshot release, about a year old or
older.
I experienced massive problems:
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: Found policy member with ID '1'
in policy 'Default'
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: Found policy member with ID '2'
in policy 'Default Outbound'
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: Found policy member with ID '3'
in policy 'Default Inbound'
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: Found policy member with ID '4'
in policy 'Default Internal'
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: [ID:1/Name:Default]: Source not
defined or 'any', explicit match: matched=1
[2013/02/16-23:42:40 - 22630] [POLICIES] INFO: [ID:1/Name:Default]: Source
matching result: matched=1
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: [ID:1/Name:Default]:
Destination not defined or 'any', explicit match: matched=1
[2013/02/16-23:42:40 - 22630] [POLICIES] INFO: [ID:1/Name:Default]: Destination
matching result: matched=1
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]:
Main policy sources '%internal_ips,%internal_domains'
[2013/02/16-23:42:40 - 22630] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]:
Group 'internal_ips' has 2 source(s) => [144.76.16.171/32],[144.76.16.186/32]
Can't call method "is_within" on an undefined value at
/usr/lib/cbpolicyd-2.1/cbp/policies.pm line 401.
After that the daemon stopped working and Postfix did not accept the mail.
The second last line seems to be the problem because after removing the []
it works!
Strange, do I don't understand the setup? I always thought that the IP
address of the server which requests the policy needs to be that, which
means I have to use the [], like written here:
http://wiki.policyd.org/policies
I also have two other things in the log:
Use of uninitialized value $response_data in concatenation (.) or string at
/usr/lib/cbpolicyd-2.1/cbp/protocols/Postfix.pm line 136, <_READ> line 418.
Use of uninitialized value $response_data in concatenation (.) or string at
/usr/lib/cbpolicyd-2.1/cbp/protocols/Postfix.pm line 200.
The first error comes up with several different <_READ> lines.
Hi Martin,
If you moved the awitpt libraries to a directory as instructed in the
INSTALL file, have you done so for the newer version?
Failing that, could you supply us with a full log with debugging enabled
and also paste the offending policies from the database as well as your
policyd configuration?
Robert Anderson
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org