Solved

Mail to everybody from Linux

Posted on 1998-08-27
6
217 Views
Last Modified: 2013-12-15
Hi, I am new in Linux.
I use Linux 1.3 (Debian). I am trying to configure my E-mail server (sendmail). I want to use it's facility to send an E-mail to all users on server (i.g. everyone@xxxx.com).
How can I do that?
Thanks!!!  
0
Comment
Question by:vali
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:JYoungman
ID: 1630448
Send email to all local users or or everybody on a remote machine?

0
 
LVL 1

Accepted Solution

by:
tim_lbi earned 10 total points
ID: 1630449
Make a file (let's say /etc/all.users) wich contains all accounts name. (cat /etc/passwd | cut -f1 -d: >/etc/all.users)
Edit the file /etc/aliases and write something like this:
everyone::include:/etc/all.users
after that run 'newaliases'.

0
 

Author Comment

by:vali
ID: 1630450
1l The answer was good. If it were more detailed it would have been EXCELENT. Thanks anyhow!
Vali,
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:vali
ID: 1630451
Dear JYoungman, you didn't answer my question.
You have misunderstood my question.

0
 
LVL 2

Expert Comment

by:JYoungman
ID: 1630452
My previous comment was a *question*.  I asked that question *because* I did not understand what you had written.  So naturally I could not answer your question.

0
 

Author Comment

by:vali
ID: 1630453
I Received a GOOD answer from tim_lbi.
I am not waiting for further answers.
Thank You JYoungman.
 
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now