On the servers we have upgraded to versions greater than 4.60, lfd has stopped sending email alerts (including latest version). Servers with versions less than 4.61 continue to send email alerts. All servers are RHEL5/cetnOS5 32 bit servers. csf.conf settings all appear correct.
As another test, we took a csf 4.23 server, triggered a block that sent an email, removed the IP from the block list, upgraded to the latest version, triggered the block again, and no email was sent, no errors/indications in the maillog.
Thoughts? Known issue? Thanks.
Rob
lfd not sending emails in upgraded versions > 4.60
ok, I found that if we had previously edited the *.txt email templates to change the headers to:
---
From: servername <root@servername>
To: my@email.address
---
then on later versions csf will not send emails. Changing these back to:
---
From: root
To: root
---
seemed to "fix" it. Seems a change/bug was introduced that made the former syntax invalid. I know new parameters were added to csf.conf with respect to From/To fields, but the previous changes we made to .txt files seems to have broken recent versions.
The reason we changed the txt files to this format so the from: field being displayed when we check alerts (as we get 1000's per day) would list a custom server name that is easy to identify instead of just "root".
Rob
---
From: servername <root@servername>
To: my@email.address
---
then on later versions csf will not send emails. Changing these back to:
---
From: root
To: root
---
seemed to "fix" it. Seems a change/bug was introduced that made the former syntax invalid. I know new parameters were added to csf.conf with respect to From/To fields, but the previous changes we made to .txt files seems to have broken recent versions.
The reason we changed the txt files to this format so the from: field being displayed when we check alerts (as we get 1000's per day) would list a custom server name that is easy to identify instead of just "root".
Rob
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24