iT邦幫忙

0

postfix dovecot 登入問題

匿名 2014-04-02 01:00:134367 瀏覽

目前公司設備上新增帳號,驗證在openwebmail上可正常登入,但在outlook上是失敗的

本機上測試登入
[root@mail ~]# telnet 0 110
Trying 0.0.0.0...
Connected to 0 (0.0.0.0).
Escape character is '^]'.
+OK Dovecot ready.
user testusers
+OK
pass testusers
-ERR [IN-USE] Internal login failure. Refer to server log for more information.
Connection closed by foreign host.

log中含有這訊息
dovecot: Apr 01 23:53:56 Error: Logins for users with primary group ID 0 (user testusers) not permitted (see first_valid_gid in config file

目前/var/mail/帳號資訊

-rw------- 1 iris_tsai root 0 4月 1 23:47 testusers

大概知道是group 為root 的關係,但不知道怎麼改設定,請各位幫忙查看一下,謝謝。

ayu iT邦好手 2 級 ‧ 2014-04-02 03:44:05 檢舉
dovecot 預設使用者的 uid 和 gid 都要在 1000 以上,
建議 iris_tsai 改到其它 gid>=1000 以上的群組為佳.
# Valid GID range for users, defaults to non-root/wheel. Users having
# non-valid GID as primary group ID aren't allowed to log in. If user
# belongs to supplementary groups with non-valid GIDs, those groups are
# not set.
first_valid_gid = 1000
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

0
ymhuang0808
iT邦新手 5 級 ‧ 2014-04-02 08:44:17
最佳解答

message 中有說明了「see first_valid_gid in config file」,記得之前也是更改那個設定值

0
rogeryao
iT邦超人 8 級 ‧ 2014-04-23 00:07:01

系統=>管理=>使用者與群組=>點選 email 帳號=>屬性=>群組=>mail 打勾

我要發表回答

立即登入回答