Hello All. I recently tried to install Swerts SPAM filter contrib and I received the following error.
[root@server root]# Retrieving http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/sme-spamfilter-1.3.0-1.noarch.rpm
bash: Retrieving: command not found
[root@server root]# error: skipping http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/sme-spamfilter-1.3.0-1.noarch.rpm - transfer failed - Unknown or unexpected error
I downloaded the contrib to verify that is is in fact available, and installed it but this did not get the filter going.
I have installed this contrib a few times before with no troubles. Looking back at posts I can't find a solution. Does anyone know what is causing this problem?
Chris Curtis
SOLVED (at least for me)
Hello again All. I'm not a programmer, and I don't usually mess with scripts. However, I could not get this error out of my head. The error was bitching about a failed transfer, but I know the file was available because I downloaded it. So,,,, I fired up pico, and found the line in question:
# Install SpamFilter server-manager module
rpm -Uvh $SITE/sme-spamfilter-1.3.0-1.noarch.rpm
My non programmer mind made an eduated(!) guess, and I changed the line to reflect a local file, and not one that results from some funky variable, like below.
# Install SpamFilter server-manager module
rpm -Uvh /root/sme-spamfilter-1.3.0-1.noarch.rpm
And it is now working. I hope someone else finds this helpfil, or at least amusing!!!!!!!!!!!
Chris Curtis