• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Moved mail, spamassissin config

HelgeR

New Pleskian
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"
 
Back
Top