Just so Eric won't have to ask me (har har har):

http://wiki.qmailtoaster.com/index.php/How_to_set_up_a_mail_list_so_that_you_can_email_ALL_of_your_domains_at_one_time

Thanks,
Scott


On 4/16/11 3:49 PM, Scott Hughes wrote:
On 4/16/11 1:55 PM, Pak Ogah wrote:
On 04/17/11 0:16, Michael J. Colvin wrote:
I'm sorry... I've never used the mailing list functions, so I'm not a lot
of help and am probably asking stupid questions....

How is the mailing list "Stored"?  Flat file, cdb, MySQL?   How does
qmailadmin delete it? IE, can you take code from qmailadmin and reuse it? Or, maybe even call it from command line? (I know qmailadmin is gui, but
I've hardly every used it...)

Mike
cmiiw
this will forcefully deleted the subscriber from ezmlm-list
# cd /home/vpopmail/domains/domain.com/listname/subscribers/
# rm -rf *
Yep. That worked. Thanks Pak! Here is the updated script if anyone would like to use it.

#!/bin/sh

 # 06/15/2010 - Scott Hughes <sc...@renshawauto.net>
 # Initial creation of script to create an import text file of all
 # users on system and then import it into an already created
 # ezmlm mailing list.
 #
 # 04/16/2011 - Scott Hughes <sc...@renshawauto.net>
 # Added the complete removal of list subscribers before list
 # generation to take care of deleted accounts. Thanks to Pak Ogah
 # for the idea.

 echo "All user mailing list generation..."

 # Deleting current subscribers from mailing list
 rm -f /home/vpopmail/domains/<domain name>/<list name>/*

 # Generate mailing list import file
 #/home/vpopmail/bin/vpopbull -n -V > ~/alluserslist.txt

 # Import List into ezmlm mailing list
~vpopmail/bin/vpopbull -n -V | ezmlm-sub ~vpopmail/domains/<domain name>/<list name>

exit 0


Thanks,
Scott


--------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
--------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to