• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Courier-IMAP and qmail, sent-mail present but not visible...

S

shrubbery

Guest
I'm trying to get sent-mail folders working under Plesk. The sent mail is being saved and kept in:
Code:
/usr/local/psa/qmail/mailnames/<domain>/<username>/Maildir/.sent-mail/
I'm able to read all of the sent mail that is in there, but it is inaccessible through any IMAP client, webmail or otherwise. I've tried it in Horde, Apple Mail, Thunderbird and others, but it just doesn't show up.

Can anyone help me out?
 
Make sure the ownership and permissions are correct:
Code:
drwx------    6 popuser  popuser      4096 Jul  8 06:13 .sent-mail

(then inside the .sent-mail directory)
-rwx------    1 popuser  popuser        17 May  3  2005 courierimapacl
drwx------    2 popuser  popuser      4096 May  3  2005 courierimapkeywords
-rw-r--r--    1 popuser  popuser      1927 Sep 23 04:47 courierimapuiddb
drwx------    2 popuser  popuser      4096 Sep 23 04:47 cur
-rwx------    1 popuser  popuser         0 May  3  2005 maildirfolder
drwx------    2 popuser  popuser      4096 May  3  2005 new
drwx------    2 popuser  popuser      4096 Sep 28 00:38 tmp
And this is the .sent-mail directory which Horde/IMP created, not one you created manually, right?
 
Yeah, either Horde (or Courier, or qmail, I don't really know which) created it. My permissions were slightly different (the execute bit wasn't set on the courier acl). I changed them to what you had above, but it didn't make any difference.

Any other ideas? I know that the sent mail folder is working fine, because its filled with messages that I've sent. Now if I could only see it without having to chunk through them manually, I'd be all set. :)
 
my fault. it works now that I changed the permissions and restarted Courier-IMAP. Didn't realize I'd have to restart courier.

So now the question is: Why are these folders getting created with the wrong permissions?
 
I miss cPanel so very much.

did I really just pay 500$ for a crappy cPanel wannabe that can't fix this issue in 8 years? I am experiencing this in Plesk 11.5 in the year 2014. Awesome.

my fault. it works now that I changed the permissions and restarted Courier-IMAP. Didn't realize I'd have to restart courier.

So now the question is: Why are these folders getting created with the wrong permissions?
 
Back
Top