Guest User

Untitled

a guest
Feb 7th, 2018
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. Feb 8 04:27:13 localhost dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
  2. Feb 8 04:27:13 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
  3. Feb 8 04:27:13 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
  4. Feb 8 04:27:13 localhost dovecot: auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
  5. Feb 8 04:27:13 localhost dovecot: auth: Debug: auth client connected (pid=9974)
  6. Feb 8 04:27:13 localhost dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011session=IeV306tkgAB/AAAB#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=50816#011resp=AG1haWxAdmVuZ2VhbmNlLmlvAENyM2F0MXZlLS0= (previous base64 data may contain sensitive data)
  7. Feb 8 04:27:13 localhost dovecot: auth-worker(9977): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
  8. Feb 8 04:27:13 localhost dovecot: auth-worker(9977): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
  9. Feb 8 04:27:13 localhost dovecot: auth-worker(9977): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
  10. Feb 8 04:27:13 localhost dovecot: auth-worker(9977): Debug: sql(mail@myserver.io,127.0.0.1): query: SELECT username, domain, password, CONCAT('maildir:~/', maildir) AS userdb_home, '1000' AS userdb_uid, '1000' AS userdb_gid FROM mailbox WHERE username = 'mail' AND domain = 'myserver.io'
  11. Feb 8 04:27:13 localhost dovecot: auth: Debug: client passdb out: OK#0111#011user=mail@myserver.io
  12. Feb 8 04:27:13 localhost dovecot: auth: Debug: master in: REQUEST#0112229403649#0119974#0111#011aaa130ec6f6296678ec1e9e7866efbaf#011session_pid=9980#011request_auth_token
  13. Feb 8 04:27:13 localhost dovecot: auth-worker(9977): Debug: sql(mail@myserver.io,127.0.0.1): SELECT CONCAT('maildir:~/', maildir) as mail, '1000' AS uid, '1000' as gid FROM mailbox WHERE username = 'mail' AND domain = 'myserver.io'
  14. Feb 8 04:27:13 localhost dovecot: auth: Debug: master userdb out: USER#0112229403649#011mail@myserver.io#011mail=maildir:~/myserver.io/mail/#011uid=1000#011gid=1000#011auth_token=d72ede03452694f33b4b1c759539f7ec613cab95
  15. Feb 8 04:27:13 localhost dovecot: imap-login: Login: user=<mail@myserver.io>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9980, secured, session=<IeV306tkgAB/AAAB>
  16. Feb 8 04:27:13 localhost dovecot: imap: Debug: Added userdb setting: mail=maildir:~/myserver.io/mail/
  17. Feb 8 04:27:13 localhost dovecot: imap(mail@myserver.io): Debug: Effective uid=1000, gid=1000, home=
  18. Feb 8 04:27:13 localhost dovecot: imap(mail@myserver.io): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/myserver.io/mail/
  19. Feb 8 04:27:13 localhost dovecot: imap(mail@myserver.io): Error: user mail@myserver.io: Initialization failed: Namespace '': Home directory not set for user. Can't expand ~/ for mail root dir in: ~/myserver.io/mail/
  20. Feb 8 04:27:13 localhost dovecot: imap(mail@myserver.io): Error: Invalid user settings. Refer to server log for more information.
  21. p=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/myserver.io/mail/
  22.  
  23. [root@postfix webmail]# dovecot -n
  24. # 2.2.10: /etc/dovecot/dovecot.conf
  25. # OS: Linux 4.14.14-x86_64-linode94 x86_64 CentOS Linux release 7.4.1708 (Core)
  26. auth_debug_passwords = yes
  27. disable_plaintext_auth = no
  28. mail_debug = yes
  29. mail_gid = vmail
  30. mail_privileged_group = mail
  31. mail_uid = vmail
  32. namespace inbox {
  33. inbox = yes
  34. location =
  35. mailbox Drafts {
  36. auto = subscribe
  37. special_use = Drafts
  38. }
  39. mailbox Junk {
  40. auto = subscribe
  41. special_use = Junk
  42. }
  43. mailbox Sent {
  44. auto = subscribe
  45. special_use = Sent
  46. }
  47. mailbox Trash {
  48. auto = subscribe
  49. special_use = Trash
  50. }
  51. prefix =
  52. separator = /
  53. type = private
  54. }
  55. passdb {
  56. args = /etc/dovecot/dovecot-sql.conf
  57. driver = sql
  58. }
  59. protocols = imap
  60. service auth {
  61. unix_listener /var/spool/postfix/private/auth {
  62. group = postfix
  63. mode = 0660
  64. user = postfix
  65. }
  66. unix_listener auth-master {
  67. group = vmail
  68. mode = 0660
  69. user = vmail
  70. }
  71. user = $default_internal_user
  72. }
  73. ssl = no
  74. userdb {
  75. args = /etc/dovecot/dovecot-sql.conf
  76. driver = sql
  77. }
  78.  
  79. driver = mysql
  80. # The mysqld.sock socket may be in different locations in different systems.
  81. # Use "host= ... pass=foo#bar" with double-quotes if your password has '#' character.
  82. connect = host=localhost dbname=postfix user=root password=supersecretpass
  83. default_pass_scheme = MD5-CRYPT
  84.  
  85. # Alternatively you can connect to localhost as well:
  86. #connect = host=localhost dbname=mails user=admin password=pass # port=3306
  87.  
  88. password_query = SELECT username, domain, password,
  89. CONCAT('maildir:~/', maildir) AS userdb_home,
  90. '1000' AS userdb_uid, '1000' AS userdb_gid
  91. FROM mailbox WHERE username = '%n' AND domain = '%d'
  92.  
  93. user_query = SELECT CONCAT('maildir:~/', maildir) as mail, '1000' AS uid, '1000' as gid FROM mailbox WHERE username = '%n' AND domain = '%d'
  94.  
  95. # For using doveadm -A:
  96. iterate_query = SELECT username, domain FROM mailbox
Add Comment
Please, Sign In to add comment