valter_ironport Fri, 01/30/2009 - 13:13
User Badges:

Try this:

C:\Program Files\PuTTY>plink [email protected] rollovernow all
Using keyboard-interactive authentication.
Password:
^C
C:\Program Files\PuTTY>plink [email protected] rollovernow all
Using keyboard-interactive authentication.
Password:
Log files successfully rolled over.

C:\Program Files\PuTTY>plink [email protected] rollovernow mail_logs
Using keyboard-interactive authentication.
Password:
Log files successfully rolled over.


plink is part of Putty tools.

You can check the post for Putty tools backup and create a script to use ssh from unlix-like machine as well.

-Valter

rokeeffe265 Thu, 10/15/2009 - 09:26
User Badges:

Hi Bart,

I submitted it as a feature request. That was before I read this KB article though so perhaps I didn't follow standard procedure for a request.
It's not a huge thing as there are work arounds, however it would seem like a logical feature to have on any box built around a Free BSD kernel.

Bart Salden_ironport Thu, 10/15/2009 - 09:29
User Badges:

exactly my idea! Seems logical to be able to do this on your box but the workaround is easy enough....

thx for the response!

Donald Nash Fri, 10/16/2009 - 16:41
User Badges:


just wondering is there a way to rollover the logs at a specific time each day rather than when they reach a certain file size

Not quite, but you can fake it. You can have the logs roll on a periodic basis. You can't schedule it for a certain time, you can just set the interval. But having set the interval, you can do a manual log rollover at a chosen time to get the schedule you want. The only problem is that it will slowly drift.

it would seem like a logical feature to have on any box built around a Free BSD kernel.

It's been my experience that feature visibility is less about what FreeBSD is capable of, and more about what IronPort is willing to spend engineering time to create a good user interface for. For example, IPsec and IPv6 have been on the wish list for quite some time. FreeBSD is capable of both, but IronPort hasn't made either of them into visible features. They don't have infinite talent, so they have to prioritize on what's going to sell the most boxes.

Actions

This Discussion