SpamAssassinSPAM륢ɥ쥹Ͽ
SpamAssassinSPAM륢ɥ쥹Ͽ
Ϥ
ΥɥȤǤϡPerlǺեƤSPAMե륿ǤSpam Assassinˤơ륢ɥ쥹ꤷSPAMȽưϿˡˤĤ롥
Spam Assassinϡ٥ե륿Bayesian FilterˤˤäƥǡϡؽƤ뤬ǽǤϤʤ١
餫SPAMȤϿ֥åꥹȤءSPAMȤƥۥ磻ȥꥹȤؤϿԤꤹ롥
ʤѤƤΤSpam AssassionΥС3.0.1ǡMacOS X Server 10.4dzǧƤ롥
Ķγǧ
mercury:~ root# locate spam|grep bin /usr/bin/spamassassin /usr/bin/spamc /usr/bin/spamd mercury:~ root#
|
mercury:~ root# /usr/bin/spamassassin --version SpamAssassin version 3.0.1 running on Perl version 5.8.6 mercury:~ root#
|
ۥ磻ȥꥹȤȥ֥åꥹȤϿ
mercury:~ server$ locate local.cf /private/etc/mail/spamassassin/local.cf /private/etc/postfix/sample/sample-local.cf mercury:~ server$
|
mercury:~ server$ cat /private/etc/mail/spamassassin/local.cf # This is the right place to customize your installation of SpamAssassin. # # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be # tweaked. # ########################################################################### # # rewrite_subject 0 # report_safe 1 # trusted_networks 212.17.35.
# Bayesian Auto Learn auto_learn 1
# Safe Reporting safe_reporting 0
# Full/Terse Reporting use_terse_report 0
# Subject Tag subject_tag *** Warning: Junk Mail ***
# Rewrite the Subject rewrite_subject 0
# Use Bayesian Filtering use_bayes 1
# OK locals ok_locales en
# OK languages ok_languages en fr de ja
# Required hits to be marked as spam required_hits 6 mercury:~ server$
|
-
SPAMȽꤵ줿ʤ륢ɥ쥹whitelist_fromȤƴҤ롥
#WhiteList whitelist_from alerts-auctions@mail.yahoo.co.jp whitelist_from friend@nospam.jp
|
#Blacklist Blacklist_from *@spammail.com
|
ͭ
- locate.cfѹ硤Spam AssassinƵưɬפ롥
- MacOS Xξ硤Spam Assassinϥ륹ΥեȤClam AV鵯ưͤˤʤäƤΤǡ-HUPClamavΥǡǡlocate.cfɤ߹ߤ롥
mercury:~ root# ps -aux|grep clam clamav 16999 0.0 0.1 28528 576 ?? Ss Sun03AM 0:00.27 freshclam -d -D -pfreshcl am.pid -c 1 clamav 17193 0.0 2.1 59836 22016 ?? Ss 1:49PM 0:03.14 amavisd (master) clamav 17197 0.0 2.0 59128 21100 ?? S 1:49PM 0:00.50 amavisd (ch1-avail) clamav 17198 0.0 0.1 59076 1460 ?? S 1:49PM 0:00.01 amavisd (virgin child) root 17248 0.0 0.0 27812 4 p0 R+ 1:50PM 0:00.00 grep clam mercury:~ root#
|
mercury:~ root# kill -HUP 59836 mercury:~ root#
|