diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-09 22:25:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-09 22:25:25 +0100 |
commit | 61e18322c7a07735148aa3b95dfca9c1f778cc1a (patch) | |
tree | fb87dd9b1f3d1e5eda4e9620495f3c5857697af7 /doc/markdown/modules | |
parent | 5dbca76a7579955f52b89a2fa81dd2d2c9246c3d (diff) | |
download | rspamd-61e18322c7a07735148aa3b95dfca9c1f778cc1a.tar.gz rspamd-61e18322c7a07735148aa3b95dfca9c1f778cc1a.zip |
Add SPF module documentation.
Diffstat (limited to 'doc/markdown/modules')
-rw-r--r-- | doc/markdown/modules/spf.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/markdown/modules/spf.md b/doc/markdown/modules/spf.md index e69de29bb..d858a7af3 100644 --- a/doc/markdown/modules/spf.md +++ b/doc/markdown/modules/spf.md @@ -0,0 +1,34 @@ +# SPF module + +SPF module performs checks of the sender's [SPF](http://www.openspf.org/) policy. +Many mail providers uses SPF records to define which hosts are eligible to send email +for this specific domain. In fact, there are many possibilities to create and use +SPF records, however, all they check merely the sender's domain and the sender's IP. + +The specific case are automated messages from the special mailer daemon address: +`<>`. In this case rspamd uses `HELO` to grab domain information as specified in the +standart. + +## Principles of work + +`SPF` can be a powerfull tool when properly used. However, it is very fragile in many +cases: when a message is somehow redirected or reconstructed by mailing lists software. + +Moreover, many mail providers have no clear understanding of this technology and +misuse the SPF technique. Hence, the scores for SPF symbols are relatively small +in rspamd. + +SPF uses DNS service extensively, therefore rspamd maintain the cache of SPF records. +This caches operates on principle of `least recently used` expiration. All cached items +lifetimes is accordingly limited by the matching DNS record time to live. + +You can manually specify the size of this cache by configuring SPF module: + +~~~nginx +spf { + spf_cache_size = 1k; # cache up to 1000 of the most recent SPF records +} +~~~ + +Currently, rspamd supports the full set of SPF elements, macroes and has internal +protection from DNS recursion.
\ No newline at end of file |