At 2:26 PM +0200 10/26/07, Sven Söhnel wrote:
>Hello,
>
>I've tried to generate an mail-subject like:
>SYS: 26.10.2007 00:00:01 : server.go : DenyHosts
>
>In the denyhosts.cfg I tried this:
>SMTP_SUBJECT = SYS: $[DATE +%d.%m.%Y\ %H:%M:%S] : $[HOSTNAME] : DenyHosts

If you are running in a *nix environment then you might want to try this instead

SMTP_SUBJECT = "SYS: `date +%d.%m.%Y\ %H:%M:%S` : `hostname` : DenyHosts"

-- 
------------------------------
 [EMAIL PROTECTED]      Ben Liberman
------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to