Em ddi.nh ca`i sendmail +  procmail + spamassassin  tre^n
redhat.

Procmail thi` co' sa(~n version 3.21.21, spamassassin thi`
em la^'y o+? tre^n website cu?a ho.[1], ca`i ba(`ng perl
Makefile.PL;make;make install

File /etc/procmailrc:

###################################
DROPPRIVS=yes
# procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=/var/spool/mail
LOGFILE=/var/log/procmail
SHELL=/bin/sh

:0fw
* < 256000
|/usr/bin/spamassassin -P

:0e
{
EXITCODE=$?
}
##############################

File /etc/mail/spamassassin/local.cf( generated tu+`
http://www.yrex.com/spam/spamconfig.php (version 1.01) )
nhu+ sau:

#########################################
# SpamAssassin config file for version 2.5x
# generated by http://www.yrex.com/spam/spamconfig.php
(version 1.01)

# How many hits before a message is considered spam.
required_hits           5.0

# Whether to change the subject of suspected spam
rewrite_subject         1

# Text to prepend to subject if rewrite_subject is used
subject_tag             *****SPAM*****

# Encapsulate spam in an attachment
report_safe             1

# Use terse version of the spam report
use_terse_report        0

# Enable the Bayes system
use_bayes               1

# Enable Bayes auto-learning
auto_learn              1

# Enable or disable network checks
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1

# Mail using languages used in these country codes will
not be marked
# as being possibly spam in a foreign language.
# - english japanese 
ok_languages            en ja 

# Mail using locales used in these country codes will not
be marked
# as being possibly spam in a foreign language.
ok_locales              en ja 

#########################################

sau ddo' em restart la.i /etc/init.d/sendmail, ok

Kho^ng hie^?u nhu+ the^' dda~ ddu? chu+a hay la` em ca^`n
the^m refinement gi` ha? ca'c ba'c! Ca'c ba'c cho em va`i
xu! Thanks!

Vh

[1]
http://old.spamassassin.org/released/Mail-SpamAssassin-2.63.tar.gz


http://www.fedu.uec.ac.jp/~vuhung/
http://chuiyang.org

__________________________________________________
Do You Yahoo!?
GANBARE! NIPPON!
http://mail.ganbare-nippon.yahoo.co.jp/



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho