I tried to run v2.0.6 with Amavis support without success and found the file
Amavis.pm was missing.  I upgraded to snapshot-200810170639 and it finds
Amavis.pm (there is an error if I rename it) but there is no evidence in the
log that it is actually enabled:

[2009/03/19-17:05:41 - 4178] [CORE] NOTICE: Process Backgrounded
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - 
vsnapshot-200810170639
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] NOTICE: Initializing system modules.
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] NOTICE: System modules initialized.
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] NOTICE: Module load started...
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE:   => AccessControl: enabled
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE:   => Accounting: enabled
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE:   => Quotas: enabled
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE:   => Protocol(Bizanga): enabled
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] NOTICE: Module load done.
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] NOTICE: Session tracking is ENABLED.
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] DEBUG: Opening syslog.
[2009/03/19-17:05:41 - 4178] [CBPOLICYD] DEBUG: Syslog open.
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE: 2009/03/19-17:05:41 cbp (type 
Net::Server::PreFork) starting! pid(4178)
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE: Binding to TCP port 10031 on host 
127.0.0.1
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE: Setting gid to "113 113"
[2009/03/19-17:05:41 - 4178] [CORE] NOTICE: Setting uid to "112"
[2009/03/19-17:05:41 - 4178] [CORE] INFO: Setting up serialization via flock
[2009/03/19-17:05:41 - 4178] [CORE] INFO: Beginning prefork (4 processes)
[2009/03/19-17:05:41 - 4178] [CORE] INFO: Starting "4" children
[2009/03/19-17:05:41 - 4179] [CORE] DEBUG: Child Preforked (4179)
[2009/03/19-17:05:41 - 4179] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/03/19-17:05:41 - 4180] [CORE] DEBUG: Child Preforked (4180)
[2009/03/19-17:05:41 - 4180] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/03/19-17:05:41 - 4181] [CORE] DEBUG: Child Preforked (4181)
[2009/03/19-17:05:41 - 4181] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/03/19-17:05:42 - 4182] [CORE] DEBUG: Child Preforked (4182)
[2009/03/19-17:05:42 - 4182] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/03/19-17:05:42 - 4178] [CORE] DEBUG: Parent ready for children.

Also, it is not clear to me how policyd works with Amavis.  Does
policyd/cluebringer invoke Amavis to scan content?  Is it necessary to  
include
the main.cf directive "content_filter = smtp-amavis:[127.0.0.1]:10024"?

My config file:

[server]
protocols=<<EOT
Postfix
Bizanga
EOT

modules=<<EOT
Core
AccessControl
Accounting
Amavis
CheckHelo
Greylisting
Quotas
EOT

user=amavis
group=amavis
pid_file=/var/run/amavis/cbpolicyd.pid
log_level=4
host=127.0.0.1

[database]
DSN=DBI:mysql:database=policyd;host=localhost
Username=policyd
Password=TmpQru
bypass_mode=pass
bypass_timeout=30

[AccessControl]
enable=1

[Greylisting]
enable=0

[CheckHelo]
enable=0

[CheckSPF]
enable=0

[Quotas]
enable=1

[Accounting]
enable=1

[Amavis]
enable=1

Regards,
David Koski
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to