summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Gołaszewski2005-09-05 13:23:56 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitc2db3519a871aaf72dba6e165c21dbe464b69ff4 (patch)
tree65898e738dbb1db02f2b2f3ffa2e97b03a38db5c
parent625033af8d0841df447c9434e370a58068454b1a (diff)
downloadpostgrey-c2db3519a871aaf72dba6e165c21dbe464b69ff4.zip
postgrey-c2db3519a871aaf72dba6e165c21dbe464b69ff4.tar.gz
- use /etc/mail directory, not /etc/postfix
Changed files: postgrey-postfix_dir.patch -> 1.1
-rw-r--r--postgrey-postfix_dir.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/postgrey-postfix_dir.patch b/postgrey-postfix_dir.patch
new file mode 100644
index 0000000..00c3271
--- /dev/null
+++ b/postgrey-postfix_dir.patch
@@ -0,0 +1,62 @@
+--- ./postgrey.org 2005-09-05 15:17:03.218646616 +0200
++++ ./postgrey 2005-09-05 15:18:32.982000512 +0200
+@@ -437,10 +437,10 @@
+ greylist_action => $opt{'greylist-action'} || 'DEFER_IF_PERMIT',
+ greylist_text => $opt{'greylist-text'} || 'Greylisted for %s seconds (see http://isg.ee.ethz.ch/tools/postgrey/help/%r.html)',
+ whitelist_clients_files => $opt{'whitelist-clients'} ||
+- [ '/etc/postfix/postgrey_whitelist_clients' ,
+- '/etc/postfix/postgrey_whitelist_clients.local' ],
++ [ '/etc/mail/postgrey_whitelist_clients' ,
++ '/etc/mail/postgrey_whitelist_clients.local' ],
+ whitelist_recipients_files => $opt{'whitelist-recipients'} ||
+- [ '/etc/postfix/postgrey_whitelist_recipients' ],
++ [ '/etc/mail/postgrey_whitelist_recipients' ],
+ },
+ }, 'postgrey';
+
+@@ -598,15 +598,15 @@
+ (default: Greylisted for %s seconds + help url, see below)
+ --lookup-by-subnet strip the last 8 bits from IP addresses (default)
+ --lookup-by-host do not strip the last 8 bits from IP addresses
+- --whitelist-clients=FILE default: /etc/postfix/postgrey_whitelist_clients
+- --whitelist-recipients=FILE default: /etc/postfix/postgrey_whitelist_recipients
++ --whitelist-clients=FILE default: /etc/mail/postgrey_whitelist_clients
++ --whitelist-recipients=FILE default: /etc/mail/postgrey_whitelist_recipients
+ --auto-whitelist-clients=N whitelist host after first successful delievery
+ N is the minimal count of mails before a client is
+ whitelisted (turned on by default with value 5)
+ specify N=0 to disable.
+
+ Note that the --whitelist-x options can be specified multiple times,
+- and that per default /etc/postfix/postgrey_whitelist_clients.local is
++ and that per default /etc/mail/postgrey_whitelist_clients.local is
+ also read, so that you can put there local entries.
+
+ =head1 DESCRIPTION
+@@ -653,11 +653,11 @@
+ =item *
+
+ Install the provided postgrey_whitelist_clients and
+-postgrey_whitelist_recipients in /etc/postfix.
++postgrey_whitelist_recipients in /etc/mail.
+
+ =item *
+
+-Put in /etc/postfix/postgrey_whitelist_recipients users that do not want
++Put in /etc/mail/postgrey_whitelist_recipients users that do not want
+ greylisting.
+
+ =back
+@@ -668,9 +668,9 @@
+ which no greylisting should be done. Per default postgrey will read the
+ following files:
+
+- /etc/postfix/postgrey_whitelist_clients
+- /etc/postfix/postgrey_whitelist_clients.local
+- /etc/postfix/postgrey_whitelist_recipients
++ /etc/mail/postgrey_whitelist_clients
++ /etc/mail/postgrey_whitelist_clients.local
++ /etc/mail/postgrey_whitelist_recipients
+
+ You can specify alternative paths with the --whitelist-x options.
+