0

I'd like to know how to change the name in the "From" header for emails sent by OSSEC. I couldn't find any information about that.

Alerts I receive from my server are quite well organized. And OSSEC and is the only one I was not able to customize yet.

Sinklar
  • 93
  • 1
  • 6

1 Answers1

0

UPDATE
ok then this could be compiled in sources:

os_maild/sendcustomemail.c:#define FROM    "From: OSSEC HIDS <%s>\r\n"
os_maild/sendmail.c:#define FROM    "From: OSSEC HIDS <%s>\r\n"

use your custom name, and then run ./install.sh again, and answer yes -> update.

ADM
  • 1,353
  • 12
  • 16
  • You're right but sorry, I forgot to mention I'd like to change the name in the from header (edited the question above), not the email address. – Sinklar Apr 12 '15 at 12:28