On 16/08/2012 11:36, Ricardo Oliveira wrote:
I do apologize for "top posting", but that's how mail clients work by
default, I suppose.
Anyway, regarding the step-by-step instruction, I merely disabled all
default policies included, created a group called "IP" with an IP in it,
created a new policy that has that group as a member ("%IP"), and that's it.
Tried it with a group called "Domains" as well, same result, which you
can see in the log below:
--
[2012/08/16-10:32:34 - 17547] [POLICIES] DEBUG: Found policy member with
ID '6' in policy 'AccessPolicy'
[2012/08/16-10:32:34 - 17547] [POLICIES] DEBUG:
[ID:6/Name:AccessPolicy]: Main policy sources '%IP'
Can't call method "get" on an undefined value at
/usr/local/lib/policyd-2.1/awitpt/cache.pm line 256, <_READ> line 1.
Could you do a test on a fresh install/db and include the following in
your results:
* Versions: OS, Perl, DB, Cache::FastMmap, Net::Server, Net::CIDR,
Config::IniFiles
* SQL dump of your test database
* Full policyd log with full debugging enabled
* Postfix configuration
* maillog
I've been trying to reproduce this with various versions of
Perl/Cache::FastMmap/MySQL and have been unsuccessful thus far.
It's definitely a result of the group lookup but this should _not_
return a hard error, even if it's unsuccessful.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org