Tag Archives: Command Line

swaks – mail server testing tool

If you dont like using telnet to test a remote or local smtp server , swaks is a neat little tool to do the job for you.
its also available ( suprise suprise … ) in the freebsd ports : /usr/ports/mail/swaks.

found it first here

Use DOS FOR loop to modify premissions on files/folders

This assumes your usernames and homdirs are the same for example : user: alfred homedir : alfred

for /F %u in ('DIR /B A*.*') do v:\tools\xcacls.exe %u /T /E /C /G %u:RCWD /y