On Wed, 4 May 2016 08:57:59 -0400
Reinier Carmona Lizana wrote:

> Hi
> 
> Someone has managed to sa-update through a proxy?

It should work if you have full internet DNS access, some networks
behind proxies only have local DNS. If in doubt try this:

$ dig +short  mirrors.updates.spamassassin.org txt
"http://spamassassin.apache.org/updates/MIRRORED.BY"; 

Also try running sa-update -D for more information


> I tried the following ways :
> 
> 
> 1- I set on my /etc/bash.bashrc
> 
> export HTTP_PROXY=http://myserver:myport/
> export FTP_PROXY=http://myserver:myport/
> 
> Another way:
> 
> 2- I set on my
> 
> alias sa-update='env http_proxy=http://myserver:myport/
> https_proxy=http://myserver:myport/  sa-update'

IIRC it uses curl, wget or fetch if it finds one of them, and will
fall-back to perl. I'm guessing there's a reason for not
preferring perl.

I think  curl and wget use the lower-case versions and fetch prefers
upper-case, but should fall-back to lower.

Reply via email to