Howto disable all CSF and LFD email alerts

ConfigServer Security & Firewall (csf) is a stateful packet inspection (SPI) firewall, login/intrusion detection and security application for Linux servers.

The following commands will disable all CSF and LFD email notifications.

echo 'devnull: /dev/null' >> /etc/aliases
sed 's/To\: root/To\: devnull/g' -i /etc/csf/alerts/*