[Mailman-Users] Re: after other tests
Jon Carnes
jonc at nc.rr.com
Mon Oct 21 20:48:15 CEST 2002
D'oh! the script should read:
echo $i at mydomain.com >> ~mailman/localusers.txt
Then be sure to remove the file after you do the mailman sync!
Take care - Jon Carnes
===
On Mon, 2002-10-21 at 14:25, Ciolo_-^DusT^-_WebMaster wrote:
> > USERS=`cat /etc/passwd |sed -n "30,$ p"| cut -f1 -d: `
>
> I put the result of this command in a file and all is good
> the problems I think start here...
> ...
> > for i in $USERS
> > do
> > echo $i at mydomain.com > ~mailman/localusers.txt
> > done
>
> everytime he do it only for the last...
>
> example
> user are:
> a
> b
> c
> d
>
> he write only
>
> d at mydomain.com
>
> ps: I found out (studying the first command you gave me) that I can have the
> same result with :
>
> USERS=`ls /home/ | cat `
>
> what you think about it?
>
> ciao
> byez
> CioloWeb
>
>
More information about the Mailman-Users
mailing list