Re: Anti Virus and Anti Spam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



"horas simalango" <horasima@xxxxxxxxx>
writes:
> New be in linux!
> Currently I have Install DNS, Email and Web server using centos 4.3.
> All functions are running properly!
> What anti virus and anti spam recomended for me to install to my
> server? 

I have had very good success with SpamAssassin.  I do not presently use
any anti-virus software in my email path, so I can't speak to that.

> What I have to configure after installing anti virus and anti spam?
> Would some one help me please.! Now many spam mail come to user
> mailbox!

You will need to inject it somehow into your mail delivery path.  I do
this by using procmail.  I have a pipe/filter rule which runs the e-mail
through SpamAssassin (using the `spamc' program to connect to a
long-running daemon) and then filters based on the headers returned.  My
file looks like this:

DEFAULT=$HOME/Maildir/
LOGFILE=$HOME/.maillog
EXTENSION=$1
MAILDIR=$HOME/Maildir

:0
* EXTENSION ?? ^^spam^^|^^ham^^
|spamc -L $EXTENSION

:0 f
|spamc

:0
* ^X-Spam-Flag:.*YES
{
        # This rule puts everything with a score of at least 10 in /dev/null
	:0
	*^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
	/dev/null
}

I then combine this with a Gnus scoring rule (client-side filter applied
to POP mail downloads) to put everything with a spam score of at least 5
(the default to get a positive in SpamAssassin) in a junk mailbox.

- Michael

-- 
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see <http://www.elehack.net/resources/gpg>.

Attachment: pgpcXwgUnZHmr.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux