Solved

Mail to everybody from Linux

Posted on 1998-08-27
6
219 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 59
Steps to follow for Maintenance of Servers 4 62
Error Message during CentOS 7 Minimal Install 3 41
open source backup solution 1 27
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…
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 …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

816 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

10 Experts available now in Live!

Get 1:1 Help Now