I followed this guide: How to change the default location of mailboxes in Plesk for Linux to move maildir (and www dir) to a separate partition.
That part works well, even though I wished for a setting in the GUI down the line of: datadir (broken up in to mail, www, database, etc) so you could specify where to store the various data.
Anyhow, all works but now when I try to train spamassassin I get:
[2019-05-15 08:15:07.438] ERR [panel] Error: Execution failed: mkdir: cannot create directory '/var/qmail/mailnames/.spamtrain': No such file or directory
/etc/default/spamassassin reads:
OPTIONS="--create-prefs --daemonize --helper-home-dir=/home/qmail --max-children=5 --nouser-config --username=popuser --virtual-config-dir=/home/qmail/mailnames/%d/%l/.spamassassin"
That part works well, even though I wished for a setting in the GUI down the line of: datadir (broken up in to mail, www, database, etc) so you could specify where to store the various data.
Anyhow, all works but now when I try to train spamassassin I get:
[2019-05-15 08:15:07.438] ERR [panel] Error: Execution failed: mkdir: cannot create directory '/var/qmail/mailnames/.spamtrain': No such file or directory
/etc/default/spamassassin reads:
OPTIONS="--create-prefs --daemonize --helper-home-dir=/home/qmail --max-children=5 --nouser-config --username=popuser --virtual-config-dir=/home/qmail/mailnames/%d/%l/.spamassassin"