水曜日, 9月 06, 2006

日本語PACKのお勧めスパム対策ソフト

最近日本語のスパムは酷くなってきました。やはりお勧めUNIXスパム対策ソフトの紹介が必要ですね。
我々はカスペルスキー・アンチスパム(KAS)を結構使っています。
カスペルスキー製品はUNIXに対しては軽いだし、インストールと設定が簡単で、customizedで組み込みも出来ます。少し情報教えるね、KASを買いますと簡単な日本語スパム対策が出来るよ↓

カスペルスキー・アンチスパム日本語PACK(JLK/Japanese Language Pack)を入れる方法は↓
もし興味がありましたら株式会社ケイエルジェイテック(http://www.kljtech.com)また info@kljtech.comに聞いて下さい、宜しくお願いします。


●日本語対策JLK(Japanese Language Pack)をダウンロードする。
# wget http://www.kljtech.com/******/antispamisp.tgz

--16:15:03-- http://www.kljtech.com/******/antispamisp.tgz
=> `antispamisp.tgz'
Resolving www.kljtech.com... 203.143.119.74
Connecting to www.kljtech.com|203.143.119.74|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 71,647,402 (68M) [application/x-gzip]

100%[============================================================================>] 71,647,402 9.09M/s ETA 00:00

16:15:10 (10.10 MB/s) - `antispamisp.tgz' saved [71647402/71647402]

# tar ztvf antispamisp.tgz
drwxr-xr-x system/system 0 2006-02-16 11:07:37 antispamisp/
drwxr-xr-x root/root 0 2006-02-16 12:24:56 antispamisp/doc/
-rw------- root/root 2192410 2004-11-05 22:12:17 antispamisp/doc/kasp2.0_anti-spamen.pdf
-rw-r--r-- root/root 12198 2006-02-16 13:34:29 antispamisp/doc/kasunix_qs.txt
-rw------- root/root 4894 2004-11-05 22:12:17 antispamisp/doc/release_notes.txt
drwxrwxr-x root/root 0 2006-09-02 06:13:53 antispamisp/software/
-rw------- root/root 14411608 2004-11-05 22:14:07 antispamisp/software/kas-isp-2.0.0-42.i386.deb
-rw------- root/root 14522464 2004-11-05 22:13:31 antispamisp/software/kas-isp-2.0.0-42-Linux.tar.gz
-rw------- root/root 13357901 2004-11-05 22:12:54 antispamisp/software/kas-isp-2.0.0-42-FreeBSD.tar.gz
-rw------- root/root 13355182 2004-11-05 22:15:21 antispamisp/software/kas-isp-2.0.0-42.tgz
-rw------- root/root 14433853 2004-11-05 22:14:45 antispamisp/software/kas-isp-2.0.0-42.i386.rpm
drwxr-xr-x root/root 0 2006-02-15 17:55:54 antispamisp/license/
-rw-r--r-- root/root 1493 2006-02-15 17:55:54 antispamisp/license/000F1380.key
drwxr-xr-x root/root 0 2006-09-02 06:18:45 antispamisp/jlk/
-rw-rw-r-- root/root 11896 2006-09-02 06:18:24 antispamisp/jlk/detect-standard-no-rbl.xml
-rw-rw-r-- root/root 13066 2006-09-02 06:17:06 antispamisp/jlk/detect-hard.xml
-rw-r--r-- root/root 314 2006-02-16 11:08:33 antispamisp/jlk/kasrt
-rw-rw-r-- root/root 12248 2006-09-02 06:17:56 antispamisp/jlk/detect-soft-no-rbl.xml
-rw-rw-r-- root/root 16678 2006-09-02 06:18:09 antispamisp/jlk/detect-soft.xml
-rw-r--r-- root/root 154055 2005-05-30 15:40:41 antispamisp/jlk/formal_jp050530.xml
-rw-rw-r-- root/root 15439 2006-09-02 06:18:45 antispamisp/jlk/detect-standard.xml
-rw-r--r-- root/root 10090 2005-05-23 16:41:17 antispamisp/jlk/sfupdates.jp
-rw-rw-r-- root/root 10290 2006-09-02 06:16:55 antispamisp/jlk/detect-hard-no-rbl.xml


●アーカイブJLKはこんあもん↓

# tar zxvf antispamisp.tgz antispamisp/jlk/
antispamisp/jlk/
antispamisp/jlk/detect-standard-no-rbl.xml
antispamisp/jlk/detect-hard.xml
antispamisp/jlk/kasrt
antispamisp/jlk/detect-soft-no-rbl.xml
antispamisp/jlk/detect-soft.xml
antispamisp/jlk/formal_jp050530.xml
antispamisp/jlk/detect-standard.xml
antispamisp/jlk/sfupdates.jp
antispamisp/jlk/detect-hard-no-rbl.xml
# ll antispamisp/jlk/kasrt
-rw-r--r-- 1 root root 314 Feb 16 2006 antispamisp/jlk/kasrt


●コンパイルSCRIPTに付いては↓

# cat antispamisp/jlk/kasrt
#!/bin/bash

sh -c /usr/local/ap-mailfilter/bin/ap-mflt-config -s /usr/local/ap-mailfilter/conf/src -b /usr/local/ap-mailfilter/conf/data -t /usr/local/ap-mailfilter/conf/tmp -d /usr/local/ap-mailfilter/cfdata/mainset -c /usr/local/ap-mailfilter/bin/ap-mflt-compiler


●JLKからKASのダイレクトリーにコピーをする

# cp antispamisp/jlk/kasrt /usr/local/bin/

# chmod 755 /usr/local/bin/kasrt
# mv antispamisp/jlk/formal_jp050530.xml /usr/local/ap-mailfilter/conf/src/profiles/hidden/
# cd /usr/local/ap-mailfilter/conf/src/profiles/hidden/
[root@ko-univ hidden]# ll
-rw-r--r-- 1 root root 154055 May 30 2005 formal_jp050530.xml
-rw-r----- 1 mailflt mailflt 212664 Sep 4 22:40 formal.xml

[root@ko-univ hidden]# mv formal.xml formal.xml.org
[root@ko-univ hidden]# mv formal_jp050530.xml formal.xml
# mv antispamisp/jlk/detect-*.xml /usr/local/ap-mailfilter/conf/src/profiles
mv: overwrite `/usr/local/ap-mailfilter/conf/src/profiles/detect-hard-no-rbl.xml'? y
mv: overwrite `/usr/local/ap-mailfilter/conf/src/profiles/detect-hard.xml'? y
mv: overwrite `/usr/local/ap-mailfilter/conf/src/profiles/detect-soft-no-rbl.xml'? y
mv: overwrite `/usr/local/ap-mailfilter/conf/src/profiles/detect-soft.xml'? y
# mv antispamisp/jlk/sfupdates.jp /usr/local/ap-mailfilter/bin
# chmod 755 /usr/local/ap-mailfilter/bin/sfupdates.jp


●パターンをダウンロード

# /usr/local/ap-mailfilter/bin/sfupdates.jp -v -V
Running sfupdates as mailflt user
downloading jp.files.chk.list.tbz2 from http://downloads1.kaspersky.co.jp/sfupdates
Control file Old: zz/New: 2088b167bd6bd8425efdca6783ea1385
Unpacking control file jp.files.chk.list.tbz2
copying and checking cfbase.gsg.tbz2
cfbase.gsg.tbz2 cksums: zz/72768f80c443edbe3f35d6a15df01217
Checksum check pass for cfbase.gsg.tbz2
copying and checking dd-060828a.tbz2
dd-060828a.tbz2 cksums: zz/f5a28701fbc2b9d7f80578b13c59aff1
Checksum check pass for dd-060828a.tbz2
copying and checking dd-060828b.tbz2
dd-060828b.tbz2 cksums: zz/c9aa7f2f0801f14c8c73f958f56544c3
Checksum check pass for dd-060828b.tbz2
copying and checking dd-060829a.tbz2
dd-060829a.tbz2 cksums: zz/744a320cdfbac5113cefced9411ed514
Checksum check pass for dd-060829a.tbz2
copying and checking dd-060829b.tbz2
dd-060829b.tbz2 cksums: zz/78c42883cfceaca9f686e7b5ce7f715b
Checksum check pass for dd-060829b.tbz2
copying and checking dd-060830a.tbz2
dd-060830a.tbz2 cksums: zz/600d0c2baa1b1be8334ab0ad9012e9c8
Checksum check pass for dd-060830a.tbz2
copying and checking dd-060830b.tbz2
dd-060830b.tbz2 cksums: zz/8f131fdd727f1596cf0ad7d879b2c1d1
Checksum check pass for dd-060830b.tbz2
copying and checking dd-060831a.tbz2
dd-060831a.tbz2 cksums: zz/22ff4f891f690deaf0caae7481875735
Checksum check pass for dd-060831a.tbz2
copying and checking dd-060831b.tbz2
dd-060831b.tbz2 cksums: zz/17e9c8fc0803fa079a77c6e49a316b8f
Checksum check pass for dd-060831b.tbz2
copying and checking dd-060901a.tbz2
dd-060901a.tbz2 cksums: zz/312c11af4011dad6b0db4ebc502a0921
Checksum check pass for dd-060901a.tbz2
copying and checking dd-060901b.tbz2
dd-060901b.tbz2 cksums: zz/259f38c134f7d0a18e4966c7a9a385e0
Checksum check pass for dd-060901b.tbz2
copying and checking dd-060902a.tbz2
dd-060902a.tbz2 cksums: zz/0113cb553a5c3cd3a878b8189d05c39e
Checksum check pass for dd-060902a.tbz2
copying and checking dd-060902b.tbz2
dd-060902b.tbz2 cksums: zz/6f7a93ed5524c52cc1c0264ab45f5d18
Checksum check pass for dd-060902b.tbz2
copying and checking dd-060903a.tbz2
dd-060903a.tbz2 cksums: zz/efe11718a068adc63763f5fa3296da36
Checksum check pass for dd-060903a.tbz2
copying and checking dd-060903b.tbz2
dd-060903b.tbz2 cksums: zz/f6e66a41289d322df41642f30d5b05a7
Checksum check pass for dd-060903b.tbz2
copying and checking dd-060904a.tbz2
dd-060904a.tbz2 cksums: zz/7fec7a03d691a3a1eaf933c0f0d344a5
Checksum check pass for dd-060904a.tbz2
copying and checking dd-060904b.tbz2
dd-060904b.tbz2 cksums: zz/75111944a334494dcfcad495cf2db602
Checksum check pass for dd-060904b.tbz2
copying and checking dd-060905a.tbz2
dd-060905a.tbz2 cksums: zz/08e49332734d160734b0f3b4d545b06e
Checksum check pass for dd-060905a.tbz2
copying and checking dd-060905b.tbz2
dd-060905b.tbz2 cksums: zz/68f3cb7ad0f325440814e47d946cd28d
Checksum check pass for dd-060905b.tbz2
copying and checking dd-060906a.tbz2
dd-060906a.tbz2 cksums: zz/5d48e462ab548ff08c081cb724053120
Checksum check pass for dd-060906a.tbz2
copying and checking jp.mcfltdata.set.tbz2
jp.mcfltdata.set.tbz2 cksums: zz/dc591e500d0f9b6ab2658fcc712054ff
Checksum check pass for jp.mcfltdata.set.tbz2
copying and checking jw-0634b.tbz2
jw-0634b.tbz2 cksums: zz/daeec88950a71858967fe4864e17ab2e
Checksum check pass for jw-0634b.tbz2
copying and checking jw-0635a.tbz2
jw-0635a.tbz2 cksums: zz/c8f92d38db889e223d78008b9d640314
Checksum check pass for jw-0635a.tbz2
copying and checking jw-0635b.tbz2
jw-0635b.tbz2 cksums: zz/310027adccac334a43869029500b6b30
Checksum check pass for jw-0635b.tbz2
copying and checking jw-0636a.tbz2
jw-0636a.tbz2 cksums: zz/240ff1a87e6b4e11a695af4768b487c7
Checksum check pass for jw-0636a.tbz2
copying and checking jw-0636b.tbz2
jw-0636b.tbz2 cksums: zz/c991ae66236b770e9bc8107d3cd8bb51
Checksum check pass for jw-0636b.tbz2
copying and checking jw-0637a.tbz2
jw-0637a.tbz2 cksums: zz/5f1d2b7dfa2097d5bab3cfa0a98adb42
Checksum check pass for jw-0637a.tbz2
copying and checking mcflt0607.tbz2
mcflt0607.tbz2 cksums: zz/32efb205ddf0aeb3d11b92f6d65031ad
Checksum check pass for mcflt0607.tbz2
copying and checking profiles.pack.tbz2
profiles.pack.tbz2 cksums: zz/108e813ff03e34af18e0e0b001d3412f
Checksum check pass for profiles.pack.tbz2
copying and checking upd_terms.tbz2
upd_terms.tbz2 cksums: zz/e7800747274373c35c64dd29cdab506e
Checksum check pass for upd_terms.tbz2
copying and checking upd_terms_recent.tbz2
upd_terms_recent.tbz2 cksums: zz/6624bd9e33079c18fe6030e97f25e5c0
Checksum check pass for upd_terms_recent.tbz2
New files received
Unpacking cfbase.gsg.tbz2
Unpacking dd-060828a.tbz2
Unpacking dd-060828b.tbz2
Unpacking dd-060829a.tbz2
Unpacking dd-060829b.tbz2
Unpacking dd-060830a.tbz2
Unpacking dd-060830b.tbz2
Unpacking dd-060831a.tbz2
Unpacking dd-060831b.tbz2
Unpacking dd-060901a.tbz2
Unpacking dd-060901b.tbz2
Unpacking dd-060902a.tbz2
Unpacking dd-060902b.tbz2
Unpacking dd-060903a.tbz2
Unpacking dd-060903b.tbz2
Unpacking dd-060904a.tbz2
Unpacking dd-060904b.tbz2
Unpacking dd-060905a.tbz2
Unpacking dd-060905b.tbz2
Unpacking dd-060906a.tbz2
Unpacking jp.mcfltdata.set.tbz2
Unpacking jw-0634b.tbz2
Unpacking jw-0635a.tbz2
Unpacking jw-0635b.tbz2
Unpacking jw-0636a.tbz2
Unpacking jw-0636b.tbz2
Unpacking jw-0637a.tbz2
Unpacking mcflt0607.tbz2
Unpacking profiles.pack.tbz2
Unpacking upd_terms.tbz2
Unpacking upd_terms_recent.tbz2
cfbase.gsg not changed
Running compiler

Content filtration database builder.

(C) 2001-2004, Ashmanov & Partners company, Moscow, Russia.
Contact: info@ashmanov.com, http://www.ashmanov.com

Compiling content filtration database...
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/mcflt0607
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/upd_terms
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/upd_terms_recent
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060828a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060828b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060829a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060829b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060830a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060830b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060831a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060831b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060901a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060901b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060902a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060902b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060903a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060903b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060904a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060904b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060905a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060905b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/dd-060906a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/jw-0634b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/jw-0635a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/jw-0635b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/jw-0636a
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/jw-0636b
--> Loading file /usr/local/ap-mailfilter/cfdata/updates/jw-0637a
OK

Content filtration database builder.

(C) 2001-2004, Ashmanov & Partners company, Moscow, Russia.
Contact: info@ashmanov.com, http://www.ashmanov.com

OK
Creating backup...
Moving files...
OK

Running configuration compiler...

Mail Filter Configuration Compiler.

(C) 2001-2004, Ashmanov & Partners company, Moscow, Russia.
Contact: info@ashmanov.com, http://www.ashmanov.com

Copying /usr/local/ap-mailfilter/cfdata/mainset/mainset...
Compiling configuration...
OK
Saving source...
Moving files from tmp...
Updates compiled
Full update 19.07.2006 (mcflt0607) + Recent 06.09.06 11:04:00 (MSK) [JP] ---> Wed Sep 6 16:23:05 JST 2006
Full update 19.07.2006 (mcflt0607) + Recent 06.09.06 11:04:00 (MSK) [JP] ---> configuration compiled

●KASを再起動(そんあに要らないと思っていますけど)
●MTAを再起動(もし要りましたら)

0 件のコメント:

コメントを投稿