aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix-gps
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2005-03-02 03:31:20 +0000
committerXin LI <delphij@FreeBSD.org>2005-03-02 03:31:20 +0000
commit413d1f7d4a1409bf6db68b7a1e0ab21c6f684433 (patch)
tree387bb672a5748a82c99aa92d4d273c3fa29390d2 /mail/postfix-gps
parentc2574fcb07cce4647c17254af6522f0cfb786d50 (diff)
downloadports-413d1f7d4a1409bf6db68b7a1e0ab21c6f684433.tar.gz
ports-413d1f7d4a1409bf6db68b7a1e0ab21c6f684433.zip
Give more examples about the installation.
Notes
Notes: svn path=/head/; revision=130138
Diffstat (limited to 'mail/postfix-gps')
-rw-r--r--mail/postfix-gps/pkg-message22
1 files changed, 18 insertions, 4 deletions
diff --git a/mail/postfix-gps/pkg-message b/mail/postfix-gps/pkg-message
index 561c439a3950..73328bfb24e3 100644
--- a/mail/postfix-gps/pkg-message
+++ b/mail/postfix-gps/pkg-message
@@ -1,12 +1,26 @@
========================================================================
Configuration Instructions
-You need to create a database for greylisting manually, and a user for
-this, too. Additionally, please copy the gps.conf-dist found in your
-local etc directory.
+You should now create a database for gps, and grant a dedicated database
+user appropriate privilege to access it. Please copy gps.conf-dist found
+in your local etc directory to gps.conf and do some changes to reflect
+the database and user. gps will automatically create the tables that
+is needed for greylisting.
After you have all these done, modify the postfix master.cf and include
-gps as policy server.
+gps as policy server. We recommend that you use Unix domain socket
+since this can be used even within a jail(8) environment. An example
+entry is:
+
+policy unix - n n - - spawn
+ user=nobody argv=/usr/local/libexec/gps -v /usr/local/etc/gps.conf
+
+In order to make policy server effect on your postfix installation,
+you should add something like:
+
+ check_policy_service unix:private/policy
+
+Into your smtpd_sender_restrictions configuration in postfix's main.cf.
Also, you may want to include the following line into your crontab so
system will automatically do daily cleanup of the greylist table: