Tommi A
2013-Aug-14 11:06 UTC
[Dovecot] Dovecot mailbox in read-only mode, Permanentflags empty
Hi, I have installed Postfix + Dovecot 2.2.5 on a Fresh Arch Linux server (using Arch Linux repository packages). When accessing mailbox through Dovecot IMAP, all user mailboxes are in READ-ONLY mode. Here is a snippet from IMAP telnet conversation (after successful login). a LIST "" "*" * LIST (\HasNoChildren) "." INBOX a OK List completed. a EXAMINE INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS ()] Read-only mailbox. * 1 EXISTS * 1 RECENT * OK [UNSEEN 1] First unseen. * OK [UIDVALIDITY 1376459543] UIDs valid * OK [UIDNEXT 2] Predicted next UID * OK [NOMODSEQ] No permanent modsequences a OK [READ-ONLY] Examine completed (0.000 secs). I can read the messages but trying to delete results in: a uid store 1 +flags.silent (\Seen \Deleted) a OK Store ignored with read-only mailbox. I have tried ALOT of different settings (mbox/maildir/acl) but nothing seems to help, also no error messages are found in any logfiles. I noticed from mailing list archive that Dovecot has had Permanentflags problem in the past, but bugs should have been fixed. Is the bug back or is there something wrong with my configuration? Best Regards Tommi P.S. Here is my dovecot configuration: # 2.2.5: /etc/dovecot/dovecot.conf # OS: Linux 3.10.5-1-ARCH x86_64 auth_debug = yes debug_log_path = /var/log/dovecot_debug.log info_log_path = /var/log/dovecot.log mail_debug = yes mail_full_filesystem_access = yes mail_location = maildir:~/Maildir namespace inbox { hidden = no inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix type = private } passdb { driver = pam } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd }
Steffen Kaiser
2013-Aug-14 12:20 UTC
[Dovecot] Dovecot mailbox in read-only mode, Permanentflags empty
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 14 Aug 2013, Tommi A wrote:> When accessing mailbox through Dovecot IMAP, all user mailboxes are in > READ-ONLY mode. > > Here is a snippet from IMAP telnet conversation (after successful login). > > a EXAMINE INBOX > * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) > * OK [PERMANENTFLAGS ()] Read-only mailbox. > > I have tried ALOT of different settings (mbox/maildir/acl) but nothing seems > to help, also no error messages are found in any logfiles.What are the log entries for the telnet login?> # 2.2.5: /etc/dovecot/dovecot.conf > # OS: Linux 3.10.5-1-ARCH x86_64[...]> mail_debug = yesgood, then plenty of info should be in the logs, about home directory, uids etc.pp.> mail_full_filesystem_access = yes > mail_location = maildir:~/Maildir> passdb { > driver = pam > } > userdb { > driver = passwd > }You seem to use system users, should be visible in the logs. Do the directory <user_home_dir>/Maildir and any file and directory below belong to the particular user? Do your users have a home directory at all? Kind regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUgt2AV3r2wJMiz2NAQKeFwf+MFcpmwDBVWd9GCT/JwgvCDunXmKsW7g0 TsOPLfTlOtjVHsFikPa7El4NZiymv8tSmfO6HJEtbJc4oEGwxZMyBfS3xbbo52FD ZRl43YksxQtDQbPYsApTE7FecN3JLRCI+0SYunq/SUhtgBdVcfzoT9ZLfdRlIX18 XDhEcBeZmJTB890VI2wD2vMEhHLL+nMNnVjVdtatj+uSD8uAsCWloF9o+40hjcLi XWdpNtqvdZdMHd5yusrIJwGl5qJt5Y8qPzVvpvFgwwjV7cqmfo+flxg1Dran8Zif MexRAxAvfLPD5rOR+YlaNeP97zRJaCOOFI6nxNH0JzUWkcC09YWerA==y/g0 -----END PGP SIGNATURE-----
Steffen Kaiser
2013-Aug-14 14:26 UTC
[Dovecot] Dovecot mailbox in read-only mode, Permanentflags empty
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 14 Aug 2013, Tommi A wrote:> a LIST "" "*" > * LIST (\HasNoChildren) "." INBOX > a OK List completed. > a EXAMINE INBOXtry with: a SELECT INBOX - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUguTeV3r2wJMiz2NAQLwBgf9FHI4xhULeEIGD1thsBXHP+CYj4afs9yV UnC+dMdRbcl3wm73FbxGnDYGi4LKZbzqS8SOD8Bs99bTl8Gz1V97zwJ5UVA7AAQa sbNXSNyY9/HhaYQI/OP+tYcvvtokqQFE65COaihTJXHPHiCJst12kxzCWQ8Q1KXJ 4XCBDM7gyt+kcLIdFmZRdnO1MEx6FlDvJKpA1InWK+3xDT1oF3D9Q5igLsNq1ZgI /PEbzfKM0iKywSgXsLnWnzdM5/FUvSAyd3N4N3I8fLBRSy4hFz2JfatCmluxbe6e fny2cMCL7e7LlBqz9O61+y0yRSAgonCX2ZC+6stx6M/MHj+MUT7CQw==TWWR -----END PGP SIGNATURE-----