Hi Guys
I am trying to configure policyd with postfix on FC-12, Here below details
Postfix Version --> postfix-2.6.5-2.fc12.i686
Policyd Version --> cluebringer-2.0.10
conf for policyd --> /etc/cluebringer.conf
[server]
protocols=<<EOT
Postfix
EOT
modules=<<EOT
Core
Quotas
EOT
user=policyd
group=policyd
pid_file=/var/run/policyd/cbpolicyd.pid
log_level=4
log_file=/var/log/cbpolicyd.log
log_mail=maillog
log_detail=modules,tracking,policies,protocols
port=10031
[database]
DSN=DBI:mysql:database=policyd;host=localhost
Username=usrpolicyd
Password=xxxx
bypass_mode=tempfail
bypass_timeout=30
[AccessControl]
enable=1
[Greylisting]
enable=0
[CheckHelo]
enable=0
[CheckSPF]
enable=0
[Quotas]
enable=1
Start it by /usr/local/sbin/cbpolicyd --config=/etc/cluebringer.conf
Policyd is started and below entry comes in log
[2010/05/21-17:48:22 - 16187] [CORE] NOTICE: 2010/05/21-17:48:22 cbp (type
Net::Server::PreFork) starting! pid(16187)
[2010/05/21-17:48:22 - 16187] [CORE] NOTICE: Binding to TCP port 10031 on
host *
[2010/05/21-17:48:22 - 16187] [CORE] NOTICE: Setting gid to "512 512"
[2010/05/21-17:48:22 - 16187] [CORE] NOTICE: Setting uid to "512"
[2010/05/21-17:48:22 - 16187] [CORE] INFO: Setting up serialization via
flock
[2010/05/21-17:48:22 - 16187] [CORE] INFO: Beginning prefork (4 processes)
[2010/05/21-17:48:22 - 16187] [CORE] INFO: Starting "4" children
[2010/05/21-17:48:22 - 16188] [CORE] DEBUG: Child Preforked (16188)
[2010/05/21-17:48:22 - 16189] [CORE] DEBUG: Child Preforked (16189)
[2010/05/21-17:48:22 - 16189] [CBPOLICYD] DEBUG: Starting up caching engine
[2010/05/21-17:48:22 - 16188] [CBPOLICYD] DEBUG: Starting up caching engine
[2010/05/21-17:48:22 - 16190] [CORE] DEBUG: Child Preforked (16190)
[2010/05/21-17:48:22 - 16187] [CORE] DEBUG: Parent ready for children.
[2010/05/21-17:48:22 - 16190] [CBPOLICYD] DEBUG: Starting up caching engine
[2010/05/21-17:48:22 - 16191] [CORE] DEBUG: Child Preforked (16191)
[2010/05/21-17:48:22 - 16191] [CBPOLICYD] DEBUG: Starting up caching engine
And as per INSTALL file, add below in postifx
6. Setup Postfix to use cbpolicyd...
Add the following Postfix config...
check_policy_service inet:127.0.0.1:10031
in BOTH smtpd_recipient_restrictions and smtpd_end_of_data_restrictions.
So postfix and policyd is now started , i setup the webgui for policyd and
confiure a basic outgooing policy, but i cant see any reference in logs
about policy rule match and i dam sure postfix ignore it, like postfix is
unable to integrate with policyd. Can any one tell, what can i do to
confirm is policyd is integrated with postfix f9 & working ? .
Thanks
Muzammel
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users