For mail servers listens on non-standard port numbers
Find in /etc/csf/cs.conf these lines:
# By default, lfd will send all alerts using the SENDMAIL binary. To send using # SMTP directly, you can set the following to a relaying SMTP server, e.g. # "127.0.0.1". Leave this setting blank to use SENDMAIL LF_ALERT_SMTP = ""
and change to your smtp server:port. For example
# By default, lfd will send all alerts using the SENDMAIL binary. To send using # SMTP directly, you can set the following to a relaying SMTP server, e.g. # "127.0.0.1". Leave this setting blank to use SENDMAIL LF_ALERT_SMTP = "mymailserver.example.com.ua:27"
Then restart csf
# csf -r
Similar Posts:
- how to install csf on debian
- How To List and Delete Iptables Firewall Rules
- CSF: disable icmp ping
- basic csf commands
- HOW TO BLOCK AN IP ADDRESS ON A LINUX SERVER
815