SquirrelMail - problem on mail boxes

Discussion in 'Server Operation' started by satimis, Jun 15, 2008.

  1. satimis

    satimis New Member

    Hi folks,


    Ubuntu LTS 6.06 amd64
    Cyrus
    Postfix
    SquirrelMail


    I have problem on mail boxes. Emails can be received. But they can't be deleted. On deleting following warning popup.
    Code:
    ERROR: Could not complete request.
    Query: COPY 13 "INBOX.Trash"
    Reason Given: Permission denied
    

    Also emails can be sent on SquirrelMail and received at destination. But the emails sent can't be saved on the "Inbox.sent" mailbox with
    the same warning popup.


    $ sudo ls -al /var/spool/cyrus/mail/s/user/satimiscyrus
    Code:
    total 24
    drwx------ 2 cyrus mail 4096 2008-06-15 09:39 .
    drwx------ 3 cyrus mail 4096 2008-06-09 16:35 ..
    -rw------- 1 cyrus mail 1503 2008-06-15 08:50 13.
    -rw------- 1 cyrus mail 1116 2008-06-15 09:39 cyrus.cache
    -rw------- 1 cyrus mail  158 2008-06-09 16:35 cyrus.header
    -rw------- 1 cyrus mail  136 2008-06-15 09:39 cyrus.index
    

    $ sudo ls -ld /var/spool/cyrus/mail/s/user/
    Code:
    drwx------ 3 cyrus mail 4096 2008-06-09 16:35
    /var/spool/cyrus/mail/s/user/
    

    $ sudo ls -ld /var/spool/cyrus/mail/s/
    Code:
    drwxr-xr-x 3 cyrus mail 4096 2008-06-09 16:35 /var/spool/cyrus/mail/s/
    

    Please advise how to fix the problem. TIA


    B.R.
    satimis
     
  2. chipsafts

    chipsafts New Member

    you might have to create the files first for SquirrelMail to use them. or might not have permission to create files in that directory
     
  3. satimis

    satimis New Member

    Hi chipsafts,


    Thanks for your advice. Problem solved.


    The problem is only accounting to Cyrus nothing involving SM. There are something missing on the config files of Cyrus. The permission and ownship of some files differ from their directory.

    It tooks me couple days to trouble-shoot the causes. My finding is not easy to manage Cyrus, better using Dovecot or Courier. It is because I need Cyrus packages for a test on 2-factor One Time Password.


    Edit:

    It is NOT the problem of the packages on Cyrus office site. But it is the problem of Cyrus packages on Ubuntu repo which have some modification on the official packages. If interested on Cyrus better download the package on their official site


    B.R.
    satimis
     
    Last edited: Jun 16, 2008

Share This Page