Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
postgrey
postgrey-1.36-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File postgrey-1.36-config.patch of Package postgrey
Index: README =================================================================== --- README.orig +++ README @@ -21,7 +21,7 @@ Documentation See POD documentation in postgrey. Execute: - perldoc postgrey + man postgrey See also Postgrey's homepage: Index: contrib/postgreyreport =================================================================== --- contrib/postgreyreport.orig +++ contrib/postgreyreport @@ -24,7 +24,7 @@ select((select(STDOUT), $| = 1)[0]); # # default options, override via command line my %opt = ( user => 'postgrey', - dbdir => '/var/spool/postfix/postgrey', + dbdir => '/var/lib/postgrey', delay => 300, return_string => 'Greylisted', # match on this string @@ -594,7 +594,7 @@ B<postgreyreport> [I<options>...] --version display version and exit --user=USER run as USER (default: postgrey) - --dbdir=PATH find db files in PATH (default: /var/spool/postfix/postgrey) + --dbdir=PATH find db files in PATH (default: /var/lib/postgrey) --delay=N report triplets that did not try again after N seconds (default: 300) --greylist-text=TXT text to match on for greylist maillog lines Index: postgrey =================================================================== --- postgrey.orig +++ postgrey @@ -24,8 +24,8 @@ use vars qw(@ISA); @ISA = qw(Net::Server::Multiplex); my $VERSION = '1.36'; -my $DEFAULT_DBDIR = '/var/spool/postfix/postgrey'; -my $CONFIG_DIR = '/etc/postfix'; +my $DEFAULT_DBDIR = '/var/lib/postgrey'; +my $CONFIG_DIR = '/etc/postgrey'; sub cidr_parse($) { @@ -644,10 +644,10 @@ sub main() greylist_action => $opt{'greylist-action'} || 'DEFER_IF_PERMIT', greylist_text => $opt{'greylist-text'} || 'Greylisted, see http://postgrey.schweikert.ch/help/%r.html', whitelist_clients_files => $opt{'whitelist-clients'} || - [ "$CONFIG_DIR/postgrey_whitelist_clients" , - "$CONFIG_DIR/postgrey_whitelist_clients.local" ], + [ "$CONFIG_DIR/whitelist_clients" , + "$CONFIG_DIR/whitelist_clients.local" ], whitelist_recipients_files => $opt{'whitelist-recipients'} || - [ "$CONFIG_DIR/postgrey_whitelist_recipients" ], + [ "$CONFIG_DIR/whitelist_recipients" ], privacy => defined $opt{'privacy'}, hostname => defined $opt{hostname} ? $opt{hostname} : hostname, exim => defined $opt{'exim'}, @@ -831,7 +831,7 @@ B<postgrey> [I<options>...] --pidfile=PATH put daemon pid into this file --user=USER run as USER (default: postgrey) --group=GROUP run as group GROUP (default: nogroup) - --dbdir=PATH put db files in PATH (default: /var/spool/postfix/postgrey) + --dbdir=PATH put db files in PATH (default: /var/lib/postgrey) --delay=N greylist for N seconds (default: 300) --max-age=N delete entries older than N days since the last time that they have been seen (default: 35) @@ -847,8 +847,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/postgrey/whitelist_clients + --whitelist-recipients=FILE default: /etc/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) @@ -858,7 +858,7 @@ B<postgrey> [I<options>...] default: X-Greylist: delayed <seconds> seconds by postgrey-<version> at <server>; <date> 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/postgrey/whitelist_clients.local is also read, so that you can put there local entries. =head1 DESCRIPTION @@ -885,7 +885,7 @@ doing lookups in the database. =item * Create a C<postgrey> user and the directory where to put the database I<dbdir> -(default: C</var/spool/postfix/postgrey>) +(default: C</var/lib/postgrey>) =item * @@ -908,12 +908,12 @@ Put something like this in /etc/main.cf: =item * -Install the provided postgrey_whitelist_clients and -postgrey_whitelist_recipients in /etc/postfix. +Install the provided whitelist_clients and +whitelist_recipients in /etc/postgrey. =item * -Put in /etc/postfix/postgrey_whitelist_recipients users that do not want +Put in /etc/postgrey/whitelist_recipients users that do not want greylisting. =back @@ -924,9 +924,9 @@ Whitelists allow you to specify client addresses or recipient address, for 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/postgrey/whitelist_clients + /etc/postgrey/whitelist_clients.local + /etc/postgrey/whitelist_recipients You can specify alternative paths with the --whitelist-x options. Index: postgrey_whitelist_clients =================================================================== --- postgrey_whitelist_clients.orig +++ postgrey_whitelist_clients @@ -2,3 +2,3 @@ # -------------------------------------------- -# put this file in /etc/postfix or specify its path +# put this file in /etc/postgrey or specify its path # with --whitelist-clients=xxx @@ -19,8 +19,6 @@ vger.kernel.org karger.ch # 2004-06-02: lilys.ch, (slow: 4 hours) server-x001.hostpoint.ch -# 2004-06-09: roche.com (no retry) -gw.bas.roche.com # 2004-06-09: newsletter (no retry) mail.hhlaw.com # 2004-06-09: no retry (reported by Ralph Hildebrandt) Index: postgrey_whitelist_recipients =================================================================== --- postgrey_whitelist_recipients.orig +++ postgrey_whitelist_recipients @@ -1,6 +1,6 @@ # postgrey whitelist for mail recipients # -------------------------------------- -# put this file in /etc/postfix or specify its path +# put this file in /etc/postgrey or specify its path # with --whitelist-recipients=xxx postmaster@
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor