LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Reply
 
Search this Thread
Old 03-08-2006, 02:52 PM   #1
aubrey-calm2
LQ Newbie
 
Registered: Feb 2006
Location: Alabama
Distribution: Slackware 10.2/11.0
Posts: 23

Rep: Reputation: 15
slackware: sendmail, clamAV, MIMEDefang, spamassassin


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:

INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,F=T,T=S:5s;R:5s;E:5m')dnl

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.

-Aubrey
 
Old 03-08-2006, 07:24 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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.

Peace,
JimBass
 
Old 03-09-2006, 10:10 AM   #3
aubrey-calm2
LQ Newbie
 
Registered: Feb 2006
Location: Alabama
Distribution: Slackware 10.2/11.0
Posts: 23

Original Poster
Rep: Reputation: 15
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 10:25 AM.
 
Old 03-09-2006, 07:29 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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.

Peace,
JimBass
 
Old 03-10-2006, 12:44 AM   #5
aubrey-calm2
LQ Newbie
 
Registered: Feb 2006
Location: Alabama
Distribution: Slackware 10.2/11.0
Posts: 23

Original Poster
Rep: Reputation: 15
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?

Thank-you for your help,
Aubrey
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailscanner With Spamassassin + Clamav On The Same Server treedstang Linux - Enterprise 3 02-09-2006 11:53 PM
qmail + spamassassin + clamav in fedora core3 inaki Linux - Software 1 04-14-2005 10:56 PM
Adding spamassassin rules when filtering with mimedefang? justanothergeek Linux - Software 0 02-16-2005 11:18 PM
Perl Script Program (need) : SpamAssassin-ClamAV-Procmail-Howto cyberjames Slackware 8 01-27-2005 12:53 PM
Problem with mimedefang and sendmail tl511 Linux - Software 1 04-22-2004 09:57 PM


All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration