I'm getting 2 errors which are probably related, the second of which I haven't actually seen an issue with yet (I just found it looking at the error log) The issue is that I cannot change my subscriptions through Thunderbird (version 31.0). I created the subscriptions through Thunderbird, but now it won't let me change them. dovecot responds with sutff like this when I sniff network traffic or configure Thunderbird to log IMAP traffic: 10 NO [NOPERM] No permission to modify subscriptions The time stamp on the .subscriptions.lock file gets updated every time I try to make a change. To test I edited .subscriptions by hand and forced Thunderbird to try to subscribe something and I got access to the folder I added, so I presume it is reading the file correctly. Permissions on~jreid/mail is 0700, the existing .subscriptions file is 0640 and .subscriptions.lock file is 0600. all the files are owned by me and their group is my primary group (not mail). As for the second error, the dovecot.index.log.newlock file gets created but no dovecot.index.log file gets created. And dovecot would have created the directory tree to those files itself... I'm new to dovecot but not Unix or IMAP so I'm sure this is just some configuration option I've missed, any help would be most appreciated. $ /opt/csw/bin/doveconf -n # 2.2.12: /etc/opt/csw/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc disable_plaintext_auth = no first_valid_uid = 100 mail_access_groups = mail mail_location = mbox:~/mail:INBOX=/var/share/mail/%u namespace inbox { 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 } passdb { driver = pam } protocols = imap ssl_cert = </etc/opt/csw/ssl/certs/dovecot.pem ssl_key = </etc/opt/csw/ssl/private/dovecot.pem userdb { driver = passwd } $ doveadm log errors [...] Aug 03 16:47:02 imap(jreid): Error: rename(/home/jreid/mail/.subscriptions.lock, /home/jreid/mail/.subscriptions) failed: Permission denied Aug 03 16:52:49 imap(jreid): Error: rename(/home/jreid/mail/2012/.imap/Received/dovecot.index.log.newlock, /home/jreid/mail/2012/.imap/Received/dovecot.index.log) failed: Permission denied -- joe
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 3 Aug 2014, Joe Reid wrote:> The time stamp on the .subscriptions.lock file gets updated every time I try > to make a change. To test I edited .subscriptions by hand and forced > Thunderbird to try to subscribe something and I got access to the folder I > added, so I presume it is reading the file correctly. > > Permissions on~jreid/mail is 0700, the existing .subscriptions file is 0640 > and .subscriptions.lock file is 0600. all the files are owned by me and > their group is my primary group (not mail). > > $ /opt/csw/bin/doveconf -n > # 2.2.12: /etc/opt/csw/dovecot/dovecot.conf > # OS: SunOS 5.11 i86pc > disable_plaintext_auth = no > first_valid_uid = 100 > mail_access_groups = mail > mail_location = mbox:~/mail:INBOX=/var/share/mail/%u[cut]> passdb { > driver = pam > } > userdb { > driver = passwd > }> $ doveadm log errors > [...] > Aug 03 16:47:02 imap(jreid): Error: > rename(/home/jreid/mail/.subscriptions.lock, /home/jreid/mail/.subscriptions) > failed: Permission denied > Aug 03 16:52:49 imap(jreid): Error: > rename(/home/jreid/mail/2012/.imap/Received/dovecot.index.log.newlock, > /home/jreid/mail/2012/.imap/Received/dovecot.index.log) failed: Permission > deniedWho owns /home/jreid/mail, .subscriptions.lock file and /home/jreid/mail/2012/.imap/Received ? Please send a ls -la of /home/jreid/mail. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU9880Xz1H7kL/d9rAQI4kgf7B7nn7mzp8WHqYkD7azYToI7oYxIpoO1e bi29AjlWNqTkwrxmCyhKbUqwaGan+ZbxN1xRDxsh8q7SoN3p6uF3ot1os2vBrX/1 UuSsxKEohi7/9S6x/eN9a/gKbRsKfb8wMUwBIW4HlWJgLuaywCqwl1WOk78RpddG zUPsH3W63X/8lx84n6ZBqwddCYp/R4IYsQdyQMpMCjpj0DzTqniWhtd2i3ZiyaaF dOhaWgcjTZ1cjr4iJnZniylHkuS4NsFZejSpM1An41aq4b0b51FHSGG8R3ze+sop LVTctxCK7U+/sO296Lv5Lu49ndAlx0H7KViD9RKFWzaPtgQ+vDADZw==k6IU -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 3 Aug 2014, Joe Reid wrote:> The time stamp on the .subscriptions.lock file gets updated every time I try > to make a change. To test I edited .subscriptions by hand and forced > Thunderbird to try to subscribe something and I got access to the folder I > added, so I presume it is reading the file correctly. > > Permissions on~jreid/mail is 0700, the existing .subscriptions file is 0640 > and .subscriptions.lock file is 0600. all the files are owned by me and > their group is my primary group (not mail). > > $ /opt/csw/bin/doveconf -n > # 2.2.12: /etc/opt/csw/dovecot/dovecot.conf > # OS: SunOS 5.11 i86pc > disable_plaintext_auth = no > first_valid_uid = 100 > mail_access_groups = mail > mail_location = mbox:~/mail:INBOX=/var/share/mail/%u[cut]> passdb { > driver = pam > } > userdb { > driver = passwd > }> $ doveadm log errors > [...] > Aug 03 16:47:02 imap(jreid): Error: > rename(/home/jreid/mail/.subscriptions.lock, /home/jreid/mail/.subscriptions) > failed: Permission denied > Aug 03 16:52:49 imap(jreid): Error: > rename(/home/jreid/mail/2012/.imap/Received/dovecot.index.log.newlock, > /home/jreid/mail/2012/.imap/Received/dovecot.index.log) failed: Permission > deniedWho owns /home/jreid/mail, .subscriptions.lock file and /home/jreid/mail/2012/.imap/Received ? Please send a ls -la of /home/jreid/mail. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU9880Xz1H7kL/d9rAQI4kgf7B7nn7mzp8WHqYkD7azYToI7oYxIpoO1e bi29AjlWNqTkwrxmCyhKbUqwaGan+ZbxN1xRDxsh8q7SoN3p6uF3ot1os2vBrX/1 UuSsxKEohi7/9S6x/eN9a/gKbRsKfb8wMUwBIW4HlWJgLuaywCqwl1WOk78RpddG zUPsH3W63X/8lx84n6ZBqwddCYp/R4IYsQdyQMpMCjpj0DzTqniWhtd2i3ZiyaaF dOhaWgcjTZ1cjr4iJnZniylHkuS4NsFZejSpM1An41aq4b0b51FHSGG8R3ze+sop LVTctxCK7U+/sO296Lv5Lu49ndAlx0H7KViD9RKFWzaPtgQ+vDADZw==k6IU -----END PGP SIGNATURE-----
jreid owns everything under ~jreid/mail: $ ls -la total 104 drwx------ 20 jreid staff 23 Aug 4 07:22 ./ drwxr-xr-x 12 jreid staff 24 Aug 4 07:21 ../ drwxrwx--- 4 jreid staff 7 Jul 29 14:47 .imap/ -rw------- 1 jreid staff 94 Aug 3 12:24 .subscriptions -rw------- 1 jreid staff 108 Aug 3 22:16 .subscriptions.lock [...] drwxr-x--- 3 jreid staff 6 Aug 4 07:19 2012/ drwxr-x--- 3 jreid staff 6 Jul 29 16:12 2013/ drwxr-x--- 3 jreid staff 6 Aug 3 17:43 2014/ drwxr-x--- 6 jreid staff 7 May 21 2012 Mail_archive/ -rw-r----- 1 jreid staff 536 Aug 4 07:22 Trash $ ls -la 2012/.imap/Received/ total 8 drwxr-x--- 2 jreid staff 3 Aug 4 07:19 ./ drwxr-x--- 3 jreid staff 3 Aug 3 12:25 ../ -rw-r----- 1 jreid staff 40 Aug 4 07:19 dovecot.index.log.newlock On 8/4/2014 2:57 AM, Steffen Kaiser wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sun, 3 Aug 2014, Joe Reid wrote: > >> The time stamp on the .subscriptions.lock file gets updated every >> time I try to make a change. To test I edited .subscriptions by hand >> and forced Thunderbird to try to subscribe something and I got access >> to the folder I added, so I presume it is reading the file correctly. >> >> Permissions on~jreid/mail is 0700, the existing .subscriptions file >> is 0640 and .subscriptions.lock file is 0600. all the files are >> owned by me and their group is my primary group (not mail). >> >> $ /opt/csw/bin/doveconf -n >> # 2.2.12: /etc/opt/csw/dovecot/dovecot.conf >> # OS: SunOS 5.11 i86pc >> disable_plaintext_auth = no >> first_valid_uid = 100 >> mail_access_groups = mail >> mail_location = mbox:~/mail:INBOX=/var/share/mail/%u > [cut] >> passdb { >> driver = pam >> } >> userdb { >> driver = passwd >> } > >> $ doveadm log errors >> [...] >> Aug 03 16:47:02 imap(jreid): Error: >> rename(/home/jreid/mail/.subscriptions.lock, >> /home/jreid/mail/.subscriptions) failed: Permission denied >> Aug 03 16:52:49 imap(jreid): Error: >> rename(/home/jreid/mail/2012/.imap/Received/dovecot.index.log.newlock, /home/jreid/mail/2012/.imap/Received/dovecot.index.log) >> failed: Permission denied > > Who owns /home/jreid/mail, .subscriptions.lock file and > /home/jreid/mail/2012/.imap/Received ? > > Please send a ls -la of /home/jreid/mail. > > - -- Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > > iQEVAwUBU9880Xz1H7kL/d9rAQI4kgf7B7nn7mzp8WHqYkD7azYToI7oYxIpoO1e > bi29AjlWNqTkwrxmCyhKbUqwaGan+ZbxN1xRDxsh8q7SoN3p6uF3ot1os2vBrX/1 > UuSsxKEohi7/9S6x/eN9a/gKbRsKfb8wMUwBIW4HlWJgLuaywCqwl1WOk78RpddG > zUPsH3W63X/8lx84n6ZBqwddCYp/R4IYsQdyQMpMCjpj0DzTqniWhtd2i3ZiyaaF > dOhaWgcjTZ1cjr4iJnZniylHkuS4NsFZejSpM1An41aq4b0b51FHSGG8R3ze+sop > LVTctxCK7U+/sO296Lv5Lu49ndAlx0H7KViD9RKFWzaPtgQ+vDADZw=> =k6IU > -----END PGP SIGNATURE------- joe