Results 1 to 4 of 4
I have a mail server set up and running. I need to send an email to all users letting them know of an up coming outage but I am not ...
- 07-22-2010 #1Just Joined!
- Join Date
- Feb 2005
- Location
- Springfield, MO
- Posts
- 3
Send email to all users on server
I have a mail server set up and running. I need to send an email to all users letting them know of an up coming outage but I am not sure how to do this. There is over 100 users so I do not want to send them one by one.
Is there an easy way to do this? Maybe from the command line? We use Postfix and do mave mutt installed if those help
- 07-22-2010 #2Just Joined!
- Join Date
- Oct 2006
- Location
- Los Angeles
- Posts
- 7
It's not very elegant but how about
awk --field-separator=\: '{print $1"@myhost.com,"}' /etc/passwd
to build the list of email addresses to use as a bcc list?
Joe
- 07-29-2010 #3Just Joined!
- Join Date
- Dec 2003
- Location
- Greece
- Posts
- 43
Why not creating a mailing list with all them and just email that list?
- 07-29-2010 #4


Reply With Quote
