Thanks for the script!!

I thought there could be a command for that...

> Von: David du SERRE-TELMON [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 30. Juni 2003 11:31
> An: Andrej Dragicevic
> Cc: [EMAIL PROTECTED]
> Betreff: Re: [vchkpw] How to put all accounts in an alias file?
> 
> Simply a shell script ?!!
> 
> Something like that :
> 
> for user in `cat /home/vpopmail/domains/your_domain/vpasswd | cut -f1
-d:`
> do
>     user=`echo $user | sed s/\./:/g`    # Don't forget to replace . by
:
>     echo "what you want" >
/home/vpopmail/domains/your_domain/.qmail-$name
>     chown vpopmail:vchkpw
/home/vpopmail/domains/your_domain/.qmail-$name
>     chmod 600 /home/vpopmail/domains/your_domain/.qmail-$name
> done
> 
> ----- Original Message -----
> From: "Andrej Dragicevic" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 30, 2003 10:42 AM
> Subject: [vchkpw] How to put all accounts in an alias file?
> 
> 
> > I'm using vpopmail with over 7000 accounts in one domain. Which is
> > simplest way to add all the 7000 accounts to a .qmail-<alias>
file???
> >
> > Thanks for your help in advance!
> >
> >
> >
> >
> >
> >
> >



Reply via email to