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
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