« 2007/03, Vol. 134 PChome Magazine | 首頁 | Linux Bonding (合併網卡) 實作 »

2007年03月08日

使用 SME Server 建置中小企業級伺服器

SME Server 特色

SME Server 通常角色

  • Web Server
  • Mail Server
  • File Server
  • Gateway (Linux NAT)
  • PPTP Server

Web 介面系統管理窗口

https://sme/server-manager/

  • Account: admin
  • Password: root's password

開放 root 帳號 ssh 登入

  • Security → Remote access → Secure Shell Settings
  • Secure shell access: Allow access only from local networks
  • Allow administrative command line access over secure shell: Yes (允許 root 登入)
  • Allow secure shell access using standard password: Yes (允許密碼驗證)

啟用 Webmail

  • Configuration → E-mail → Change e-mail access settings
  • Webmail access: Allow HTTPS (secure)
  • https://sme/webmail/ (使用 Horde IMP Webmail Client)

Web 介面使用者帳號密碼變更窗口 (Change account password)

https://sme/user-password/

文字管理介面

本機登入, 或以 ssh 登入 admin 帳號

  • Login: admin
  • Password: root's password

從其他身份切換為 admin 亦可進入文字管理介面

  • su - admin


相關網頁

Posted by Jamyy at 2007年03月08日 10:42

Trackback Pings

TrackBack URL for this entry:
http://cha.homeip.net/cgi-bin/mt/mt-tb.cgi/262

Comments

依照步驟是成功的安裝起來了..
可是好像無法支援中文語系..
請問有辦法可以支援中文語系嗎??

Posted by: David Liao at 2007年03月11日 13:36

光碟安裝過程與 web 管理介面 (server-manager) 並不支援中文
不過 sme server 的 samba 和 webmail 都支援中文, 不會造成 end user 使用上的困擾

Posted by: Jamyy at 2007年03月12日 15:33

個密碼要設定得好煩~~可否不用咁煩

Posted by: Wing at 2007年03月19日 01:41

以 root 身份登入 console 後執行:

db configuration setprop passwordstrength Users none

就能解除 User 密碼的限制

詳情請見:
http://contribs.org/phpwiki/index.php/SME%20Server%207%20password%20check%20and%20settings

Posted by: Jamyy at 2007年03月20日 10:52

為何email 只能收,不能send

Posted by: tonykwee at 2007年06月02日 15:18

不能寄信的情況很多
請觀察 /var/log/maillog 裡的記錄
或是檢查寄信軟體 (如: outlook express) 的設定是否有問題

Posted by: Jamyy at 2007年06月02日 22:09

郵件可用Webmail寄給自已,用msn或yahoo寄也可用webmail收到,可惜用webmail寄去yahoo或msn卻收不到,本人是新手一名,可否詳述

Posted by: tonykwee at 2007年06月02日 22:47

以下是我的測試環境
1.向 dyndns.org 申請 domain: smetest.homeip.net
2.sme server 7.1, domain: smetest.homeip.net
3.加入一個 user account, 啟用 webmail, 其餘皆保持原設定

測試結果:
1.從 yahoo.com.tw & hotmail.com 寄到 smetest.homeip.net (OK)
2.從 webmail 寄到 yahoo.com.tw (OK)
3.從 webmail 寄到 hotmail.com (hotmail 未收到, webmail 亦未收到退信)

有些 mail server 會拒收浮動 IP 的來信, 或是反查 MX 記錄以過濾不安全的發信來源... 等等各種不同手段來避免被垃圾郵件侵擾, 所以你的信件可能就這樣被過濾掉了

通常能從退件內容查出真正被拒收的原因

你也可以到 sme server-manager web 管理介面的 Administration → Mail log file analysis 查看 mail server 的 log 記錄

最後, 建議你再多寄幾個不同的信箱試試

Posted by: Jamyy at 2007年06月04日 11:57

謝謝jamyy 你的詳細回覆

以下是Reasons for failure

del xdelay reason
3 2.13 127.0.0.1 does not like recipient./Remote host said: 550 relaying mail to yahoo.com.hk is not allowed/Giving up on 127.0.0.1./
2 0.73 218.102.48.214 does not like recipient./Remote host said: 550 relaying mail to msn.com is not allowed/Giving up on 218.102.48.214./
1 8.23 CNAME lookup failed temporarily. (#4.4.3)/I'm not going to try again; this message has been in the queue too long./
14 1.75 Recipient unknown/
2 0.01 Sorry. Although I'm listed as a best-preference MX or A for that host,/it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)/
1 0.75 Sorry, I couldn't find any host named hodutz.com. (#5.1.2)/
1 6.36 Sorry, I couldn't find any host named internet.cl. (#5.1.2)/
1 0.64 Sorry, I couldn't find any host named newfirepower.selfip.com. (#5.1.2)/
10 1.27 Sorry, I couldn't find any host named newpowerfire.newpowerfire. (#5.1.2)/
1 3.47 Sorry, I couldn't find any host named quosith.com. (#5.1.2)/
866 159768.86 Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)/I'm not going to try again; this message

Posted by: tonykwee at 2007年06月06日 15:45

您是不是在 Configuration → E-mail → Change e-mail delivery settings → Address of Internet provider's mail server 設定了某個網址?
請將 Change e-mail delivery settings 裡的 "Delegate mail servers" 設定全部清掉再試試看

Posted by: Jamyy at 2007年06月08日 13:39

Jamyy 以下是Email的設定

POP3 server access Allow private and public (secure POP3S)
IMAP server access Allow private and public (secure IMAPS)
Webmail access Allow HTTPS (secure)

Email Access Settings


Virus scanning Enabled
Spam filtering Enabled
Executable content blocking Disabled
E-mail filtering Settings

E-mail retrieval mode Standard (SMTP)
SMTP authentication Allow SSMTP (secure)
E-mail Reception Settings

Forwarding address for administrative notices
E-mail to unknown users Return to sender
Address of internal mail server
Address of Internet provider's mail server
E-mail delivery settings

Delegate mail servers 並沒有任何設定,將設定全部清掉再試還是不行

Posted by: Anonymous at 2007年06月15日 13:20

Hello
想問下,用SATA HD 可以安裝嗎???
可唔可以行RIAD呢??

Thanks

Posted by: fire at 2007年06月25日 01:46

1. 可以, SME Server 支援 SATA 硬碟
2. 可以, SME Server 安裝時會自動設置 Software RAID 1, 5 or 6

Posted by: Jamyy at 2007年06月25日 09:26

if use SATA2 will be work in the case??
can normal setup the server??
i ues SATA2 can not find the HD!
if OK have any setting need to do??

Thanks


Posted by: fire at 2007年06月27日 19:14

sorry for that i do not have SATA2 disk to do some test

SME Server 7.0 is based on CentOS 4.4

you can find some information from google using keyword "centos 4.4 sata2"

i hope this helps to you:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=5734&forum=27

Posted by: Jamyy at 2007年06月28日 10:01

請問一下 我使用 Sme Server 所架設的 dns
對內部服務查詢都ok 但外部要查詢都無法
我已經申請了dns 也指到該ip了 ^^....

Posted by: RitekBear at 2007年07月25日 22:42

請點選:
Configuration → Domains → "Current list of domains" 裡的 "Modify"
"Domain DNS servers" 原本的設定值是: "Resolve locally"
把它改成 "Internet DNS servers" 再試試看

Posted by: Jamyy at 2007年07月26日 11:11

試過了
我使用 nslookup 指到此ip 查dns
結果出現都是DNS rEQUEST timed out. 的訊息

Posted by: RitekBear at 2007年07月31日 17:48

請教我裝sme用windows 98連接的檔案存取速度很慢是什麼
原因呢? 謝謝

Posted by: 阿龍 at 2007年08月21日 21:38

功能齊全. mail. proxy. ftp. 應有都有.
jamyy 多謝你, 精心及細緻的介紹.

Posted by: Francis WK Chan at 2007年11月21日 09:01

唔好意思~我想用vmware試下sme server~但唔知download邊個version先啱呀
麻煩你

Posted by: Neo at 2008年01月28日 12:12

Jamyy 請問我已裝了sme 但怎樣升級到 Horde Groupware Webmail Edition
參考 : http://www.horde.org/webmail/

Posted by: Andrew Chan at 2008年02月18日 15:05

Andrew 您好,

我在網路上找到了這篇:
http://forums.contribs.org/index.php?topic=39775.0
不曉得是否對您有幫助?

Posted by: Jamyy at 2008年02月18日 23:11

請問 Server 已安裝好後想 mount 上一硬盤但是用NTFS 怎麼做?

Posted by: Andrew at 2008年03月07日 05:07

我本有一戓sme server 做email server...如果我想重新起一台sme server 來取代舊嗰台....咁有冇方法係可以將舊嗰台既所有setting export出來...再係新嗰台度import 返落去呢???

Posted by: kit at 2008年04月27日 17:39

我本有一戓sme server 做email server...如果我想重新起一台sme server 來取代舊嗰台....咁有冇方法係可以將舊嗰台既所有setting export出來...再係新嗰台度import 返落去呢???

Posted by: kit at 2008年04月27日 17:40

Hi
I cannot login to the webmail. Any idea?

Posted by: Jacky at 2008年06月03日 19:18