Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using slackware 10.2 (2.4.31 kernel)
sendmail (the default version that comes pre-installed on slackware 10.2)
clamAV-0.88
spamassassin-3.1.0
MIMEDefang-2.56
My problem is that when I add the line to /usr/share/sendmail/cf/cf/sendmail-slackware-tls-sasl.mc file:
I cannot get mail. It gets to the server, and is sitting somewhere. If I remove that line, and rebuild the sendmail .cf file, then the mail will get delivered. I really don't know anything about this stuff. Any help will be greatly appreciated.
If this is your first *nix mail server, I suggest you follow the install instructions at http://qmailrocks.org.
The install makes qmail the core of the mail server, and adds spamassassin and clamAV. It doesn't have Mimedefang, but if you look at the qmailrocks forums, or the qmail wiki you will find how to add modules to the installs.
They do have instructions for slack on the site, linked right off the main page.
Thanks for the link. Since I have already gone through the process of learning sendmail, and have everything configured for my many users (aliases, forwarding, holiday... etc) I will stay with sendmail.
Really, the only reason I'm trying to get mimedefang working, is to use spamassassin. Everything except spamassassin is working correctly. I have clamAV working with the sendmail MILTER. This is done when clamd is started, it opens a socket to for use with the sendmail MILTER. Is there a way to do the same thing with spamassassin, or do you have to use mimedefang?
Or is there another program that will filter spam out?
Last edited by aubrey-calm2; 03-09-2006 at 09:25 AM.
I have spamassassin working on several servers, and I never installed mimedefang. I don't see it listed as a dependency for spamassassin, and running the makefile.pl that comes with spamassassin doesn't look for or ask about mimedefang.
If you could please post the output that claims you need mimedefang for spamassassin, I can help you more, but I'm hitting a wall as I don't see it as a dependency. It does sound like it would be a useful tool against spam, but spamassassin (I think) has another way to do a similiar thing.
I don't really have any documentation on it. A friend of mine uses it, and said that it's easier. If I don't need to use it, then I don't want to. It is giving me a head-ache really.
How do you make spamassassin work with sendmail? Is it through the MILTER? What socket do you use? Where is the config file that decides all of this? You are probably the man I have been looking for, for the past 3 weeks. If you have this working please do let me know how to config it along with the sendmail.mc file.
As of now, I have clamAV working using the MILTER. In order to start it, I use the following...
/usr/local/sbin/clamav-milter -l -o -q /var/milter/clmilter.sock
And my sendmail.mc file has the following...
MAIL_FILTER(`clmilter',`S=local:/var/milter/clmilter.sock, F=, T=S:4m;R:4m')dnl
I guess what I'm trying to find out is, how do the two (spamassassin & sendmail)work together?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.