• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Mail to everybody from Linux

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
vali
Asked:
vali
  • 3
  • 2
1 Solution
 
JYoungmanCommented:
Send email to all local users or or everybody on a remote machine?

0
 
tim_lbiCommented:
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
 
valiAuthor Commented:
1l The answer was good. If it were more detailed it would have been EXCELENT. Thanks anyhow!
Vali,
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
valiAuthor Commented:
Dear JYoungman, you didn't answer my question.
You have misunderstood my question.

0
 
JYoungmanCommented:
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
 
valiAuthor Commented:
I Received a GOOD answer from tim_lbi.
I am not waiting for further answers.
Thank You JYoungman.
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now