SOURCES: postgrey-postfix_dir.patch (NEW) - use /etc/mail director...

blues blues at pld-linux.org
Mon Sep 5 15:24:01 CEST 2005


Author: blues                        Date: Mon Sep  5 13:24:01 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use /etc/mail directory, not /etc/postfix

---- Files affected:
SOURCES:
   postgrey-postfix_dir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/postgrey-postfix_dir.patch
diff -u /dev/null SOURCES/postgrey-postfix_dir.patch:1.1
--- /dev/null	Mon Sep  5 15:24:01 2005
+++ SOURCES/postgrey-postfix_dir.patch	Mon Sep  5 15:23:56 2005
@@ -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.
+ 
================================================================



More information about the pld-cvs-commit mailing list