Hello,
I'm have to find/make something to test a list of +- 40 servers (on different locations) on mail relay. My idea was to make a little batch script that tries to send a mail (to myself) using telnet (telnet <server name> 25, helo etc, etc.).
Now my problem is that i can't find a way to let him check a different server everytime.
So my first question is: is there a way to do this, or do i need to copy/paste the same steps (telnet <server> 25, helo etc, etc) 40 times and change the server name everytime?
second question is: can i delay the input of my batch file? 'cos otherwise the server doesn't get all the commands 'cos the input is faster than he can handle it.
tnx in advance,
Jori
/edit
found a way to delay things (call in another batch scripts that uses ping -w)
I'm have to find/make something to test a list of +- 40 servers (on different locations) on mail relay. My idea was to make a little batch script that tries to send a mail (to myself) using telnet (telnet <server name> 25, helo etc, etc.).
Now my problem is that i can't find a way to let him check a different server everytime.
So my first question is: is there a way to do this, or do i need to copy/paste the same steps (telnet <server> 25, helo etc, etc) 40 times and change the server name everytime?
second question is: can i delay the input of my batch file? 'cos otherwise the server doesn't get all the commands 'cos the input is faster than he can handle it.
tnx in advance,
Jori
/edit
found a way to delay things (call in another batch scripts that uses ping -w)