Index: postgrey --- postgrey.orig 2004-09-08 22:25:50 +0200 +++ postgrey 2004-12-08 16:35:48 +0100 @@ -32,6 +32,7 @@ if(open(CLIENTS, $f)) { while() { 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() { s/^\s+//; s/\s+$//; next if $_ eq '' or /^#/; + s/\s+#.*$//; my ($user, $domain) = split(/\@/, $_, 2); if(/^\/(\S+)\/$/) { # regular expression