[Mimedefang] Multiple Spamdrop Question

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Tue Oct 5 16:41:04 EDT 2004


Matthew.van.Eerde wrote:
> 		my $domain = $1 or next; # skip weird emails
oops... should be
 		my $domain = lc $1 or next; # skip weird emails
as hash keys are case-sensitive.
load_spamdrops() should also make sure the domains of the %spamdrops hash are all lowercase.
If you want to handle subdomains as well, it gets more complicated.

Matthew.van.Eerde at hbinc.com                      805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"



More information about the MIMEDefang mailing list