View previous topic :: View next topic |
Author |
Message |
Bosnian[X] n00b
Joined: 12 Jul 2002 Posts: 66 Location: Sweden, Malmö
|
Posted: Tue Oct 28, 2003 10:48 am Post subject: Setting up Spamassassin system-wide Sendmail e-mail server? |
|
|
Hello,
Im admin for a server at work that runs email server with following software.
Sendmail, Procmail and Qpopper.
All my pop3 accounts are in /var/spool/mail and now my boss wants me to install some kind of spamfilter. Spamassassin was choice nr.1 because i heard just positive stuff about it.
Now to tricky part, i have never installed it before and have a no clue how to doit.
I want spamassassin to work system-wide for all users. I have installed spamassassin and that's the only thing i did.
How do i proceed now with settin it up spamassassin it works wit PROCMAIL and Sendmail.
I have searched forum but i could't find any help how to setup spamassassin for /var/spool/mail folder with Sendmail and procmail..
Im counting on u.
//damir |
|
Back to top |
|
|
Toke n00b
Joined: 21 Jun 2003 Posts: 15 Location: Denver, CO
|
|
Back to top |
|
|
Bosnian[X] n00b
Joined: 12 Jul 2002 Posts: 66 Location: Sweden, Malmö
|
Posted: Tue Oct 28, 2003 4:41 pm Post subject: |
|
|
Toke: Thanx for a reply but that's not what i need.
I want to install Spamassassin system-wide wich means i don't want the per user settings.
All my accounts are in /var/spool/mail
What do i put in spamassassin conf and /etc/procmailrc file so that spamassassin scans all emails in /var/spool/mail and send spam mail into special folder or just mark the subject line with "SPAM" so that account owner can easily setup their client to filter those spammails.
//damir |
|
Back to top |
|
|
Toke n00b
Joined: 21 Jun 2003 Posts: 15 Location: Denver, CO
|
Posted: Wed Oct 29, 2003 12:42 pm Post subject: |
|
|
To have spamassassin alter the Subject line add this to local.cf
The default is ******SPAM*******
but can be changed with
There's a lot you can change/configure in that file. Check out http://au.spamassassin.org/doc/Mail_SpamAssassin_Conf.html for a complete list.
I'm not familliar with procmail, but in qmail, I did need to make changes to each mailbox. Since the box has about fifty domains, I wrote a cron script to check for new mailboxes and make the alterations, if needed. Sorry I can't be of more help with that part. |
|
Back to top |
|
|
eltech Guru
Joined: 05 Nov 2002 Posts: 582 Location: New York
|
Posted: Wed Oct 29, 2003 1:00 pm Post subject: Not trying to hi-jack |
|
|
Toke wrote: | To have spamassassin alter the Subject line add this to local.cf
The default is ******SPAM*******
but can be changed with
There's a lot you can change/configure in that file. Check out http://au.spamassassin.org/doc/Mail_SpamAssassin_Conf.html for a complete list.
I'm not familliar with procmail, but in qmail, I did need to make changes to each mailbox. Since the box has about fifty domains, I wrote a cron script to check for new mailboxes and make the alterations, if needed. Sorry I can't be of more help with that part. |
not trying to hijack here but look at this thread https://forums.gentoo.org/viewtopic.php?t=100671 am trying to get similar results as this member .. anyone offer any suggestions? |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Thu Oct 30, 2003 1:17 pm Post subject: |
|
|
if you use sendmail, have a closer look to sendmail's milter interface, its *very* good. I think you can compile spamd/spamc the way that it will use sendmail's milter, if not, have a look at amavis(-ng/new, any of the newer ones), they can talk to milter. (and SA is "just" an perl script, thats easily embeddable by amavis*) |
|
Back to top |
|
|
|