Hi Lisa:
Hi Lisa:
Spamassassin basically justs tags emails as spam. You need other programs like procmail to actually dispose of it.
We run email for about 5000 domains and around 20,000 users. We use qmail with qmail-scanner for virus scanning and then vpopmail with qmailadmin, maildrop and spamassassin for pop3 and user mail management. Qmailscanner automatically dumps emails with viruses into a holding directory. Qmailadmin allows you to pass all mail through 'maildrop' before putting it into the user's mailbox. Maildrop is a scripting program similar to procmail. We use a maildrop script to run spamassasssin against the email - if the spam flag is triggered maildrop directs the mail to a Spam account (or spam folder if we're running IMAP). Otherwise the mail goes into the user's regular pop3 box. A cron job automatically deletes virus and spam emails older than ten days.
It sounds more complicated than it is but it works really well and allows us to have user configurable spam preferences and domain level bayes databases.
I'm sure there are similar ways of handling things in the sendmail world. However, we switched from Sendmail to Qmail about a year ago because it just seemed easier to accomplish what we wanted with Qmail
At 02:15 PM 11/4/2004, you wrote:
Hi Folks,
I've spent most of this week on this and am just getting frustrated. I'm Sysadmin for an ISP. I installed MIMEDefang, Spamassassin and filter::scan on my Red Hat Sendmail server as a way of dealing with my customers spam/virus (mostly the spam, it's a REAL problem).
As far as I can tell, MIMEDefang/Spamassassin are working OK. I tested Spamassassin when I installed it with the sample-nonspam.txt and sample-spam.txt included. Mimeddefang adds this header to e-mail:
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
and Spamassassin adds a SpamAssassinReport.txt as an attachment to each spam mail. But I've been reading websites for two days now and can't figure out how to do anything else with this. Basically I don't want spam coming into my users mailboxes, they don't want it. I understand there will be some amount of false positives, but I just want to drop (or bounce or whatever) the spam before it reaches the mailboxes.
I'ld also like to drop, bounce, whatever mail that has certain words in the subject, such as rolex, penis, viagra, etc.
I know I can do the above with MIMEDefang/Spamassassin, but I'll be darned if I can figure out how. And the more I try to figure it out, it seems, the more confused I am getting.
Also, I'm not sure how I'm supposed to feed it spam. I have Sendmail/Qpopper and most of my users pick up their mail using Outlook Express. I understand I can't just forward spam to a spam mailbox and run sa-learn on that as the forwarding will not get the original headers.
There has to be a easy way to learn to use this and get it to do what I want but I can't really figure it out. Surely there are some other ISP's on these lists who might be willing to tell me how they use it.
Thanks,
Lisa Casey
Best Regards,
Jeff Koch, Intersessions