done, below is my script just to share it, in case anyone need the same thing
=============================================== #!/bin/bash #usage: # ./setmiliscfg.sh DOMAIN=lets.selllogistics.com MILISDIR=/home/vpopmail/domains/$DOMAIN/* echo "Configuring all milist on Domain : $DOMAIN to use below settings" echo "" echo "- [y] Service requests sent to milist-request - [y] Allow remote administration by moderators. - [y] View and search the subscriber list. - [y] Require confirmation by a reply to a message sent to the subscription address. - [y] Require the approval of a moderator. - [y] Require confirmation by a reply to a message sent to the subscription address. - [n] Archive list messages" for milisname in $MILISDIR do if [ -e $milisname/config ]; then echo "" ezmlm-make -+AHJlqrs $milisname chown vpopmail.vchkpw $milisname/modsub chown vpopmail.vchkpw $milisname/remote echo "Milist: $milisname done!" fi done =============================================== > Dear guys, > I want to set-up all mailinglists on mydomain like these (on qmailadmin) > > - [y] Service requests sent to testmilist-request > - [y] Allow remote administration by moderators. > - [y] View and search the subscriber list. > - [y] Require confirmation by a reply to a message sent to the > subscription address. > - [y] Require the approval of a moderator. > - [y] Require confirmation by a reply to a message sent to the > subscription address. > - [n] Archive list messages > > I have succesfully find a command on ezmlm-make to modify the milist > settings > # ezmlm-make -+AHJlqrs > /home/vpopmail/domains/lets.selllogistics.com/$milistname/ > # chown vpopmail.vchkpw > /home/vpopmail/domains/lets.selllogistics.com/$milistname/modsub > # chown vpopmail.vchkpw > /home/vpopmail/domains/lets.selllogistics.com/$milistname/remote > > but I cant find variable for $milistname, because a user mailbox folder > and milist configuration folder are all same under > /home/vpopmail/domains/lets.selllogistics.com folder > > how to differensiate it ?? > > a nice shell script waited :) > > thx b4 > --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]