現在的時間是 2026-11-20, 13:44

所有顯示的時間為 UTC + 8 小時




 第 1 頁 (共 1 頁) [ 1 篇文章 ] 
發表人 內容
 文章主題 : 中正大學 NOPAM 安裝在 FreeBSD 7.0
文章發表於 : 2008-12-02, 13:35 
系統管理員
頭像

註冊時間: 2005-12-05, 16:08
文章: 473
Submitted by JoeChen on 星期一, 四月 14, 2008 - 16:35

中正大學 NOPAM 安裝

(除本文內容外, 也可參考http://tzuchi.tses.tcc.edu.tw/nuke/sections.php?op=viewarticle&artid=420)

1. FreeBSD 7.0
2. 系統需求 (http://nopam.ccu.edu.tw/system_require.htm)
3. 於安裝NOPAM前需事先安裝的第三方軟體: (可利用 sysinstall/ports)
Curl: http://curl.haxx.se/
Iconv: http://www.gnu.org/software/libiconv/
Dcc: http://www.rhyolite.com/anti-spam/dcc/ (optional)
Clamav: http://www.clamav.net/ (optional)
註*:FreeBSD 6.x需安裝有FreeBSD 5.x compatible library (若您有安裝FreeBSD port套件的話,可從/usr/ports/misc/compat5x安裝)
4. read ./nopam_setup/README file to know how to install
5. To install the NOPAM system, just type "./setup" and answer the
questions accordingly.

---------------------------
| The Nopam Setup Program |
---------------------------

Your OS is FreeBSD 7.0-RELEASE.

1) Install Nopam
0) Quit

Please enter your choice (0-1):1

Select terminal type? (c)olor/(m)ono [c]

System requirements:
C Library version 5
MD5 Library version 2 or above
cURL Library version 3 or above
ICONV Library version 3 or above
Distributed Checksum Clearinghouse [Optional]
ClamAV [Optional]

+ Checking ID [ OK ]
** [Warning] ** Please install cURL Library version 3 or above first!!

Please enter the path of dccproc (e.g. /usr/local/bin/dccproc) [none]: /usr/local/bin/dccproc

Please enter the IP address of clamd (e.g. 127.0.0.1) [none]: 127.0.0.1
+ IP of this host: 127.0.0.1 [ OK ]

Please enter the port of clamd (e.g. 3310) [3310]:
+ Port to be used: 3310 [ OK ]
Do you want to enable DN2IP? (y)es/(n)o [y]
DN2IP_ENABLE = 1 [ OK ]

Please enter the target directory [/usr/local/nopam]:
+ Target directory: /usr/local/nopam [ OK ]
+ Making directory /usr/local/nopam [ OK ]
+ Checking HD space [ OK ]

Please enter QS (Quantum Switch) Daemon port number [10024]:
+ Port to be used: [ OK ]

Please enter LSD (Local Spam Detection) Daemon port number [10025]:
+ Port to be used: [ OK ]

Please enter Agent port number [10030]:
+ Port to be used: [ OK ]

Please enter incoming MTA Server IP address [127.0.0.1]: 140.111.77.43
+ IP of this host: 140.111.77.43 [ OK ]

Please enter outgoing MTA Server IP address [auto]:
+ IP of this host: auto [ OK ]

Please enter outgoing MTA Server port number [10023]:
+ Port to be used: 10023 [ OK ]

Do you want to backup ALL processed mails? (y)es/(n)o [n]

Do you want to modify spam mail subject? (y)es/(n)o [y]
Do you want to enable GSD? (y)es/(n)o [y]
GSD_SERVO = 140.123.5.121:10050 [ OK ]

SPAM DB auto update from the URL [http://spdb.nopam.ccu.edu.tw/]:
+ FQDN of this host: http://spdb.nopam.ccu.edu.tw/ [ OK ]

Emergency status report to email [root@localhost]:

MY_NETWORK=140.111.77.43
HAM_SERVO=127.0.0.1:10023
SPAM_SERVO=127.0.0.1:10023
NO_HOP_MAP_FOR_HAM=0
NO_HOP_MAP_FOR_SPAM=0
MAIL_ARCHIVE=1
LOG_ALL=all_mail.%Y%m%d
SPAM_DELIVERY_ACT=submodify
SPAM_SERVO_SPLIT=
SPAM_PROTOCOL_SPLIT=SMTP
SPDB_UPDATE=http://spdb.nopam.ccu.edu.tw/
NOPAM_REPORTER=root@localhost
NOPAM_CHECK_VIRUS=1
NOPAM_AV_SERVO=127.0.0.1:3310
NOPAM_QS_PORT=10024
NOPAM_LSD_PORT=10025
NOPAM_AGENT_PORT=10030
DN2IP_ENABLE=1
GSD_SERVO=140.123.5.121:10050

Correct? (y)es/(n)o [y]
[ OK ]

Please enter the user name [nopam]:
** [Error] ** User doesnot exist! This program will create for you
+ User name: nopam (888) [ OK ]

Please enter the group name [nopam]:
** [Error] ** Group doesnot exist! This program will create for you
+ Group name: nopam (888) [ OK ]

+ Making backup directory /usr/local/nopam/bak [ OK ]

+ Configuring user [ OK ]

Setting password
Changing local password for nopam
New Password: xxxxxxxx
Retype New Password: xxxxxxxx

+ Configuring group [ OK ]
+ Installing software, please wait ... [ OK ]
+ Saving configuration [ OK ]
+ Saving rc script [ OK ]

INSTALL COMPLETE!

+ Configuring crontab [ OK ]
Do you want to update SPAM DB now? (y)es/(n)o [y]
Please wait...
Do you want to startup Nopam? (y)es/(n)o [y]
Starting QS
Starting LSD
Starting Agent

-- 以上安裝完成, 並啟用 --

維護:
NOPAM 的安裝目錄: /usr/local/nopam
停止及啟用:
/usr/local/nopam/bin/nopamctl stop/start

不過發現並沒有真的運作, 因為系統跑了 libcurl.so.4, 而不是 NOPAM 所想要的 libcurl.so.3
所以檢查 /usr/local/nopam/logs 底下的檔案, 就有說找不到 libcurl.so.3
上網查找了想關資訊後, 先做了一個 symbolic link file 給 nopam
cd /usr/local/lib/
ln -s libcurl.so.4 libcurl.so.3
重新 nopamctl start 即有運作了。

--TOP google result --
Nopam - 最新的評論要把/usr/local/lib/libcurl.so.4 更名為libcurl.so.3 改名後,就可以正常安裝nopam了 ... 您好: 我的環境是FREEBSD 6.0 RELEASE 我安裝的CURL版本是7. ...
nopam.ccu.edu.tw/b2evo/blogs/xmlsrv/rdf.comments.php?blog=5 - 29k - 頁庫存檔 - 類似網頁
--END google result --


離線
 個人資料  
 
顯示文章 :  排序  
 第 1 頁 (共 1 頁) [ 1 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客


您 不能 在這個版面發表主題
您 不能 在這個版面回覆主題
您 不能 在這個版面編輯您的文章
您 不能 在這個版面刪除您的文章
您 不能 在這個版面上傳附加檔案

搜尋:
前往 :  

cron