aboutsummaryrefslogtreecommitdiff
path: root/mail/tumgreyspf
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-19 11:09:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-19 11:09:14 +0000
commite87a8bd319cefd3a75d9d061fe9ac6bad980b0db (patch)
treee9e6dc56d6e4b04cfacf45ccb3b74fdd987668e3 /mail/tumgreyspf
parent867a3ba355276083619d6e050ed5885ecfc04d75 (diff)
downloadports-e87a8bd319cefd3a75d9d061fe9ac6bad980b0db.tar.gz
ports-e87a8bd319cefd3a75d9d061fe9ac6bad980b0db.zip
Notes
Diffstat (limited to 'mail/tumgreyspf')
-rw-r--r--mail/tumgreyspf/files/pkg-message.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/tumgreyspf/files/pkg-message.in b/mail/tumgreyspf/files/pkg-message.in
index b67d80aa13de..27ab6f6484ca 100644
--- a/mail/tumgreyspf/files/pkg-message.in
+++ b/mail/tumgreyspf/files/pkg-message.in
@@ -6,18 +6,18 @@ Add to your postfix master.cf:
tumgreyspf unix - n n - - spawn
user=%%TUMGREYSPF_USER%% argv=%%PYTHON_CMD%% %%PREFIX%%/bin/tumgreyspf
-
+
Next, main.cf must be configured so that "smtpd_sender_restrictions"
includes a call to the tumgreyspf policy filter. If you already have
a "smtpd_sender_restrictions" line(s), you can add the following line
anywhere after the line which reads "reject_unauth_destination".
-
+
check_policy_service unix:private/tumgreyspf
-
+
WARNING: It's very important that you have
"reject_unauth_destination" before the "check_policy_service". If
you do not, your system may be an open relay.
-
+
So, for example, a minimal "smtpd_sender_restrictions" may look like:
smtpd_sender_restrictions = reject_unauth_destination,