Skip to main content

Spam Assassin Upgrade Log

son of babbage June 21, 2005 Goal: Use yum to upgrade spamassassin to the most current version (3.03) Issue: Spamassassin 2.61 is already installed and yum won't upgrade it. Solution: Remove existing version and reinstall from the DAG repository. 1. Remove existing version This step will remove spamassassin, the Plesk spamassassin interface, psa-spamassassin, plus the spamassassin section in each user's .qmail file.
[admin@localhost admin]$ sudo yum remove spamassassin ... I will do the following: [erase: spamassassin 2.61-3.i586] I will erase these to satisfy the dependencies: [deps: psa-spamassassin 7.0.3-fc1.build040611.14.i586] Is this ok [y/N]: y Running test transaction: Test transaction complete, Success! ===> Reading /etc/psa/psa.conf ... Delete spamassassin preferences from .qmail files for mailnames ... Erased: spamassassin 2.61-3.i586 psa-spamassassin 7.0.3-fc1.build040611.14.i586 Transaction(s) Complete
2. Install required Perl module: Time::HiRes [admin@localhost admin]$ sudo yum install perl-Time-HiRes 3. Create separate DAG repository configuration file for yum Use vi to create a new configuration file that references only the dag repository. Note: this step assumes that you have already set up and tested the DAG repository (in /etc/yum.conf). [admin@localhost admin]$ sudo vi /etc/dag.yum.conf Add the following text: [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=fedora-release tolerant=1 exactarch=1 retries=20 [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Save the file: [Esc]:wq 4. Install spamassassin from the DAG repository. Note how we use the -c switch to point to the new configuration file. [admin@localhost admin]$ sudo yum -c /etc/dag.yum.conf install spamassassin ... I will do the following: [install: spamassassin 3.0.3-1.1.fc1.rf.i386] I will install/upgrade these to satisfy the dependencies: [deps: spamassassin-tools 3.0.3-1.1.fc1.rf.i386] [deps: perl-Digest-HMAC 1.01-1.rhfc1.dag.noarch] [deps: perl-Net-DNS 0.48-1.1.fc1.rf.i386] Is this ok [y/N]: y ... Installed: spamassassin 3.0.3-1.1.fc1.rf.i386 Dep Installed: spamassassin-tools 3.0.3-1.1.fc1.rf.i386 perl-Digest-HMAC 1.01-1.rhfc1.dag.noarch perl-Net-DNS 0.48-1.1.fc1.rf.i386 Transaction(s) Complete

Comments

Popular posts from this blog

Virus scan Windows using a Linux live CD

[There's been quite a bit of interest in this post and I've expanded on it quite a bit. Please post any comments or questions to help me improve this guide. - Neil] Keith and I have both run into situations where we want to recover a Windows computer by cleaning it up with a Linux Live (bootable) CD distro. This offers several advantages to cleaning up an infected or compromised computer by booting into Windows: It prevents the malware, if it exists, from jumping from the infected computer or partition we are trying to fix to the repair partition or boot medium.If we boot from a CD, there's actually no way to alter the boot medium, since it's read-only. Naturally, we started with Knoppix -- download it here. Installing and scanning with F-Prot is covered in this Knoppix.net discussion thread, Virus Scan from LiveCD, which describes how to install F-Prot from the command line using apt-get. Also, In Knoppix 5.1, you can boot from the Knoppix CD and install F-Prot wi…

1Password on Ubunutu

One of the biggest barriers preventing me from using Ubuntu as my primary desktop OS used to be my favorite password manager, 1Password. I use it on the Mac, Windows, iOS, and Android and couldn't really function without it.

For a while I could use it on any computer running a web browser using the 1Password Anywhere browser only implementation, with Dropbox. But Dropbox no longer supports that option (not sure why, but that's the way it goes).

I was thrilled to discover that 1Password 4.6 for Windows runs quite reliably on Ubuntu via Wine. Even better, the Browser Helper program also runs on Wine, which means I can also use the nifty browser add-ons to auto-fill web logins.

Installation was super easy. I installed Configure Wine from the Ubuntu Software app, and just like that, I could run Windows applications. I then followed the excellent instructions on the Agile Bits support site, Running 1Password for Windows on Linux systems. It worked just as advertised, and now I am …

Joomla 1.5 Directory Status: Writeable

[UPDATED] Joomla 1.5 is acting flaky on one of our installations because the directories are set to ‘unwriteable’. To see the their current state, log in as Super Administrator and go to Help > System Info > Directory Permissions. Elsewhere, it's been suggested that the specified directories must be set to “world-writeable” (777). This works, but it is a very bad idea, since it means anyone can change your files! Not cool. Fixing Security with User and Group Settings To perform these changes, you need shell (command line) access to your server. If you don't have it, you can beg your host to make these changes for you, or switch to a Joomla-friendly host. I'm going to assume that you are using a LAMP (Linux/Apache/MySQL/PHP) server because if you're not, then ... well, these instructions should work in principle, but the specifics for your server may be quite different. Here's the issue: you, the FTP user, need full access to your files. So does Joomla, wh…