Subversion Repositories sa-exim

Compare Revisions

Ignore whitespace Rev 40 → Rev 41

/trunk/Greylisting.pm
160,6 → 160,8
# work around bug in perl untaint in perl 5.8
$envfrom=undef;
$envfrom=$tmpvar;
$envfrom =~ s/^([a-z0-9._]*)[^@]*/$1/i;
 
$rcptto =~ tr/!#%()*+,-.0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_abcdefghijklmnopqrstuvwxyz{|}~/_/c;
$rcptto =~ /(.+)/;
$tmpvar = ($1 or "");