LINUX.ORG.RU
ФорумAdmin

Postfix+Courier+MySQL и Squirrelmail. Connection dropped by IMAP server.

 , , ,


0

1

Настроил почту по этоми мануалам:

https://help.ubuntu.com/community/Postfix

https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto - отсюда все что касается courier, mysql...

Проверял отправку почты через telnet, mailx - все ок

mail.log в момент входа в Squirrelmail (реальный домен заменен на example.com)

Apr 12 11:07:52 host_name imapd: Connection, ip=[[::ffff:127.0.0.1]]
Apr 12 11:07:52 host_name authdaemond: received auth request, service=imap, authtype=login
Apr 12 11:07:52 host_name authdaemond: authmysql: trying this module
Apr 12 11:07:52 host_name authdaemond: SQL query: SELECT username, password, "", '5000', '5000', '/home/vmail', maildir, concat(quota,'S'), name, "" FROM mailbox WHERE username = 'admin@example.com' 
Apr 12 11:07:52 host_name authdaemond: password matches successfully
Apr 12 11:07:52 host_name authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=admin@example.com, fullname=Admin, maildir=admin@example.com/, quota=0S, options=<null>
Apr 12 11:07:52 host_name authdaemond: authmysql: clearpasswd=<null>, passwd=$1$b2456045$CHo8MgECqph4.vu8zH55t1
Apr 12 11:07:52 host_name authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=admin@example.com, fullname=Admin, maildir=admin@example.com/, quota=0S, options=<null>
Apr 12 11:07:52 host_name authdaemond: Authenticated: clearpasswd=******, passwd=$1$b2456045$CHo8MgECqph4.vu8zH55t1
Apr 12 11:07:52 host_name imapd: LOGIN, user=admin@example.com, ip=[[::ffff:127.0.0.1]], port=[[56536]], protocol=IMAP
Apr 12 11:07:52 host_name imapd: Connection, ip=[[::ffff:127.0.0.1]]
Apr 12 11:07:52 host_name authdaemond: received auth request, service=imap, authtype=login
Apr 12 11:07:52 host_name authdaemond: authmysql: trying this module
Apr 12 11:07:52 host_name authdaemond: SQL query: SELECT username, password, "", '5000', '5000', '/home/vmail', maildir, concat(quota,'S'), name, "" FROM mailbox WHERE username = 'admin@example.com' 
Apr 12 11:07:52 host_name authdaemond: password matches successfully
Apr 12 11:07:52 host_name authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=admin@example.com, fullname=Admin, maildir=admin@example.com/, quota=0S, options=<null>
Apr 12 11:07:52 host_name authdaemond: authmysql: clearpasswd=<null>, passwd=$1$b2456045$CHo8MgECqph4.vu8zH55t1
Apr 12 11:07:52 host_name authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=admin@example.com, fullname=Admin, maildir=admin@example.com/, quota=0S, options=<null>
Apr 12 11:07:52 host_name authdaemond: Authenticated: clearpasswd=******, passwd=$1$b2456045$CHo8MgECqph4.vu8zH55t1
Apr 12 11:07:52 host_name imapd: LOGIN, user=admin@example.com, ip=[[::ffff:127.0.0.1]], port=[[56537]], protocol=IMAP
Apr 12 11:07:52 host_name imapd: DISCONNECTED, user=admin@example.com, ip=[[::ffff:127.0.0.1]], headers=0, body=0, rcvd=21, sent=57, time=0

Листинг /home/vmail/admin@example.com/.Sent

.
├── courierimapacl
├── courierimapkeywords
├── courierimapuiddb
├── cur
├── maildirfolder
├── new
└── tmp

Вроде бы все нормально, но Squirrelmail говорит

ERROR: Connection dropped by IMAP server.
Query: SUBSCRIBE "INBOX.Sent"


ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.

Ubuntu 10.04.4 LTS



Последнее исправление: cetjs2 (всего исправлений: 7)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.