접미사/비둘기장이 작동하지 않습니다.

접미사/비둘기장이 작동하지 않습니다.

내 dovecot - postfix - postfixadmin 구성이 작동하지 않습니다.

나는 이메일을 처음 접했기 때문에 팔로우했습니다.이 튜토리얼

내 서버는 Ubuntu 13.04 서버입니다. localhost에서 이메일 전송이 의도한 대로 작동하고 mx 레코드가 올바르게 설정되었습니다.

mail.err에 오류가 있으며 MS Outlook 2013을 사용하여 사서함에 연결하려고 할 때 발생합니다.

 Aug 31 06:00:15 NewWeb dovecot: imap([email protected]): Error: user [email protected]: Initialization failed: Namespace '': mkdir(/home/vmail/xxxxx.it/cappyt) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +w perm: /home, dir owned by 0:0 mode=0755)
Aug 31 06:00:15 NewWeb dovecot: imap([email protected]): Error: Invalid user settings. Refer to server log for more information.

그리고 여기 mail.log에

Aug 31 06:00:01 NewWeb postfix/pickup[8523]: 28C8481010: uid=107 from=<smmsp>
Aug 31 06:00:01 NewWeb postfix/cleanup[12949]: 28C8481010: message-id=<[email protected]>
Aug 31 06:00:01 NewWeb postfix/qmgr[8524]: 28C8481010: from=<[email protected]>, size=709, nrcpt=1 (queue active)
Aug 31 06:00:01 NewWeb postfix/local[12953]: 28C8481010: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Aug 31 06:00:01 NewWeb postfix/qmgr[8524]: 28C8481010: removed
Aug 31 06:00:12 NewWeb dovecot: config: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
Aug 31 06:00:12 NewWeb dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:102: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
Aug 31 06:00:12 NewWeb dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:103: userdb sql {} has been replaced by userdb { driver=sql }
Aug 31 06:00:12 NewWeb dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:106: passdb sql {} has been replaced by passdb { driver=sql }
Aug 31 06:00:12 NewWeb dovecot: auth-worker(12961): mysql(yy.yy.yy.yy): Connected to database postfix_mail
Aug 31 06:00:15 NewWeb dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=x.x.x.x, lip=yy.yy.yy.yy, mpid=12963, TLS, session=<yHREYDblxgCf/4PT>
Aug 31 06:00:15 NewWeb dovecot: imap([email protected]): Error: user [email protected]: Initialization failed: Namespace '': mkdir(/home/vmail/xxxxx.it/cappyt) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +w perm: /home, dir owned by 0:0 mode=0755)
Aug 31 06:00:15 NewWeb dovecot: imap([email protected]): Error: Invalid user settings. Refer to server log for more information.
Aug 31 06:00:15 NewWeb postfix/smtpd[12964]: connect from ip-159-255-131-211.in-addr.ntrnet.it[x.x.x.x]
Aug 31 06:00:15 NewWeb postfix/smtpd[12964]: warning: ip-159-255-131-211.in-addr.ntrnet.it[x.x.x.x]: SASL LOGIN authentication failed: no mechanism available
Aug 31 06:00:15 NewWeb postfix/smtpd[12964]: lost connection after AUTH from ip-159-255-131-211.in-addr.ntrnet.it[x.x.x.x]
Aug 31 06:00:15 NewWeb postfix/smtpd[12964]: disconnect from ip-159-255-131-211.in-addr.ntrnet.it[x.x.x.x]

/var/vmail에 쓰기 권한이 사용자 vmail:vmail(5000:5000)에게 적용되었기 때문에 문제가 어디에 있는지 잘 모르겠습니다.

또한 다른 구성이 필요한 경우 댓글로 문의하세요.

답변1

오류에 따라 /var/vmail이 아닌 /home/vmail의 소유권 권한에 문제가 표시됩니다. maildir을 지정해야 하는 구성을 확인하십시오(dovecot.conf mail_location에서 검색). 가능하면 mail_location 설정을 붙여넣을 수 있습니까?

관련 정보