Page 1 of 1
Spamassassin Gospel
Posted: Sat Jun 10, 2006 1:11 pm
by kmcelwain
Okay I know that you can't distribute the rpms directly.
However, we can post links and a laundry list of neccessary files right?
I actually installed spamassassin on my previous mail server with no problems. I'm running into multiple problems with scalix...it's asking for things that should be there.
Now I probably so messed up that I feel like chucking it all and starting from scratch again.
I need help....any hopes because this is my weekend and I need to have this done before monday.
Posted: Sat Jun 10, 2006 1:21 pm
by ScalixSupport
Can you provide some details as to what problems you're seeing? What flavor of Linux? What files are missing, etc?
Thanks,
Rachel
Spamassasin
Posted: Sat Jun 10, 2006 1:37 pm
by kmcelwain
Sure thing.
OS: Fedora Core 4 32bit
Scalix 10.0.1
I downloaded sendmail-devel-8.13.4-2.i386.rpm
did a rpm -ivh with no problems
I downloaded spamass-milter-0.3.1-3.fc4.i386.rpm
tried to to the rpm -ivh and that's when the dependecy errors start showing up.
libstdc++
but the system said that what I downloaded was already present and then the vicious loop starts.
I found a tarball that had a milter and it was geared at debian but you could make install.
I did and it made a spamass-milter...but the system still couldn't find it.
so now I'm starting off from scratch. Mainly I want it to be setup the way you guys want it setup, that way if I have a problem you are familiar. Linux can be a crazy customized world so I'm just trying to keep it as vanilla as possible.
Also,Thanks for the prompt reply.
Suggestions?
Posted: Sat Jun 10, 2006 2:06 pm
by ScalixSupport
Hi. libstdc++ is part of your standard Redhat distribution so either you didn't install that component or the spamass-milter rpm is complaining about a version. Could you check to see if the error is that it's missing or the wrong version. If it's the former, you probably didn't install that component, so go back to your RH discs and install that package. If it's a version error (which would be strange), then you may want to just build spamass-milter from source. To do that, download the source from:
http://savannah.nongnu.org/projects/spamass-milt/ then follow the readme file (I believe it's just ./configure;make;make install.
Thanks,
Rachel
spamass-milter
Posted: Sat Jun 10, 2006 2:17 pm
by kmcelwain
Okay, beleive it or not...checked that. Seemed to me to be a version issue with libstdc++.
So I went to the exact website you mentioned and tried that already. Problem is....there is no documentation on what to do next. I tried starting the service.
service spamass-milter start
all I got a was a message about unknow service.
I figured it doesn't really matter where it was installed as long as the system knew that it existed.
So the two files that I referenced...they should have installed fine...is that what I'm hearing.
Should i put my FC4 box online and install updates before installing Scalix?
I can't put it up beforehand because I don't want to get hit with tons of mail before i'm ready.
Posted: Sat Jun 10, 2006 2:54 pm
by ScalixSupport
Hi Karl,
So you were able to build spamass-milter from source, correct? If so, you do need to start it up. I can't remember if the source comes with an init.d startup file, but doesn't sound like it. I'm not at my computer right now, but I'll post my init.d and sysconfig spamass-milter file here so you can use those. It probably won't be until tomorrow.
The other thing you can try in the mean time is to install the fc4 RPM that you have with the nodeps option which will install the init.d, sysconfig and any other config files on your system, then do a make install again from the source directory to install the version you just made over that one. Just to be sure you might want to do a "which spamass-milter" before doing the rpm -iv --nodeps and see where make install installed it. Then after doing the rpm -iv --nodeps check the /etc/init.d/spamass-milter file and see where it's looking for the spamass-milter binary. If it's the same location, then doing a make install should overwrite the old one with the one you just built. Check the date/time stamp to be sure. Of course, if all else fails you can simply copy the spamass-milter files from /etc/init.d and /etc/sysconfig, do an rpm -e and then copy those back in.
Thanks,
Rachel
spamass-milter
Posted: Sat Jun 10, 2006 3:01 pm
by kmcelwain
Okay I'm back to the beginning so let's figure this out.
"spamass-milter", "0.3.1", "3.fc4"
Unlocatable package libstdc++.so.6(GLIBCXX_3.4.6)
I've got all my install disks...I just need to know what I need to get this going.
spamass-milter
Posted: Sat Jun 10, 2006 3:12 pm
by kmcelwain
Oh could it be that the spamass-milter is looking for the older version....so if that is the case would the nodeps work?
I have verified that glibc-2.3.5-10.i386.rpm is installed
Trying a rpm -ivh --nodeps spamass-milter.xxx.rpm
spamass-milter
Posted: Sat Jun 10, 2006 3:20 pm
by kmcelwain
Okay...that may have been the problem. Wish there was a way to know for sure.
I'm setting up Scalix...is there an easy way to configure the users to have a junkmail box...and test it?
Posted: Sat Jun 10, 2006 3:49 pm
by ScalixSupport
Hi Karl,
From what you posted, it looks like the spamass-milter is looking for glibc 3.4.6 and you only have 2.3.5 installed. Perhaps you'll want to install the fc4 upgrades. I'm a RHEL3 user, so maybe some of our FC4 users can comment on the version of glibc on their system and what update they're using.
You'll want to read up on spamassassin to understand the configuration parameters. There's an sa-update program that will update your spamassassin rules to the latest, so that's always a good idea. You may also want to install razor2, pyzor and dcc onto your system which are spamassassin plugins that enhance it's functionality.
As far as a junkmail box, spamassass tags spam with header messages. You can use Scalix rules to filter those messages into each user's Junk E-mail folder.
Thanks,
Rachel
Spamass-milter
Posted: Sat Jun 10, 2006 3:55 pm
by kmcelwain
Rachel,
Thanks again for the reply.
Filter rules is not problem....however, is there an easy script or tool to push this filter rule to all of my users and say setup their junkmail for them. That would be real handy.
configuration problem
Posted: Sat Jun 10, 2006 4:02 pm
by kmcelwain
I noticed when sendmail was starting up...a message about Xspamassassin, localsocket spamass.sock missing.
Well it is missing
Got spamass-milter and spamassassin running....everything checked out per the guide
Still not working though sendmail can't start.
glibc 3.4.6 doesn't exist for FC4...as far as I can tell.
Is there a better platform to be running this on. All I want is free and documented running fine.
That's it.
Posted: Sat Jun 10, 2006 10:31 pm
by ScalixSupport
Hi Karl,
Glad it working for you (from your other post). You can use sxaa to push the filter out to all of your users. You can probably do a search here and find some samples of what others have done. Oh, BTW, sxaa can be found in the admin_resource_kit subdirectory of the Scalix tarball along with the readme file explaining how to use it.
Thanks,
Rachel