Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/argrath/policyd-spf-fs
https://github.com/argrath/policyd-spf-fs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/argrath/policyd-spf-fs
- Owner: argrath
- License: other
- Created: 2012-11-16T14:39:28.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-02-04T02:24:04.000Z (almost 9 years ago)
- Last Synced: 2024-05-01T22:09:11.279Z (8 months ago)
- Language: C
- Size: 117 KB
- Stars: 2
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: CHANGES
- License: COPYING
Awesome Lists containing this project
README
README policyd-spf-fs
----------------------This is a policy daemon for checking SPF records in postfix. It is based on
the spfquery command line tool from libspf2.Requirements
------------
libspf2 >= 1.2.5Compilation
-----------
Should be straight forward, just type "make"With "make install" the policy daemon will be installed in /usr/local/sbin
Installation
------------Add the following to master.cf
# Policy daemon for SPF
spf-policy unix - n n - - spawn
user=nobody argv=/usr/local/sbin/policyd-spf-fs --debug=1And this to main.cf
smtpd_sender_restrictions =
your policy here
...
reject_unknown_sender_domain
reject_unverified_sender
check_policy_service unix:private/spf-policyBe sure to have SPF after reject_unverified_sender else you will probably
get an open relay!Tuning
------Under high load it is important, that the maxproc parameter (the last before
spawn) matches the amount of smtpd which can make requests the the policyd,
else you will get service unavailable in your log.--------
$Id: README 14 2007-09-03 07:25:32Z cramer $