Symptoms
- SpamAssassin is installed on the server
C:WindowsTemp
directory is filled with.spamassassin*tmp
files
Cause
This is expected behaviour of SpamAssassin software: it writes temporary files into the C:WindowsTemp
folder, like any Windows application.
Resolution
As a workaround create a scheduled task to remove SpamAssassin temporary files:
-
Go to Tools & Settings > Scheduled Tasks (Cron jobs) and click Add Task.
-
Set the following parameters for task, specify the desired launch time and click OK/Apply:
Command: C:Windowssystem32cmd.exe
with arguments: /c "DEL /F /S /Q C:WINDOWSTemp.spamassassin*tmp"
Additional information
There is a corresponding feature suggestion on our UserVoice portal for the implementation of Temp
folder automatic cleaning feature. Please, refer to the following link and take part in our product improvement by voting for this feature:
Top-ranked suggestions are likely to be implemented in future Plesk updates.