CWP LFD emails
Last update
2018-09-07
2018-09-07
«limit centos web panel (cpanel) lfd firewall (csf) notification emails»
- stop emails for suspiciuos activities from
trusted
users/programs:
1 2 3 4 5 6 7 8 9 10 11 | # /etc/csf/csf.pignore # ignore users user:tony user:beppi # ingrore programs exe:/usr/bin/bash exe:/usr/bin/mosh-server exe:/usr/bin/redis-server exe:/usr/bin/postgres # ignore programs matching perl regex pexe:/usr/local/rvm/rubies/ruby-.+/bin/ruby |
- stop blocked IPs emails:
1 2 3 | # /etc/csf/csf.conf LF_PERMBLOCK_ALERT = "0" LF_EMAIL_ALERT = "0" |
- restart security services:
1 2 | systemctl restart csf ; csf -r systemctl restart lfd |