Debian

設置 Debian squirrelmail

  • March 8, 2011

我是網路新手。

我需要設置一個電子郵件伺服器,還需要創建一個電子郵件地址。前任。

muazam@mydomain.com

我已經安裝了 squirrelmail 和 dovecot。

http://www.mydomain.com/squirrelmail/src/login.php

顯示登錄螢幕,但是當我嘗試登錄時出現此錯誤:

連接到 IMAP 伺服器時出錯:127.0.0.1。111:連接被拒絕

我沒有使用 squirrelmail 和 dovecote 的經驗。任何人都可以幫助我,我真的很感激。

謝謝!

您還需要一個 SMTP 伺服器。我建議後綴。( apt-get install postfix)

然後,您應該確保使用 `~/Maildir’。如果此文件夾不存在或您給了它錯誤的權限,這是一個常見錯誤。確保配置 Postfix 以使用它:

postconf -e "home_mailbox = Maildir/"
postconf -e "mailbox_command = "
/etc/init.d/postfix restart

如果仍然無法正常工作,請嘗試遠端登錄到您的機器並以這種方式進行測試。

測試 SMTP(埠 25)

Trying 10.0.1.40...
Connected to test.freetown.local.
Escape character is '^]'.
220 test.freetown.local ESMTP Postfix (Ubuntu)
ehlo test.freetown.local
mail from: bart@test.freetown.local
rcpt to: root@test.freetown.local
data
Subject: First Mail

Looking good!
.
quit

測試 IMAP(埠 143)

Trying 10.0.1.40...
Connected to test.freetown.local.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2010 Double Precision, Inc.  See COPYING for distribution information.
a login bart bart
a OK LOGIN Ok.
a logout
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed

測試 POP3(埠 110)

Trying 10.0.1.40...
Connected to test.freetown.local.
Escape character is '^]'.
+OK Hello there.
user bart
+OK Password required.
pass bart
+OK logged in.
quit
+OK Bye-bye.

如果可行,您的 squirlmail 也應該沒問題。

引用自:https://serverfault.com/questions/244504