diff options
author | zbyniu | 2007-11-11 21:16:42 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | fa1973f4d2529db3d98711976214e5f2d62941a4 (patch) | |
tree | ce664f239d4ce779b471de7ea0e3d53debb8d087 | |
parent | 43a1c513d955419ea20b70550bc6c93bf516a7b7 (diff) | |
download | postgrey-fa1973f4d2529db3d98711976214e5f2d62941a4.zip postgrey-fa1973f4d2529db3d98711976214e5f2d62941a4.tar.gz |
- up to 1.31
Changed files:
postgrey-postfix_dir.patch -> 1.3
postgrey.spec -> 1.21
-rw-r--r-- | postgrey-postfix_dir.patch | 33 | ||||
-rw-r--r-- | postgrey.spec | 6 |
2 files changed, 17 insertions, 22 deletions
diff --git a/postgrey-postfix_dir.patch b/postgrey-postfix_dir.patch index 142ff41..bb3a427 100644 --- a/postgrey-postfix_dir.patch +++ b/postgrey-postfix_dir.patch @@ -1,28 +1,23 @@ --- postgrey.orig 2006-01-22 19:37:53.460148000 +0100 +++ postgrey 2006-01-22 19:42:13.330148000 +0100 -@@ -456,10 +456,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' ], - privacy => defined $opt{'privacy'}, - }, - }, 'postgrey'; -@@ -621,8 +621,8 @@ - (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 +@@ -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 delievery + --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 @@ diff --git a/postgrey.spec b/postgrey.spec index db1381f..df2243e 100644 --- a/postgrey.spec +++ b/postgrey.spec @@ -2,12 +2,12 @@ Summary: Postfix Greylisting Policy Server Summary(pl.UTF-8): Serwer do polityki "szarych list" dla Postfiksa Name: postgrey -Version: 1.27 -Release: 4 +Version: 1.31 +Release: 1 License: GPL v2 Group: Daemons Source0: http://isg.ee.ethz.ch/tools/postgrey/pub/%{name}-%{version}.tar.gz -# Source0-md5: df3a8b4a0c6ab7e8e5bb5be0de096c47 +# Source0-md5: b7a8a6fc9f1ad802c5a516a3be34bb29 Source1: %{name}.init Source2: %{name}.sysconfig Source3: http://www.lipek.pl/postgrey_clients_dump |