Re: [vchkpw] How to put all accounts in an alias file?

2003-06-30 Thread Che Stevens
If your creating an alias to email every user wouldnt vpopbull command be
better?  If you had an alias for every user anyone could get a hold of it
and spam every user you have.
- Original Message - 
From: "Andrej Dragicevic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 4:37 AM
Subject: re: [vchkpw] How to put all accounts in an alias file?


> 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-
> file???
> > >
> > > Thanks for your help in advance!
> > >
> > >
> > >
> > >
> > >
> > >
> > >
>
>
>




re: [vchkpw] How to put all accounts in an alias file?

2003-06-30 Thread Andrej Dragicevic
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-
file???
> >
> > Thanks for your help in advance!
> >
> >
> >
> >
> >
> >
> >





Re: [vchkpw] How to put all accounts in an alias file?

2003-06-30 Thread David du SERRE-TELMON
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- file???
> 
> Thanks for your help in advance!
> 
> 
> 
> 
> 
> 
>