<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=270462707-29052008>The script
"update_bad_phishing_sites" currently doesn't work if it has to use a http
proxy:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=270462707-29052008>"</SPAN></FONT><FONT
face=Arial size=2><SPAN class=270462707-29052008><FONT size=2>running hourly
cronjob scripts SCRIPT: update_bad_phishing_sites exited with RETURNCODE =
2."</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=270462707-29052008><FONT
size=2> </DIV></FONT></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=270462707-29052008>Below you will find
a small patch, which instructs LWP::UserAgent to honor the proxy_* environment
variables.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=270462707-29052008>I tested this with
mailscanner-4.69.9-3.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=270462707-29052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=270462707-29052008>Heinz
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=270462707-29052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=270462707-29052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2>***
/usr/sbin/update_bad_phishing_sites.unpatched
Thu May 29 09:24:13 2008<BR>--- /usr/sbin/update_bad_phishing_sites Thu May 29
09:24:50 2008<BR>***************<BR>*** 140,145 ****<BR>--- 140,146
----<BR> # Create a user agent object<BR> my $ua =
LWP::UserAgent->new;<BR> $ua->agent("UpdateBadPhishingSites/0.1
");<BR>+ $ua->env_proxy;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> if (!($currentbase eq $status_base))
{<BR> print "This is base
update\n";<BR></FONT></DIV></BODY></HTML>