diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-27 12:44:18 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-27 12:44:18 +0300 |
commit | 749503560ef72d7b20f935487a77ee4fbc8a9e3f (patch) | |
tree | e5d76effbcffaa834efaaf2f0c83db3e32d31c12 /rspamd.conf.sample | |
parent | 7551c7a9483ea4821dc76bd72fe5441d99a63ed3 (diff) | |
download | rspamd-749503560ef72d7b20f935487a77ee4fbc8a9e3f.tar.gz rspamd-749503560ef72d7b20f935487a77ee4fbc8a9e3f.zip |
* Fix dependencies on perlxs target (do not rebuild it constantly)
* Fix rspamc to understand lmtp and delivery sections in config
* Fix parser's states when reading module options
* Add sample config for surbl module with comments
--HG--
rename : rspamc.pl => rspamc.pl.in
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r-- | rspamd.conf.sample | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample index 41b44ccdd..b440a3325 100644 --- a/rspamd.conf.sample +++ b/rspamd.conf.sample @@ -76,14 +76,45 @@ factors { "winnow" = 5.5; }; +# Options for lmtp worker lmtp { enabled = yes; + # Bind socket for lmtp interface bind_socket = localhost:11335; + # Metric that is considered as main. If we have spam result on + # this metric, lmtp delivery would be failed + metric = "default"; }; delivery { enabled = yes; + # Path to delivery agent, %f is expanded as mail from address and %r + # is expanded as recipient address + # Expample: agent = "/usr/local/bin/procmail -f %f -d %r" agent = "/dev/null"; + # Bind socket for lmtp interface + # Example: bind_socket = localhost:25 + + # Whether we should use lmtp for MTA delivery + lmtp = no; +}; + +# SURBL module params, note that single quotes are mandatory here +.module 'surbl' { + # Address to redirector in host:port format + redirector = "localhost:8080"; + # Connect timeout for redirector + redirector_connect_timeout = "1s"; + # IO timeout for redirector (may be usefull to set this value rather big) + redirector_read_timeout = "10s"; + # This is suffix for surbl dns requests + suffix = "multi.surbl.org"; + # Metric for surbl module + metric = "default"; + # List of public known hostings (for which we should use 3 components of domain name instead of 2) + hostings = "narod.ru,pp.ru,org.ru,net.ru"; + # Whitelisted urls + whitelist = "highsecure.ru,freebsd.org"; }; url_filters = "surbl"; |