Centos/RHEL/CloudLinux/AlmaLinux
Configuration files:
// amavis (Content Filter Settings)
/etc/amavisd/warden.conf
// amavisd-milter (Milter Settings)
/etc/sysconfig/amavisd-milter
// spamassassin (Anti-spam Settings)
/etc/mail/spamassassin/local.cf
// clamd scan daemon (Anti-virus Settings)
/etc/clamd.d/scan.conf
// clamav signature update (Anti-virus Signature Settings)
/etc/freshclam.conf
// dovecot (IMAP learning)
/etc/dovecot/conf.d/99-warden.conf
Restarting Services:
// amavis restart
systemctl restart amavisd
// amavis log file
tail -f /var/log/maillog
// amavisd-milter restart
systemctl restart amavisd-milter
// amavisd-milter log file
tail -f /var/log/maillog
// clamav restart
systemctl restart clamd@scan
// clamav log file
tail -f /var/log/clamd.scan
// freshclam restart (Centos/RHEL/Cloudlinux/AlmaLinux 8 only)
systemctl restart clamav-freshclam
// freshclam log file
tail -f /var/log/freshclam.log
// dovecot restart
systemctl restart dovecot
// dovecot log file
tail -f /var/log/maillog
Debian/Ubuntu
// amavis (Content Filter Settings)
/etc/amavis/conf.d/99-warden
// amavisd-milter (Milter Settings)
/etc/default/amavisd-milter
// spamassassin (Anti-spam Settings)
/etc/mail/spamassassin/local.cf
// clamd scan deamon (Anti-virus Settings)
/etc/clamav/clamd.conf
// clamav signature update (Anti-virus Signature Settings)
/etc/clamav/freshclam.conf
// dovecot (IMAP learning)
/etc/dovecot/conf.d/99-warden.conf
Restarting Services:
// amavis restart
systemctl restart amavis
// amavis log file
tail -f /var/log/maillog
// amavisd-milter restart
systemctl restart amavisd-milter
// amavisd-milter log file
tail -f /var/log/maillog
// clamav restart
systemctl restart clamav-daemon
// clamav log file
tail -f /var/log/clamav/clamav.log
// freshclam restart
systemctl restart clamav-freshclam
// freshclam log file
tail -f /var/log/clamav/freshclam.log
// dovecot restart
systemctl restart dovecot
// dovecot log file
tail -f /var/log/maillog