[xmail] Re: restart server via email

2006-04-01 Thread John Kielkopf
Grab something like grep for windows: http://www.interlog.com/~tcharron/grep.html and use something like: @echo off if "%~1"=="" exit 0 if not exist "%~1" exit 0 set /a maxfileSize=2048 if /i %~z1 GTR %maxfileSize% exit 0 grep "your-sec-code" %~1 if not %ERRORLEVEL%==0 exit 0 echo your reboot cod

[xmail] Re: restart server via email

2006-04-01 Thread waassssuu pppp
No issues and no problems but I want to be able to do it if I want to. I just need help with the script if you saw it in the previous email. I need a way to look in the body of an email for a code and if it sees that code proceed with the script. Its not really a bad idea or security problem. Yo

[xmail] Re: restart server via email

2006-04-01 Thread John Kielkopf
Your last two emails, and your test came through here fine. I'm not sure what you're asking exactly, but if it's for an opinion; I don't think restarting via email is a great plan. Surely, if you have the need to reboot your server like this, there are other issues with the server that need r

[xmail] server reboot

2006-04-01 Thread waassssuu pppp
Ok I know this is probably not a good idea but lets entertain the thought and possibilities. This is xmail 1.20 on win32 system and what I want to do is be able to email to the server and have a code in the body of the email and when it reaches xmail, xmail will look at it and check to see who the

[xmail] test

2006-04-01 Thread Mr Sexy
I think i am having trouble sending my previous 2 emails to the list. TEST TEST TEST - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]

[xmail] restart server via email

2006-04-01 Thread Mr Sexy
Ok I know this is probably not a good idea but lets entertain the thought and possibilities. This is xmail 1.20 on win32 system and what I want to do is be able to email to the server and have a code in the body of the email and when it reaches xmail, xmail will look at it and check to see who th