Zimbra :: Tech Center:Cluebringer Policy Daemon: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
* cbpolicyd_log_level - loglevel (default 3) | * cbpolicyd_log_level - loglevel (default 3) | ||
* cbpolicyd_log_mail - Default is main. Log to policyd's main log mechanism, accepts NO args | * cbpolicyd_log_mail - Default is main. Log to policyd's main log mechanism, accepts NO args | ||
* cbpolicyd_log_detail = | * cbpolicyd_log_detail = What detail of logging to provide. Default "modules" | ||
* cbpolicyd_bind_port = | * cbpolicyd_bind_port = Bind port for cbpolicyd. default 10031 | ||
* cbpolicyd_timeout = | * cbpolicyd_timeout = Timeout when talking to clients. Default 120 seconds. ZCS7 only. | ||
* cbpolicyd_timeout_idle | |||
* cbpolicyd_timeout_busy | |||
* cbpolicyd_bypass_timeout = KnownKey.newKey(30); | * cbpolicyd_bypass_timeout = KnownKey.newKey(30); | ||
* cbpolicyd_bypass_mode = KnownKey.newKey("tempfail"); | * cbpolicyd_bypass_mode = KnownKey.newKey("tempfail"); |
Revision as of 22:38, 11 April 2013
Article Information |
---|
This article applies to the following ZCS versions. |
Postfix Cluebringer Policyd in Zimbra
Policyd is an anti-spam policy daemon for Postfix (written in C) that does Greylisting, Sender-(envelope, SASL or host / ip)-based throttling (on messages and/or volume per defined time unit), Recipient rate limiting, Spamtrap monitoring / blacklisting, HELO auto blacklisting and HELO randomization preventation.
It is included as a part of the Zimbra package, but it is not enabled by default.
Enabling policyd
First ensure sqlite is installed (It is listed as a suggested install).
To enable policyd, simply tell the Zimbra installation you want it enabled:
zmprov ms <mta server> +zimbraServiceEnabled cbpolicyd
After 1 to 2 minutes the zmconfigd process will detect that you want this service enabled, and automatically install the database and start the service.
- cbpolicyd_pid_file - location of PID file.
- cbpolicyd_log_file - location of log file.
- cbpolicyd_db_file - location of SQLite database
- cbpolicyd_cache_file - location of cache
- cbpolicyd_log_level - loglevel (default 3)
- cbpolicyd_log_mail - Default is main. Log to policyd's main log mechanism, accepts NO args
- cbpolicyd_log_detail = What detail of logging to provide. Default "modules"
- cbpolicyd_bind_port = Bind port for cbpolicyd. default 10031
- cbpolicyd_timeout = Timeout when talking to clients. Default 120 seconds. ZCS7 only.
- cbpolicyd_timeout_idle
- cbpolicyd_timeout_busy
- cbpolicyd_bypass_timeout = KnownKey.newKey(30);
- cbpolicyd_bypass_mode = KnownKey.newKey("tempfail");
- cbpolicyd_module_accesscontrol = KnownKey.newKey(0);
- cbpolicyd_module_greylisting = KnownKey.newKey(0);
- cbpolicyd_module_greylisting_training = KnownKey.newKey(0);
- cbpolicyd_module_greylisting_defer_msg = KnownKey.newKey("Greylisting in effect, please come back later");
- cbpolicyd_module_greylisting_blacklist_msg = KnownKey.newKey("Greylisting in effect, sending server blacklisted");
- cbpolicyd_module_checkhelo = KnownKey.newKey(0);
- cbpolicyd_module_checkspf = KnownKey.newKey(0);
- cbpolicyd_module_quotas = KnownKey.newKey(1);
- cbpolicyd_module_amavis = KnownKey.newKey(0);
- cbpolicyd_module_accounting = KnownKey.newKey(0);