FilesSubmittedBranchesLabelsClientsUsersJobsHelp
Tree viewShow/hide recent activityInformation
Change 61

Change 61 by nullbyte@nullbyte-gentoo on 2004/03/05 00:20:51

bounces have an empty sender so they all looked like the same triplet. also lc() addresses. added a test, because ksimpson keeps asking 'does it have tests'
Affected files ...
//depot/projects/greylistd/lib/Mail/Greylist.pm#2 editktext
//depot/projects/greylistd/t/01-basic.t#1 addtext
Differences ...

==== //depot/projects/greylistd/lib/Mail/Greylist.pm#2 (ktext) ====

@@ -30,7 +30,7 @@
3030
3131sub triplet {
3232 my ($self, $ip, $from, $to) = @_;
33 return join("/", $ip, $from, $to);
33 return join("/", $ip, lc($from || '<>'), lc $to);
3434}
3535
3636# returns "DUNNO" to let postfix carry on, or a defer action

P4Web/LINUX26X86/2005.1/82295 · Copyright © 1995-2005 Perforce Software · ttul.org