• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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