[packages/postgrey] - restored postfix_dir patch
hawk
hawk at pld-linux.org
Fri Jan 25 18:58:22 CET 2019
commit 0b043b1ab65bd536f61a28731d71c8cc6d6f6717
Author: Marcin Krol <hawk at tld-linux.org>
Date: Fri Jan 25 18:57:28 2019 +0100
- restored postfix_dir patch
postgrey-postfix_dir.patch | 58 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
---
diff --git a/postgrey-postfix_dir.patch b/postgrey-postfix_dir.patch
new file mode 100644
index 0000000..bb3a427
--- /dev/null
+++ b/postgrey-postfix_dir.patch
@@ -0,0 +1,58 @@
+--- postgrey.orig 2006-01-22 19:37:53.460148000 +0100
++++ postgrey 2006-01-22 19:42:13.330148000 +0100
+@@ -24,7 +24,7 @@ use vars qw(@ISA);
+
+ my $VERSION = '1.31';
+ my $DEFAULT_DBDIR = '/var/spool/postfix/postgrey';
+-my $CONFIG_DIR = '/etc/postfix';
++my $CONFIG_DIR = '/etc/mail';
+
+ sub cidr_parse($)
+ {
+@@ -779,8 +779,8 @@ B<postgrey> [I<options>...]
+ --privacy store data using one-way hash functions
+ --hostname=NAME set the hostname (default: `hostname`)
+ --exim don't reuse a socket for more than one query (exim compatible)
+- --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 delivery
+ N is the minimal count of mails before a client is
+ whitelisted (turned on by default with value 5)
+@@ -630,7 +630,7 @@
+ --privacy store data using one-way hash functions
+
+ 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
+@@ -678,11 +678,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
+@@ -693,9 +693,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.
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/postgrey.git/commitdiff/0b043b1ab65bd536f61a28731d71c8cc6d6f6717
More information about the pld-cvs-commit
mailing list