Hi,
-I did a simple installation in my server, I installed only: CentOS 8 + Postfix + Mailx + CSF
-I configured in file "/etc/csf/csf.conf" this data: LF_SSH_EMAIL_ALERT="1", LF_SU_EMAIL_ALERT="1", LF_SUDO_EMAIL_ALERT="1", LF_ALERT_TO="myemail@email.com"
-I enabled only 2 ports: SSH port, and port 25 for emails
-I can send emails with command "mail" and work correctly.
-I not did nothing more for email configurations in CSF, Postfix or Mailx.
The problem: CSF/LFD not send me email notifications with logins and blocked IPs.
I don't know where is the problem, can you tell me if i need configure anything for receive emails?.
-Other question: by default CSF/LFD block permanent or temporally the users who failed 5 times the login?.
Thank you very much.
CSF not send me notifications
-
- Junior Member
- Posts: 6
- Joined: 30 May 2020, 02:58
Re: CSF not send me notifications
I solved him: reboot the server and now i receive "SUDO" notifications.
But i not receive notifications when user login (with normal account), and not receive notifications when do too many failed logins.
How can i solve this?. Thank you very much.
But i not receive notifications when user login (with normal account), and not receive notifications when do too many failed logins.
How can i solve this?. Thank you very much.
-
- Junior Member
- Posts: 6
- Joined: 30 May 2020, 02:58
Re: CSF not send me notifications
I solved some things, this is the last questions:
-I added contries to parameter "CC_DENY" but CSF not block IPs from this countries.
-When block a IP, i don't know if CSF block him permanently or temporary. I need block IPs permanently when fail 3 tries.
Thank you very much.
-I added contries to parameter "CC_DENY" but CSF not block IPs from this countries.
-When block a IP, i don't know if CSF block him permanently or temporary. I need block IPs permanently when fail 3 tries.
Thank you very much.
-
- Junior Member
- Posts: 6
- Joined: 30 May 2020, 02:58
Re: CSF not send me notifications
Anybody can reply my questions?, only need:
-I added contries to parameter "CC_DENY" but CSF not block IPs from this countries.
-When block a IP, i don't know if CSF block him permanently or temporary. I need block IPs permanently when fail 3 tries.
Thank you very much.
-I added contries to parameter "CC_DENY" but CSF not block IPs from this countries.
-When block a IP, i don't know if CSF block him permanently or temporary. I need block IPs permanently when fail 3 tries.
Thank you very much.