Re: sending email to all users [was Re: mutt+exim not working]
"Chad A. Adlawan" wrote: >> >> >ow btw, how do u send email to all users in ur system w/o having to type >all >> >their user names ? i use exim also ... >> >> Subscribe them to an announce-only mailing list that you would run. >> > > i think i remember our sysadmin used to do this, i think what he did was >send email to [EMAIL PROTECTED] (or something of that sort) for reall >y >important announcements and bingo, all users on our.domain.com will get that >email > what if i have some really important announcements to make and i have a >hundred++ users, how do i send an email w/ the same content to all of them a >ll >at once w/o typing all their user names ? The normal way of doing this is to define an alias (such as [EMAIL PROTECTED]). In sendmail, the file is /etc/aliases. I don't know whether it's the same in exim. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Rejoice with them that do rejoice, and weep with them that weep."Romans 12:15
Re: sending email to all users [was Re: mutt+exim not working]
> > >ow btw, how do u send email to all users in ur system w/o having to type all > >their user names ? i use exim also ... > > Subscribe them to an announce-only mailing list that you would run. > i think i remember our sysadmin used to do this, i think what he did was send email to [EMAIL PROTECTED] (or something of that sort) for really important announcements and bingo, all users on our.domain.com will get that email what if i have some really important announcements to make and i have a hundred++ users, how do i send an email w/ the same content to all of them all at once w/o typing all their user names ? TIA, Chad
Re: sending email to all users [was Re: mutt+exim not working]
>ow btw, how do u send email to all users in ur system w/o having to type all >their user names ? i use exim also ... >chad $ edit message_in_file $ for person in `cat /etc/passwd | awk -F ':' '{if ($3 >= 1000) print $1}'` do >mail -s "subject here" $person < message_in_file; > done $ rm message_in_file Carl
Re: sending email to all users [was Re: mutt+exim not working]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 May 1999 04:04:15 +0800, Chad A. Adlawan wrote: >ow btw, how do u send email to all users in ur system w/o having to type all >their user names ? i use exim also ... Subscribe them to an announce-only mailing list that you would run. - -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. - ---+- -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc iQA/AwUBNy3+zXpf7K2LbpnFEQKYwgCfRBib182v7BpczmH7NxKL8qWUn3UAnAxf 9b2IXwHBRBj24FhDenINxo2k =Y6Nu -END PGP SIGNATURE-