Solved

Sending mail to a group of users in one step

Posted on 1998-10-12
7
200 Views
Last Modified: 2010-04-20
I need to have the possibility of sending mail (the same message)to a group of persons in ONE step.
(N.B.: This group of persons is changing frequently so I prefer to restore them in a separate file, in order to easily edit it)
0
Comment
Question by:joujou101298
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 

Author Comment

by:joujou101298
ID: 1638251
Edited text of question
0
 
LVL 1

Accepted Solution

by:
ghjm earned 140 total points
ID: 1638252
One possibility is to use a Sendmail alias. Edit /etc/aliases and add a line like:

mygroup: bill, bob, fred, george

Then run newaliases and you should be able to e-mail all members of the group by just sending to "mygroup". Note that everyone (both on and off your system) will be able to send to this alias. Using this method, you have to edit /etc/aliases whenever the list of people changes; I don't think there is any way to put the list in a separate file.

If you want more control over who can send to the list, etc., have a look at Majordomo - it's not particularly difficult to set up, and gives you quite a bit of control over mailing lists. Details at http://www.greatcircle.com/majordomo.

0
 

Author Comment

by:joujou101298
ID: 1638253
Thanks ghjm but..
I still need to put my list in a file, and to control who can send to that list..
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 1

Expert Comment

by:ghjm
ID: 1638254
Okay, then you need to set up Majordomo. You can download it from the Web site above, and it includes pretty good installation instructions.
0
 

Author Comment

by:joujou101298
ID: 1638255
Thanks a lot ghjm.. I will try that Majordomo.
0
 

Expert Comment

by:fdrs1
ID: 1638256
Hi joujou,
to put your list in a separate file, just edit the /etc/aliases file like this

your_alias: :include:/the/path/of the file containing the list

enjoy.
0
 
LVL 1

Expert Comment

by:ghjm
ID: 1638257
fdrs1: Just out of curiosity, if you do it like that, do you know if you have to run newaliases when you change the file containing the list?
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 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