Create a mailing list of Outlook Connector users

I once had a request to populate a mailing list with Outlook Connector users.  Below is the script that was born.

The script assumes a hardcoded listname of “[email protected]”, use Notepad to search and replace [email protected] with the correct list name.

Also, you need to manually create the list in MDaemon first, otherwise the script will fail.  Lastly, be aware that you cannot manually add users to the list, the entire membership list is wiped and replaced each time the script runs.  The intention is to run the script automatically on a schedule to keep the list up to date.

CD C:\MDaemon\App
IF NOT EXIST GroupWareUsers.dat goto ERROR
IF NOT EXIST [email protected] goto ERROR
COPY [email protected] [email protected]
FIND “;” < [email protected] > [email protected]
FIND “@” < GroupWareUsers.Dat >> [email protected]
ECHO Could not find needed file, check and make sure GroupWareUsers.dat and [email protected] exist

CC BY-NC-ND 4.0 Create a mailing list of Outlook Connector users by Dave Warren ( is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.