> I  can't  seem  to  find  a  switch to get it to list only the local
> domains.

Try something along these lines in a batch file:

    del /q domlist*.txt

    domlist -list > domlist.txt

    find "Alias:" domlist.txt> domlistallaliases.txt

    find /v " -" domlistallaliases.txt> domlistdomainaliases.txt

    for /f "tokens=2 skip=4" %%i in (domlistdomainaliases.txt) do @echo %%i>> 
domlistfinal.txt

This  ain't  too  cute,  but domlistfinal.txt will have a list of your
domains and domain aliases when it's done.

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
e-mail: [EMAIL PROTECTED]

SpamAssassin plugs into Declude!
  http://www.mailmage.com/products/software/freeutils/SPAMC32/download/release/

Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail Aliases!
  
http://www.mailmage.com/products/software/freeutils/exchange2aliases/download/release/
  http://www.mailmage.com/products/software/freeutils/ldap2aliases/download/release/


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to