mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 14:59:13 -04:00
- modify policyd-spf so ${PREFIX}/etc/postfix-policyd-spf-python/policyd-spf.conf is used as default configuration files and change pkg-message.in accordingly - modify misc file paths in man pages so they match installed ones - adopt to new options framework (DOCS) - add license information (AL2) - trim makefile header. - update WWW url in pkg-descr while I'm here: - use absolute url in MASTER_SITES and remove http redirection quirks - replace PYTHON_SITELIBDIR with PYTHON_PKGNAMEPREFIX in depends - shortened overly long lines to make Makefile more readable - remove attribution from pkg-descr, that's no more supported in ports PR: 177797 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: Giel van Schijndel <me@mortis.eu> (maintainer)
31 lines
1 KiB
Text
31 lines
1 KiB
Text
#
|
|
# To configure Postfix
|
|
#
|
|
|
|
This package must be integrated with Postfix to be effective:
|
|
|
|
1. Add to your postfix master.cf:
|
|
|
|
policyd-spf unix - n n - 0 spawn
|
|
user=nobody argv=%%PREFIX%%/bin/policyd-spf
|
|
|
|
2. Configure the Postfix policy service in your main.cf so that the
|
|
"smtpd_recipient_restrictions" includes a call to the policyd-spf policy
|
|
filter. If you already have a "smtpd_recipient_restrictions" line, you can
|
|
add the "check_policy_service" command anywhere *after* the line which
|
|
reads "reject_unauth_destination" (otherwise you're system can become an
|
|
open relay).
|
|
|
|
smtpd_recipient_restrictions =
|
|
...
|
|
reject_unauth_destination
|
|
check_policy_service unix:private/policyd-spf
|
|
...
|
|
|
|
policyd-spf_time_limit = 3600
|
|
|
|
3. Please consult the postfix documentation for more information on these and
|
|
other settings you may wish to have in the "smtpd_recipient_restrictions"
|
|
configuration.
|
|
|
|
4. Reload postfix.
|