On 3/14/08, Mufit Eribol wrote: > > It is time to re-install my server from scratch on. > > I created this problem by myself. A good lesson for me. I will never > ever manually install cpan modules again. It is well beyond my technical > capacity. > > Thank you for your kind support anyway. > > Best wishes, > Mufit >
If I wanted to revert to 3.1.9, this is how I would approach it, YMMV. Use entirely at your own risk if you use it. Backup the configuration files: mkdir /etc/mail/spamassassin-backup cp -ir /etc/mail/spamassassin/* /etc/mail/spamassassin-backup ls -l /etc/mail/spamassassin-backup One could find the location of the two versions by running: find / -name SpamAssassin.pm Remove the Perl modules of the version installed from source (from CPAN): rm /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm rm -rf /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin Remove v320.pre (it's not compatible with 3.1 versions): rm /etc/mail/spamassassin/v320.pre Backup the rules directory (just in case): mkdir /usr/share/spamassassin-backup cp -ir /usr/share/spamassassin/* /usr/share/spamassassin-backup Remove the rpm based spamassassin (the --nodeps switch is very important here) rpm -e --nodeps spamassassin Remove the SA rules directory (so there are no 3.2 rules left to mess things up): rm -rf /usr/share/spamassassin/ Reinstall spamassassin 3.1.9: yum install spamassassin-3.1.9 Another way to install it is to find the rpm in the cache, and use rpm instead of yum: rpm -i /var/cache/yum/base/packages/spamassassin-3.1.9-1.el5.i386.rpm Restore local.cf (and any another .cf or .pre files you might have added or customized): cp /etc/mail/spamassassin-backup/local.cf /etc/mail/spamassassin The original local.cf should also be in a file named local.cf.rpmsave Run sa-update: sa-update Test: spamassassin -V wget http://spamassassin.apache.org/gtube/gtube.txt spamassassin -tD <gtube.txt amavisd reload -- Gary V ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
