AW: Mailsystem Migration

Marco Rebsamen mrebsamen at
Tue Aug 17 14:14:05 IST 2010

Hi Kevin

So you say everything I need is in /etc/mail/spamassassin ? Also the things I teached it with sa-learn ?

Greets Marco

-----Ursprüngliche Nachricht-----
Von: mailscanner-bounces at [mailto:mailscanner-bounces at] Im Auftrag von Kevin Miller
Gesendet: Montag, 16. August 2010 20:39
An: 'MailScanner discussion'
Betreff: RE: Mailsystem Migration

Hi Marco,

You shouldn't have to move anything, unless you've created your own rules, or are using 3rd party rules such as the KAM ruleset.  Your local spamassassin files normally live in /etc/mail/spamassassin.  Check there - anything that isn't part of the stock installation will (should) be there and can be copied over.

When I'm building a new MailScanner gateway I generally copy the existing /etc/MailScanner and /etc/mail/spamassassin directory over to the new machine.  Then I install Jules' ClamAV & Spamassassin combo package.  That makes upgrading easier as he's more consistant to release an install package when a newer version comes out than openSUSE is.  If you don't have any home rolled rules in the spamassasin directory you probably don't need to copy it.

Next I install the latest MailScanner package for SUSE.  The advantage of copying the files over first before the install is the install routine will see the old .conf files, and use them.  If there are changes you'll get the .rpmnew files created.  Makes editing the .conf files much easier.  The install routine will create the appropriate hooks to spamassassin

Spamassassin itself will be installed in /var/lib/spamassassin/X.00Y00Z where XYZ is the version numbers.  You shouldn't need to do anything with that.

Be sure to run sa-update after you install spamassassin so that it pulls down the rules.  They aren't installed by default IIRC.

Hope this helps...

Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500 


From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Marco Rebsamen
Sent: Monday, August 16, 2010 4:18 AM
To: mailscanner at
Subject: Mailsystem Migration

Hello Everybody

I'm currently migrating my Mail System from Suse 10.3 to 11.3. I'm realy confused about the Spamassassin stuff. I can't figure out what I need to move and where I have to place it.

I would appreciate if someone could give me a vice how to figure this out, or even can tell me what I have to move.


MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list