head	1.7;
access;
symbols
	OPENPKG_2_STABLE_MP:1.6
	OPENPKG_E1_MP_HEAD:1.6
	OPENPKG_E1_MP:1.6
	OPENPKG_E1_MP_2_STABLE:1.6
	OPENPKG_E1_FP:1.6
	OPENPKG_2_STABLE_20061018:1.6
	OPENPKG_2_STABLE:1.6.0.2
	OPENPKG_2_STABLE_BP:1.6
	OPENPKG_2_5_RELEASE:1.4
	OPENPKG_2_5_SOLID:1.4.0.4
	OPENPKG_2_5_SOLID_BP:1.4
	OPENPKG_2_4_RELEASE:1.4
	OPENPKG_2_4_SOLID:1.4.0.2
	OPENPKG_2_4_SOLID_BP:1.4
	OPENPKG_CW_FP:1.4
	OPENPKG_2_3_RELEASE:1.3
	OPENPKG_2_3_SOLID:1.3.0.2
	OPENPKG_2_3_SOLID_BP:1.3
	OPENPKG_2_2_RELEASE:1.2
	OPENPKG_2_2_SOLID:1.2.0.2
	OPENPKG_2_2_SOLID_BP:1.2;
locks; strict;
comment	@# @;


1.7
date	2007.09.26.21.56.54;	author rse;	state Exp;
branches;
next	1.6;
commitid	y3cP2gbW939Dhizs;

1.6
date	2006.01.17.06.36.07;	author rse;	state dead;
branches;
next	1.5;
commitid	IEvqJsiSCpGm1Vhr;

1.5
date	2005.11.11.19.50.48;	author rse;	state Exp;
branches;
next	1.4;
commitid	3lsSG6nTERjwzn9r;

1.4
date	2005.03.11.16.42.37;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.09.21.20.35;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2004.05.22.19.12.49;	author rse;	state dead;
branches;
next	1.1;

1.1
date	2004.05.21.19.23.02;	author rse;	state Exp;
branches;
next	;


desc
@@


1.7
log
@taint mode is not compatible with the used Net::Server stuff we have in perl-net
@
text
@Index: postgrey
--- postgrey.orig	2007-09-06 16:32:58 +0200
+++ postgrey	2007-09-26 23:55:53 +0200
@@@@ -1,4 +1,4 @@@@
-#!/usr/bin/perl -T -w
+#!/usr/bin/perl -w
 
 # Postgrey: a Postfix Greylisting Policy Server
 # Copyright (c) 2004-2007 ETH Zurich
@


1.6
log
@upgrading package: postgrey 1.23 -> 1.24
@
text
@d2 5
a6 3
--- postgrey.orig	2005-11-11 19:00:27 +0100
+++ postgrey	2005-11-11 20:48:36 +0100
@@@@ -790,8 +790,6 @@@@
d8 2
a9 7
 Mail-domain of the recipient (example.com).
 
-=back
-
 =head2 SEE ALSO
 
 See L<http://www.greylisting.org/> for a description of what
@


1.5
log
@upgrading package: postgrey 1.21 -> 1.22
@
text
@@


1.4
log
@fix POD markup
@
text
@d2 3
a4 19
--- postgrey.orig	2005-03-07 11:16:22 +0100
+++ postgrey	2005-03-11 17:41:50 +0100
@@@@ -32,6 +32,7 @@@@
         if(open(CLIENTS, $f)) {
             while(<CLIENTS>) {
                 s/^\s+//; s/\s+$//; next if $_ eq '' or /^#/;
+                s/\s+#.*$//;
                 if(/^\/(\S+)\/$/) {
                     # regular expression
                     push @@whitelist_clients, qr{$1}i;
@@@@ -68,6 +69,7 @@@@
         if(open(RECIPIENTS, $f)) {
             while(<RECIPIENTS>) {
                 s/^\s+//; s/\s+$//; next if $_ eq '' or /^#/;
+                s/\s+#.*$//;
                 my ($user, $domain) = split(/\@@/, $_, 2);
                 if(/^\/(\S+)\/$/) {
                     # regular expression
@@@@ -775,8 +777,6 @@@@
d6 1
a6 1
 =back
@


1.3
log
@provide consolidated whitelists
@
text
@d2 2
a3 2
--- postgrey.orig	2004-09-08 22:25:50 +0200
+++ postgrey	2004-12-08 16:35:48 +0100
d20 9
@


1.2
log
@upgrade to 1.3 (includes my patch because was taken over by upstream author)
@
text
@d2 18
a19 33
--- postgrey.orig	2004-05-21 18:14:04.000000000 +0200
+++ postgrey	2004-05-21 21:16:29.000000000 +0200
@@@@ -105,7 +105,7 @@@@
     # parse options
     my %opt = ();
     GetOptions(\%opt, 'help|h', 'man', 'version', 'noaction|no-action|n',
-        'verbose|v', 'daemonize|d', 'unix|u=s', 'inet|i=s', 'user=s', 'dbdir=s',
+        'verbose|v', 'daemonize|d', 'unix|u=s', 'inet|i=s', 'user=s', 'dbdir=s', 'pidfile=s',
         'delay=i', 'max-age=i') or exit(1);
     if($opt{help})     { pod2usage(1) }
     if($opt{man})      { pod2usage(-exitstatus => 0, -verbose => 2) }
@@@@ -125,11 +125,12 @@@@
         server => {
             commandline     => [ $0, @@ARGV_saved ],
             delay           => $opt{delay} || 600,
-            port            => [ $opt{inet} ? $opt{inet} : $opt{unix} ],
+            port            => [ $opt{inet} ? $opt{inet} : $opt{unix}."|unix" ],
             proto           => $opt{inet} ? 'tcp' : 'unix',
             user            => $opt{user} || 'postgrey',
             dbdir           => $opt{dbdir} || '/var/spool/postfix/postgrey',
             setsid          => $opt{daemonize} ? 1 : undef,
+            pid_file        => $opt{daemonize} ? $opt{pidfile} : undef,
             log_level       => $opt{verbose} ? 4 : 2,
             log_file        => $opt{daemonize} ? 'Sys::Syslog' : undef,
             syslog_facility => 'mail',
@@@@ -245,6 +246,7 @@@@
  -u, --unix=PATH        listen on unix socket PATH
  -i, --inet=[HOST:]PORT listen on PORT, localhost if HOST is not specified
  -d, --daemonize        run in the background
+     --pidfile=PATH     put daemon pid into this file
      --user=USER        run as USER (default: postgrey)
      --dbdir=PATH       put db files in PATH (default: /var/spool/postfix/postgrey)
      --delay=N          greylist for N seconds (default: 600)
@


1.1
log
@new package: postgrey 1.2 (Postfix Greylisting Daemon)
@
text
@@

