[Dovecot] Maildir connection issues
I recently am attempting a mbox to Maildir conversion, initially for a single email address, and then for everyone.
To further this diagnostic here is the dovecot -n:
dovecot -n # 1.1.4: /etc/dovecot.conf base_dir: /var/run/dovecot/ protocols: imap pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: SpamZapper Email ready. mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes lock_method: dotlock mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu auth default: username_format: %Lu passdb: driver: passwd-file args: /home/dovecot.passwd passdb: driver: pam userdb: driver: passwd ns6.ABS-CompTech.com root [/root] ll /home/dovecot.passwd -rw-r--r-- 1 418 418 95 Oct 22 22:18 /home/dovecot.passwd
The problem I am having is that the user health cannot get new email messages.
Suggestions?
-- Albert E. Whale, CHS CISA CISSP Sr. Security, Network, Risk Assessment and Systems Consultant
ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email, Internet and Security Consultants SPAMZapper http://www.Spam-Zapper.com - No-JunkMail.com http://www.No-JunkMail.com - *True Spam Elimination*.
Albert E. Whale a écrit :
I recently am attempting a mbox to Maildir conversion, initially for a single email address, and then for everyone.
To further this diagnostic here is the dovecot -n:
dovecot -n # 1.1.4: /etc/dovecot.conf base_dir: /var/run/dovecot/ protocols: imap pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: SpamZapper Email ready. mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u
so you're still using mbox.
mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes lock_method: dotlock mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu auth default: username_format: %Lu passdb: driver: passwd-file args: /home/dovecot.passwd passdb: driver: pam userdb: driver: passwd ns6.ABS-CompTech.com root [/root] ll /home/dovecot.passwd -rw-r--r-- 1 418 418 95 Oct 22 22:18 /home/dovecot.passwd
The problem I am having is that the user health cannot get new email messages.
Suggestions?
mouss wrote:
Albert E. Whale a écrit :
I recently am attempting a mbox to Maildir conversion, initially for a single email address, and then for everyone.
To further this diagnostic here is the dovecot -n:
dovecot -n # 1.1.4: /etc/dovecot.conf base_dir: /var/run/dovecot/ protocols: imap pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: SpamZapper Email ready. mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u
so you're still using mbox.
I was under the impression that you could migrate individual mailboxes and set up the information via the dovecot.passwd file, i.e.
health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/health:userdb_mail=maildir:~/Maildir
Is this not valid?
How do I set up individual Mailboxes for Maildir until I have them converted?
-- Albert E. Whale, CHS CISA CISSP Sr. Security, Network, Risk Assessment and Systems Consultant
ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email, Internet and Security Consultants SPAMZapper http://www.Spam-Zapper.com - No-JunkMail.com http://www.No-JunkMail.com - *True Spam Elimination*.
On Oct 24, 2008, at 8:40 PM, Albert E. Whale wrote:
I was under the impression that you could migrate individual mailboxes and set up the information via the dovecot.passwd file, i.e.
health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/ health:userdb_mail=maildir:~/Maildir
Is this not valid?
That looks ok, but:
passdb: driver: passwd-file args: /home/dovecot.passwd passdb: driver: pam userdb: driver: passwd
You're using passwd-file only as passdb. That means it uses only the
username and password field of the file. You'll need to use it as a
userdb also.
But can the users read their mail anyway? You said that they can't get
new mails. Are you using Dovecot's deliver as MDA?
Timo Sirainen wrote:
On Oct 24, 2008, at 8:40 PM, Albert E. Whale wrote:
I was under the impression that you could migrate individual mailboxes and set up the information via the dovecot.passwd file, i.e.
health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/health:userdb_mail=maildir:~/Maildir
Is this not valid?
That looks ok, but:
passdb: driver: passwd-file args: /home/dovecot.passwd passdb: driver: pam userdb: driver: passwd
You're using passwd-file only as passdb. That means it uses only the username and password field of the file. You'll need to use it as a userdb also.
But can the users read their mail anyway? You said that they can't get new mails. Are you using Dovecot's deliver as MDA?
ok, being that I've never done this before, how do I fix this?
The users cannot find the Email in the Maildir because the setting is not read. Clues?
-- Albert E. Whale, CHS CISA CISSP Sr. Security, Network, Risk Assessment and Systems Consultant
ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email, Internet and Security Consultants SPAMZapper http://www.Spam-Zapper.com - No-JunkMail.com http://www.No-JunkMail.com - *True Spam Elimination*.
participants (3)
-
Albert E. Whale
-
mouss
-
Timo Sirainen