View Full Version : adding multiple addresses to mailing list
eugene
10-10-2003, 09:33 PM
Is there any way to import a "large" number of addresses to the majordomo mail list?
I am migrating from a box being hosted on an ensim box to a DA box. My mailing list has about 100 people and I am too lazy ;) to type or even copy/paste them in one by one.
Thanks.
DirectAdmin Support
10-12-2003, 12:23 PM
Hello,
I havn't implemented something like that yet. If you have root, you can just do it manually:
/etc/virtual/domain.com/majordomo/lists/listname
John
eugene
10-12-2003, 05:18 PM
Thanks. :D If if had root, I wouldn't have had to ask . . .
DirectAdmin Support
10-13-2003, 12:26 PM
Hello,
Perhaps there is a majordomo feature for doing that? If anyone knows, let us know :)
John
eugene
11-21-2004, 04:19 PM
If you have cURL, or some other equivalent simply batch something like:
curl http://USERNAME :PASSWORD@DOMAIN:2222/CMD_EMAIL_LIST?domain=domain&name=listname&action=add&type=list&email=emailaddress
If you have curl, you can even use the multiple option construct like:
curl http://USERNAME :PASSWORD@DOMAIN:2222/CMD_EMAIL_LIST?domain=domain&name=listname&action=add&type=list&email={emailaddress1,emailaddress2,emailaddress3,emailaddress4,emailaddress5}
jlasman
11-22-2004, 08:31 PM
Originally posted by DirectAdmin Support
Perhaps there is a majordomo feature for doing that? If anyone knows, let us know :)
You can send multiple subscribe lines to majordomo in one email.
To see the proper format of the subcribe email, see the list-owner-info file.
Since you didn't include it in DA, I've put a copy of it here (http://www.nobaloney.net/downloads/majordomo/sample-list-owner-info).
Note that if you do it this way, each person will get a message asking if s/he wants to be in the list.
But that's a good thing :) .
Jeff
eugene
11-22-2004, 08:50 PM
I know. I was trying to add people silently.
Thanks for the post though.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.