works like charm....
now I can see the logs directly using the menu without have to listing
them manually with 'ls'

anyway do I have put the script on every qmail log folders?
can you combine it with qmlog ?
so it can be execute it anywhere like this
'qmailog_viewer smtp'

just a tought

> Try running it with perl.  # perl qmailog_viewer
>
> If that doesn't work, then rename the file to qmailog_viewer.pl and give
> it another try.
>
> Hope this helps,
>
> J.
>
> PakOgah wrote:
>> Hi Jon,
>>
>> I get this error when running on my machine
>>
>> # ./qmailog_viewer
>> ./qmailog_viewer: line 9: use: command not found
>> ./qmailog_viewer: line 11: syntax error near unexpected token `('
>> ./qmailog_viewer: line 11: `my @logs = ();'
>>
>> line 9 and 11 are :
>>
>> use strict;
>> my @logs = ()
>>
>>
>>> Hi all.
>>>
>>> I wrote a script that makes reading the qmail logs a bit more pleasant
>>> and figured I'd share it with all of you as well.
>>>
>>> A description and the code is located at http://www.ernster.net/?p=13
>>>
>>> Feel free to leave a comment with any feedback/suggestions/whatever.
>>>
>>> Thanks,
>>>
>>> J.
>>>
>>> ---------------------------------------------------------------------
>>>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>



---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to