diff options
author | Sahil Tandon <sahil@FreeBSD.org> | 2011-05-21 03:01:54 +0000 |
---|---|---|
committer | Sahil Tandon <sahil@FreeBSD.org> | 2011-05-21 03:01:54 +0000 |
commit | 0c89741271e00aa13a4b7641cbbc21cf55a2b71c (patch) | |
tree | e0e7ebfffe34801452fea3e4af9c36fcf5207f66 /mail/greyfix/files | |
parent | b5895108f66fce18ed44d270ca4efaebb4cd3bcb (diff) | |
download | ports-0c89741271e00aa13a4b7641cbbc21cf55a2b71c.tar.gz ports-0c89741271e00aa13a4b7641cbbc21cf55a2b71c.zip |
Notes
Diffstat (limited to 'mail/greyfix/files')
-rw-r--r-- | mail/greyfix/files/pkg-message.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/greyfix/files/pkg-message.in b/mail/greyfix/files/pkg-message.in new file mode 100644 index 000000000000..32b70d8320ad --- /dev/null +++ b/mail/greyfix/files/pkg-message.in @@ -0,0 +1,21 @@ +Edit Postfix's master configuration file, master.cf, and add the following: + + greyfix unix - n n - - spawn + user=nobody argv=%%PREFIX%%/sbin/greyfix -/ 24 + +(The -/ argument specifies how much of the IP address to consider significant, +in this case the first 24 bits.) + +Edit Postfix's main configuration file, main.cf and add the following: + + smtpd_recipient_restrictions = permit_mynetworks, + reject_unauth_destination, + check_policy_service unix:private/greyfix + +If there is already a smtpd_recipient_restrictions configuration line you +should edit it rather than add a new one. The important part for Greyfix is +that you should add check_policy_service unix:private/greyfix to it. + +Finally have postfix reload its configuration with: + + %%PREFIX%%/etc/rc.d/postfix reload |