• 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

QMail/Imap - Plesk 9.2/Suse 11.1 - Permission denied Maildir

J

JensP

Guest
Hello,

after upgrading from Suse 10 (incl. Plesk 9.2) to 11.1 with Plesk (9.2) there seams to be a problem in the mail configuration. Mails seams to be arrived but authentication with IMAP or POP3 is not possible. In /usr/local/psa/var/log/maillog there occurs:

2009-09-12T19:07:30.640962+02:00 h1012927 imapd: IMAP connect from @ [127.0.0.1]chdir "/var/qmail/mailnames/domain.net/username": Permission denied

I used the Plesk backup utility to backup my mails and settings, but there were some problems during restoring. Therefore I have copied some Maildirs manually, maybe there is a problem with permissions right now? Is the following ok?

drwxrwx--- 12 qmaild qmail 4096 11. Sep 21:12 .
drwxr-xr-x 17 root root 4096 12. Sep 03:36 ..
drwxrws--- 2 qmaild qmail 4096 11. Sep 16:45 alias
drwxrwx--- 2 qmaild qmail 4096 11. Sep 16:44 bin
drwxrwx--- 2 qmaild qmail 4096 11. Sep 16:44 boot
drwxrwx--- 2 qmaild qmail 4096 12. Sep 18:17 control
drwxrwx--- 4 popuser qmail 4096 11. Sep 22:15 mailnames
drwxrwx--- 2 qmaild qmail 4096 12. Sep 02:31 plugins
drwxrwx--- 2 qmaild qmail 4096 12. Sep 02:31 popuser
drwxrwx--- 11 qmaild qmail 4096 12. Sep 02:31 queue
drwxrwx--- 3 qmaild qmail 4096 11. Sep 21:12 spamdyke
drwxrwx--- 2 qmaild qmail 4096 12. Sep 18:28 users

How has the mailnames pemissions to be? Currently the belong to popuser and group. I have runned /usr/local/psa/admin/sbin/mchk with no errors, also the auth_view tool shows me the correct users and settings.

It seams that auhtpsa is responsible for authentication, maybe it has no acces to the maidirs? Is there a special setting under wich the courier tries to access the mail directories?

The poppasswd describes in http://kb.odin.com/en/956 /var/qmail/users/ doesn not exists at my machine but the file assign (with correct domains, users, uids und gids) and cdb. Is the poppasswd still needed in 9.2?

any ideas? best wishes.
 
Back
Top