LFD not sending emails

Post Reply
nktert
Junior Member
Posts: 2
Joined: 23 Jan 2015, 04:23

LFD not sending emails

Post 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.
keat63
Junior Member
Posts: 116
Joined: 17 Dec 2014, 14:50

Re: LFD not sending emails

Post 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 ?
nktert
Junior Member
Posts: 2
Joined: 23 Jan 2015, 04:23

Re: LFD not sending emails

Post 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.
nunoleite
Junior Member
Posts: 5
Joined: 15 Oct 2014, 20:48

Re: LFD not sending emails

Post by nunoleite »

Hi!

Was this solved?

Thanks
Nuno Leite
Post Reply