[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-list] Re: strftime() on Solaris 8
Hi Leslie,
Thanks for reporting this issue. I'll work on it.
However in order to make ossec-hids work on your environment, you may
want to edit "src/os_maild/sendmail.c" file and change line 212:
strftime(snd_msg, 127, "Date: %a, %d %b %Y %T %z\r\n",p);
to
strftime(snd_msg, 127, "Date: %a, %d %b %Y %T %Z\r\n",p);
(I mean change %z -> %Z). and install ossec-hids.
Then it will print "timezone name" instead of "hour offset from GMT".
Best Regards,
Ahmet Ozturk.
Leslie S Arvin wrote:
> I'm getting sendmail errors because the default strftime() on Solaris 8
> does not support %z. The Date: in the formatted email is displaying as:
>
> Date: Wed, 07 Jun 2006 15:14:31 %z
>
> and getting flagged by SpamAssassin.
>
> Since ossec has been tested on Solaris 2.8 (Sparc) systems, how does one
> get around this?
>
> -- Leslie Arvin
> arvin@xxxxxxxxxx, Office: FREH G409, Phone: 765-496-3971
> Network Systems Administrator, ITI-Unix Platforms
> Purdue University, Information Technology at Purdue
>
>
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.