|
|
|
|
@ -1,25 +1,9 @@
|
|
|
|
|
Index: postgrey
|
|
|
|
|
--- 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 @@
|
|
|
|
|
--- postgrey.orig 2005-11-11 19:00:27 +0100
|
|
|
|
|
+++ postgrey 2005-11-11 20:48:36 +0100
|
|
|
|
|
@@ -790,8 +790,6 @@
|
|
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
Mail-domain of the recipient (example.com).
|
|
|
|
|
|
|
|
|
|
-=back
|
|
|
|
|
-
|
|
|
|
|
|