I finally got curl installed and "fixed".  The problem with both is our proxy server obviously doesn't handle "basic" proxy authentication.  There's a curl option that's something like --any_authentication that tries all different kinds of auth.  That finally got me through.

I have been only trying from the command line so far (early in setup).  I'm sure there are more challenges ahead when I get to cron.

Thanks!



Chris Thielen <[EMAIL PROTECTED]>

02/14/2006 01:45 PM

To
[EMAIL PROTECTED]
cc
SpamAssassin <users@spamassassin.apache.org>
Subject
Re: RDJ, wget, and proxy





[EMAIL PROTECTED] wrote:

>
> I'm trying to get rulesdejour going here and having one heck of a time
> making it through my proxy.
>
> to access the proxy server.  I have the proxy_user and proxy_password
> configured in my
> /usr/local/etc/wgetrc file, but continue to receive "407
> Authentication Required" whenever the wget requests try to process.

Does rules_du_jour run from the command line OK, but not via cron?  If
so, one problem you *may* be experiencing is that the cron program runs
jobs with NO ENVIRONMENT by default.  Does wget look to
/usr/local/etc/wgetrc by default?


One thing you could try is forcing the wget parameters --proxy-user and
--proxy-password into the wget parameters variable in your RDJ config
file.  The default WGET_OPTS is "-N", so if you are OK with putting a
password in a config file, you could add this to your RDJ config:

WGET_OPTS="-N --proxy-user=foo --proxy-password=bar"



Chris Thielen

Attachment: signature.asc
Description: Binary data

Reply via email to