Page 1 of 1

LFD not sending emails

Posted: 23 Jan 2015, 04:47
by nktert
Hi Guys,

I have stuck with 1 problem. LFD doesn't want to generate email reports about ssh/cpanel login attempts and etc.

maillog is empty on related emails from root@hostname

CentOS release 5.11 (Final)
WHM 11.46.1 (build 7)
csf v7.58
egrep '(LF_CPANEL_ALERT_USERS =|LF_CPANEL_ALERT =)' /etc/csf/csf.conf
LF_CPANEL_ALERT = "1"
LF_CPANEL_ALERT_USERS = "root"

RESTRICT_SYSLOG = "0"
LF_ALERT_TO = "my_email"
LF_ALERT_FROM = ""
LF_SSH_EMAIL_ALERT = "1"

user and group on log files root:root and permission 600 on it.
I have read forum threads and find out only one suggestion to reinstall. Probably someone has solved this problem and can help me to figure it out.

Re: LFD not sending emails

Posted: 26 Jan 2015, 17:42
by keat63
In WHM under "Server Contacts" and then "Edit System Mail Preferences", do you have Root's emails being forwarded to a real email account ?

Re: LFD not sending emails

Posted: 27 Jan 2015, 17:40
by nktert
Thank youi for reply.

yes, all emails in "Edit System Mail Preferences" have been already changed to my email account.

Recently i have received notification from lfd about IP block and that's all. I can't receive notifications about root logins into WHM and about ssh to the server.

I have removed my static IP from csf.allow and csf.ignore.

Re: LFD not sending emails

Posted: 07 Feb 2017, 17:44
by nunoleite
Hi!

Was this solved?

Thanks
Nuno Leite