Re: Email all users

2001-10-01 Thread Vineet Kumar
* Aaron Hall ([EMAIL PROTECTED]) [010929 17:43]: > On Sat, 29 Sep 2001, Mike Egglestone wrote: > > > Hi, > > > > Does anyone know of such a way to email all the users > > a quick message without having to send the email seperately > > to each user? > > There might be more than one way. If everyon

Re: Email all users

2001-09-30 Thread Nathan E Norman
On Sat, Sep 29, 2001 at 11:54:51PM -0400, Joey Hess wrote: > Ben Hartshorne wrote: > > uid=`echo $i | sed -e "s/[^:]*:[^:]*:\([^:]*\).*/\1/"` > > > Someone make me feel embarassed by posting a much more beautiful script. > > At the very least, replace those sed lines with awk or something. It >

Re: Email all users

2001-09-29 Thread Joey Hess
Ben Hartshorne wrote: > uid=`echo $i | sed -e "s/[^:]*:[^:]*:\([^:]*\).*/\1/"` > Someone make me feel embarassed by posting a much more beautiful script. > At the very least, replace those sed lines with awk or something. It > should be much easier to say "grab the first and third field split b

Re: Email all users

2001-09-29 Thread Ben Hartshorne
On Sat, Sep 29, 2001 at 05:18:56PM -0700, Mike Egglestone wrote: > Hi, > > Does anyone know of such a way to email all the users > a quick message without having to send the email seperately > to each user? This is really ugly, but ... put the contents of the message you want to send in ./mymail.

Re: Email all users

2001-09-29 Thread Aaron Hall
On Sat, 29 Sep 2001, Mike Egglestone wrote: > Hi, > > Does anyone know of such a way to email all the users > a quick message without having to send the email seperately > to each user? There might be more than one way. If everyone checks their mail via POP, your pop server might have a bulletin

Re: Email all users

2001-09-29 Thread Henrique de Moraes Holschuh
On Sat, 29 Sep 2001, Mike Egglestone wrote: > Does anyone know of such a way to email all the users > a quick message without having to send the email seperately > to each user? One: have an alias that points to all the users in /etc/aliases, or whichever way your MTA handles that, and send the em

Email all users

2001-09-29 Thread Mike Egglestone
Hi, Does anyone know of such a way to email all the users a quick message without having to send the email seperately to each user? thanks Mike