?
Solved

Need to setup mass mailing on RH8

Posted on 2003-02-27
2
Medium Priority
?
202 Views
Last Modified: 2013-12-15
Hi,

I have a server that monitors other machines on the network, I also have a cron job to mail the stats to an e-mail address.

I need to be able to send the same e-mail to about 3 addresses, I have done this before, I think it was setup in /etc/mail.rc

could someone please let me know the correct file and the correct format for the group, it was something like :

sysadmin_mail = email1@xxx.com, email2@xxx.com, email3@xxx.com.

Thanks in advance.

     Greg
0
Comment
Question by:spazm
2 Comments
 
LVL 8

Accepted Solution

by:
heskyttberg earned 1020 total points
ID: 8032889
Hi!

This is how you do that:
alias sysadmin_mail  email1@xxx.com email2@xxx.com email3@xxx.com

Excellent page describing some other options you can specify in /etc/mail.rc

You need to install the mailx package to get this working.

Hope that helps

Regards
/Hans - Erik Skyttberg
0
 

Author Comment

by:spazm
ID: 8033054
Thanks worked like a charm..

Greg
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question