[solved] Admin mail is read only (after a system restore)

Hello,
After a global system restore of my NethServer 7.9.2009, the admin mail box is in read only mode.
Users mail box works good. I have this problem only for the admin@

In Thunderbird it’s like in read only mode, no changes (to receive, unread/read) can be done.
In Sogo I can change read/unread status but only for ‘old’ emails, ‘new’ email aren’t visible and clickable.

In CLI: I can’t access mails

$ mail
/var/spool/mail/root: Permission non accordée

Can you help me, please?

For the root user:
Which are the permissions of /var/spool/mail/root (the one directory it is complaining from CLI) ?

-rw------- root mail

And for /var/lib/nethserver/vmail/root/ ?

drwx------ 3 vmail vmail

If it’s another admin user (an AD or LDAP user, for instance) then other directories might be relevant.

Appened to me with a disaster recovery.
You should chown the mail directory with the correct user/group, but i can not remember the correct informazioni.

1 Like

Many thanks,
with your help I have resolved this problem with:

# chmod go+rx -R /var/lib/nethserver/vmail/admin@mydomain.ext/Maildir