Wonky mailbox

Sebastian Hagedorn Hagedorn at uni-koeln.de
Fri Mar 9 07:45:42 EST 2012


Hi Bron,

--On 9. März 2012 13:32:45 +0100 Bron Gondwana <brong at fastmail.fm> wrote:

>> >>> . UID FETCH 947 FLAGS
>> >>> * 329 FETCH (FLAGS (\Seen) UID 947)
>> >>> . OK Completed (0.000 sec)
>> >>> . UID STORE 947 +FLAGS (\Deleted \Seen)
>> >>> . NO Permission denied
>> >>>
>> >>> I ran "reconstruct -k" on the mailbox, but that didn't change
>> >>> anything. I don't think I've ever seen something like that before.
>> >>> Ideas?
>> >>
>> >>
>> >> Does she have the delete right on the mailbox?
>> >
>> > Sure. It's her own INBOX, and I quoted the output of MYRIGHTS above.
>> > Her ACL is lrswipkxecda.
>>
>> I missed that.
>
> Is there anything in syslog?

no. We're logging at debug level, but there's absolutely nothing.

>  What are the permissions on her .seen file?

600, cyrus:mail

I straced the imapd process while trying to store the Deleted flag, hoping 
I'd see some error there, but there's nothing there, either:

$ strace -p 757
Process 757 attached - interrupt to quit
select(1, [0], NULL, NULL, {1777, 560000}) = 1 (in [0], left {1775, 240000})
time(NULL)                              = 1331286460
time(NULL)                              = 1331286460
select(1, [0], NULL, NULL, {1775, 0})   = 1 (in [0], left {1775, 0})
time(NULL)                              = 1331286460
time(NULL)                              = 1331286460
read(0, "\0\0\0009_\324wO\213\332\264\31\vJ\250\236\236s\245\201"..., 4096) 
= 61
time([1331286460])                      = 1331286460
write(19, "<1331286460<", 12)           = 12
write(19, ". UID STORE 947 +FLAGS (\\Deleted"..., 41) = 41
fcntl64(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(6, {st_mode=S_IFREG|0600, st_size=20287408, ...}) = 0
stat64("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, 
st_size=20287408, ...}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat64("/var/spool/imap/B/user/redacted/cyrus.index", 
{st_mode=S_IFREG|0600, st_size=29224, ...}) = 0
fstat64(23, {st_mode=S_IFREG|0600, st_size=522216, ...}) = 0
fcntl64(22, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(22, {st_mode=S_IFREG|0600, st_size=1072, ...}) = 0
stat64("/var/lib/imap/user/B/redacted.seen", {st_mode=S_IFREG|0600, 
st_size=1072, ...}) = 0
fcntl64(22, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
time([1331286460])                      = 1331286460
write(19, ">1331286460>", 12)           = 12
write(19, ". NO Permission denied\r\n", 24) = 24
fsync(19)                               = 0
write(1, "\0\0\0(J\236;\204\22\363\235\364\311p\4da1,p5j\2VpN\21"..., 44) = 
44
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or 
directory)
time(NULL)                              = 1331286460
select(1, [0], NULL, NULL, {1800, 0} <unfinished ...>
Process 757 detached
-- 
     .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
                 .:.Regionales Rechenzentrum (RRZK).:.
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pkcs7-signature
Size: 5292 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120309/02f7433a/attachment.bin 


More information about the Info-cyrus mailing list