Author Topic: [SOLVED] Cannot create message - no write permission or out of disk space  (Read 1644 times)

Offline pancrypticon

  • Newbie
  • *
  • Posts: 3
I just migrated my roundcube installation (v1.5.1) to a new server. Everything seems to be working fine except when I compose an email, it will send it without a problem but it won't save it to my "sent" folder. The following error pops up in the browser:

Quote
An error occurred while saving sent message. Server error: APPEND: Cannot create message - no write permission or out of disk space.

I'm not sure where it's trying to write it to, or what the permissions should be, but none of the filesystems are out of disk space.

I turned on imap_debug in the config and this is what it shows:

Quote
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS LOGINDISABLED ENABLE UTF8=ACCEPT] Courier-IMAP ready. Copyright 1998-2019 Double Precision, Inc. See COPYING for distribution information.
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0001 STARTTLS
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0001 OK Begin SSL/TLS negotiation now.
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0002 CAPABILITY
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION ENABLE UTF8=ACCEPT
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0002 OK CAPABILITY completed
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0003 CAPABILITY
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION ENABLE UTF8=ACCEPT
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0003 OK CAPABILITY completed
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0004 AUTHENTICATE PLAIN
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: +
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: ****** [54]
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0004 OK LOGIN Ok.
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0005 SELECT INBOX
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * FLAGS ($MDNSent \Draft \Answered \Flagged \Deleted \Seen \Recent)
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * OK [PERMANENTFLAGS ($MDNSent * \Draft \Answered \Flagged \Deleted \Seen)] Limited
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * 1012 EXISTS
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * 0 RECENT
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * OK [UIDVALIDITY 536796132] Ok
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * OK [MYRIGHTS "acdilrsw"] ACL
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0005 OK [READ-WRITE] Ok
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0006 UID STORE 39956 +FLAGS.SILENT (\Answered)
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0006 OK STORE completed.
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0007 LSUB "" INBOX.Sent
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * LSUB (\HasNoChildren) "." "INBOX.Sent"
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0007 OK LSUB completed
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0008 LIST "" INBOX.Sent
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * LIST (\HasNoChildren) "." "INBOX.Sent"
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0008 OK LIST completed
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0009 APPEND INBOX.Sent (\Seen) {2494}
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0009 NO [ALERT] Cannot create message - no write permission or out of disk space.
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] C: A0010 LOGOUT
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: * BYE Courier-IMAP server shutting down
    [16-Jan-2022 22:46:20 +0000]: <3oh0g31b> [9AA7] S: A0010 OK LOGOUT completed

I have exhausted my google-fu trying to solve this issue. Please advise. Thanks.
« Last Edit: January 17, 2022, 09:44:15 AM by pancrypticon »

Offline pancrypticon

  • Newbie
  • *
  • Posts: 3
Re: Cannot create message - no write permission or out of disk space
« Reply #1 on: January 17, 2022, 09:27:10 AM »
I also notice that if I click on my "Sent" folder in roundcube it says:

Quote
Server error: STATUS: STATUS failed.

I realize that this might be an error with my mailserver rather than a roundcube issue, but I would appreciate any advice anyone can give. Thanks. The imap debug log follows:
Quote
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] Connecting to tls://mail.pancrypticon.net:143...
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS LOGINDISABLED ENABLE UTF8=ACCEPT] Courier-IMAP ready. Copyright 1998-2019 Double Precision, Inc.  See COPYING for distribution information.
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0001 STARTTLS
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0001 OK Begin SSL/TLS negotiation now.
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0002 CAPABILITY
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION ENABLE UTF8=ACCEPT
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0002 OK CAPABILITY completed
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0003 CAPABILITY
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION ENABLE UTF8=ACCEPT
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0003 OK CAPABILITY completed
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0004 AUTHENTICATE PLAIN
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: +
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: ****** [54]
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0004 OK LOGIN Ok.
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0005 STATUS INBOX.Sent (MESSAGES UNSEEN)
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0005 NO [ALERT] STATUS failed
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0006 STATUS INBOX.Sent (MESSAGES UNSEEN)
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0006 NO [ALERT] STATUS failed
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0007 GETQUOTAROOT INBOX.Sent
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: * QUOTAROOT "INBOX.Sent" "ROOT"
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: * QUOTA "ROOT"
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0007 OK GETQUOTAROOT Ok.
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] C: A0008 LOGOUT
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: * BYE Courier-IMAP server shutting down
[17-Jan-2022 14:25:04 +0000]: <3oh0g31b> [0DC7] S: A0008 OK LOGOUT completed

Offline pancrypticon

  • Newbie
  • *
  • Posts: 3
Re: Cannot create message - no write permission or out of disk space
« Reply #2 on: January 17, 2022, 09:43:48 AM »
I was able to solve it with some tinkering. It looks like this was indeed a mailserver issue and not RC.

I moved my maildir's ".Sent" folder out of the way and created a new one. I noticed that the new one had a number of files/dirs that the old one was missing. I rsync'd the contents of my original folder into the new one and everything is peachy now. I hope this helps anyone who stumbles on this thread in the future.