If you want to disable all cPFence email notifications and rely only on Slack mobile or desktop alerts, you can do so easily. This is helpful if you prefer to keep your email inbox clean and manage all server notifications in one Slack channel.
Option 1: Remove the Email via WebUI
To disable emails from the cPFence WebUI:
- Go to System Settings > Adjust Settings (Single Server).
- Find the email field and clear it (leave it blank).
- Click Save to apply the changes.
Option 2: Disable Emails via CLI
If you prefer the command line, you can manually clear the configured email in the main config file:
EMAIL_RECIPIENT=""
Edit this line inside the file:
/opt/cpfence/config.conf
Save the file after making the change. This disables email notifications.
Step 3: Set Up Slack Notifications
To continue receiving real-time alerts on your mobile or desktop, configure Slack notifications by following this guide:
How to Set Up Slack Notifications in cPFence
Need Further Assistance?
If you encounter any issues or need additional help, feel free to reach out to our support team via your client portal.