• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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