Skip to content

Instantly share code, notes, and snippets.

@frgaudet
Created December 2, 2014 09:20
Show Gist options
  • Save frgaudet/2f83054cf84b9bc8dee2 to your computer and use it in GitHub Desktop.
Save frgaudet/2f83054cf84b9bc8dee2 to your computer and use it in GitHub Desktop.
How to disable sf email sending
sed -i \
-e 's@PS_EMAIL_ALERT = "1"@PS_EMAIL_ALERT = "0"@' \
-e 's@LF_EMAIL_ALERT = "1"@LF_EMAIL_ALERT = "0"@' \
-e 's@CT_EMAIL_ALERT = "1"@CT_EMAIL_ALERT = "0"@' \
-e 's@LF_PERMBLOCK_ALERT = "1"@LF_PERMBLOCK_ALERT = "0"@' /etc/csf/csf.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment