Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sending mail to a group of users in one step

Posted on 1998-10-12
7
Medium Priority
?
203 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 280 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
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.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

618 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