Introduction
Apache SpamAssassin allows the system administrator to customize how the server processes spam emails. SpamAssassin configuration files are stored in the /etc/mail/spamassassin
folder. The spamd
service automatically detects new configuration files at startup.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Create a customization file, such as
custom.cf
, in the/etc/mail/spamassassin
folder. - Add the desired configurations to the file using your preferred text editor.
- Check the rule syntax for errors.
/usr/local/cpanel/3rdparty/bin/spamassassin --lint
- Restart the
spamd
service to apply the change./usr/local/cpanel/scripts/restartsrv_spamd
Comments
0 comments
Article is closed for comments.