i-cable 大部份 User 已 Block incoming port 25 , 所以不能收 Mail ( Mail Server->Mail Server 係用 SMTP, Mail Client->Mail Server 先係 POP )
而大部份 ADSL user ( IMS, So-net ... ) 已 Block outgoing port 25 , 所以不能自建 Mail Server Send Email
雖然 Hamster 有埋 POP, SMTP and IMAP server, 但始終 Hamster 0係 Mail Server 呢方面比較弱
如果真係要起 Mail Server, 建議用其他 Software 如 Mailenable
IMAP Server 我未用過 , 所以呢個 page 都唔會介紹 ( 應該同 POP setting 冇分別 )
以下用 Hamster Classic 2.0.2.1 示範 Setup SMTP and POP Server , 唔同版本可能會有少許分別
1. 0係 Menu 揀 "Configuration", "Local Server"
"POP3" and "SMTP" 兩頁 , set 返 "Bind to IP" 做 0.0.0.0 ( 即係 from 任何 IP 都接受 )
2. 另外0係 "General" Page , Click "Edit IPAccess.hst"
Set 返 Allow 邊組 IP access Mail Server
3. 入 "Configuration", "Accounts and passwords"
Create 一個新 User ( or 用舊 user ) , 0係 "Mail (POP3/IMAP+SMTP)" 呢頁 tick 返你需要0既項目
4. 而家個 POP Server 基本上已設定完成 , 但係你會發現成日話 "Not allow relay" , 咁係因為 Hamster 唔知你個 Domain 係乜 , 以為要 Relay 去其他 Server
解決方法 , 去 "Configuration", "Local Server" , "General"
入面有個 "Local mail-delivery ......." 0既 textbox , 0係0個度打返個 Domain name 就得
例如你個 domain name 係 mail.no-ip.com , 你就照打返 mail.no-ip.com , 你 D email address 係 username@mail.no-ip.com
其實呢度係用 Regular Expression , 如果唔駛 support multi domain 或者唔知 Regular Expression , 就咁打返個 Domain 都 ok , or 用 ".*" 都應該得
POP Server 設定大功告成
但係你會發現 Hamster 個 SMTP Server 唔 work , D mail 留晒0係 outbox 度
咁係因為 Hamster 其實冇入置 SMTP send out 0既部份
好彩有 D 外國0既 Hamster User 寫0左 Script 0黎解決