Hello, I have a Debian 9 box with Plesk Onyx Version 17.8.11 Update #11
I follow the guide at How to change the default location of mailboxes in Plesk for Linux?
First, I migrate all my subscription via Plesk Migrator Tool before I move the default mail folder location from /var/qmail/mailnames/ to /mnt/MailStorage/mailnames/
But there are 2 problems I have:
1. At the step 9
It throws a lot of errors
2. And at the step 10 (/etc/passwd) there is no
there is only a similar line
So what I did was just insert this line
after the above line.
So finally in my /etc/passwd I have these 2 lines
So far there is no problem, but I'm curious did I miss something because I dont want this mailserver has problem in the future because of misconfiguration. I also think the guide may need update for Debian 9.
I follow the guide at How to change the default location of mailboxes in Plesk for Linux?
First, I migrate all my subscription via Plesk Migrator Tool before I move the default mail folder location from /var/qmail/mailnames/ to /mnt/MailStorage/mailnames/
But there are 2 problems I have:
1. At the step 9
Code:
# chcon -R -t mail_spool_t <new_mailnames_directory>
Code:
chcon: can't apply partial context to unlabeled file
2. And at the step 10 (/etc/passwd) there is no
Code:
popuser:x:30:31:POP3 service user:/var/qmail/popuser:/sbin/nologin
Code:
popuser:x:30:31:POP3 service user:/var/qmail/popuser:/bin/false
Code:
popuser:x:30:31:POP3 service user:/mnt/MailStorage/mailnames/qmail/popuser:/sbin/nologin
So finally in my /etc/passwd I have these 2 lines
Code:
popuser:x:30:31:POP3 service user:/var/qmail/popuser:/bin/false
popuser:x:30:31:POP3 service user:/mnt/MailStorage/mailnames/qmail/popuser:/sbin/nologin
So far there is no problem, but I'm curious did I miss something because I dont want this mailserver has problem in the future because of misconfiguration. I also think the guide may need update for Debian 9.
Last edited: