Manually mass adding users to qmail or vpopmail
I was surprised that documentation is so sparse on the ‘net on how to manually mass add users to ezmlm for qmail or vpopmail.
Let’s assume you’ve create a list called mylist@example.com
Let’s also assume you have a text file called “ezmlmusers-add.txt” that contains the new users you want to add with one full email address per line.
On linux, you can use this bash script to add that list:
=================================================================
#!/bin/sh
for name in $(cat ./ezmlmusers-add.txt)
do
/usr/local/bin/ezmlm/ezmlm-sub /home/vpopmail/domains/example.com/mylist/ $name
done
====================================================
This works to manually mass add a list of formatted names to your ezmlm list.
It obviously needs to be based upon a clean list file.