mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Give more examples about the installation.
This commit is contained in:
parent
c2574fcb07
commit
413d1f7d4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130138
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user