[EMAIL PROTECTED] wrote:
Hello,
I need to add many users to the mailing list in my toaster installation.
From googling I found this script:
1. Make a text file containing:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
2. Make the mailing list using qmailadmin
3. Then inject the user from email.txt:
for i in `cat email.txt`
do /usr/bin/ezmlm-sub /home/vpopmail/domains/yourdomain.com/yourmaillist $i
done
Will that work? Especially I'm not sure whether it will be stored in mysql
database or not.
Thank you very much.
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm fairly certain you need to install ezmlm with the MySQL option if
you want the info stored that way. By default qmailtoaster stores the
info in text files located in
/home/vpopmail/domains/yourdomain.com/yourlistname/subscribers.
You could also do
cat mylist.txt | /usr/bin/ezmlm-sub full_path_to_your_list
Either way I suggest creating a test list for these kinds of exercises.
After you are done you can use
/usr/bin/ezmlm-list full_path_to_your_list
to verify it works as expected, or
ezmlm-list -n full_path_to_list
which gives the number of subscribers. You don't really want to learn on
a live list...
John
P.s. This manual subscription method also skips the confirmation email
normally sent to new subscribers...
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]