• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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