Solved

keep a copy of using email!!

Posted on 1998-05-26
12
301 Views
Last Modified: 2010-03-18
I want set the email system on linux, the root(or administrator or a user) can receieve a cc mail of what other users send and receieve.

Anyone know how to setup it on sendmail???

thanks
0
Comment
Question by:boingone
[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
  • 5
  • 3
  • 3
  • +1
12 Comments
 

Expert Comment

by:muesli
ID: 1584398
Is this ethical?  If you can't configure it yourself, maybe you shouldn't be doing it.  See sendmail.cf
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1584399
If it's a standalone system, sendmail.cf usually needs not be changed, just start sendmail.
If your system is part of LAN/WAN, you first need to setup DNS.
If you just want to reseive mail from a mailhost use POP3.
0
 

Author Comment

by:boingone
ID: 1584400
The reason to set like this is, the root or administrator want to receieve a copy of  mail of what other users send and receieve. How to setup it on sendmail ?
0
Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

 
LVL 10

Accepted Solution

by:
rbr earned 150 total points
ID: 1584401
To option is -O MeToo="root"

0
 

Author Comment

by:boingone
ID: 1584402
how? setup at which file(s)?
0
 
LVL 10

Expert Comment

by:rbr
ID: 1584403
You should have a /etc/sendmail.cf file. Use this one.
0
 

Author Comment

by:boingone
ID: 1584404
just add a line ( -O MeToo = "root" ) at any part of sendmail.cf and restart it will ok?
0
 
LVL 10

Expert Comment

by:rbr
ID: 1584405
Look for a me too line.
I could look like OmFalse alter this in
Omroot
or if it looks like O MeToo alter this in
O MeToo="root"

0
 

Author Comment

by:boingone
ID: 1584406
I edit the following line at /etc/sendmail.cf

# send to me too, even in an alias expansion?
O MeToo="root"

and reboot again, my Linux is slackware 2.0.30

I try both send out and receieve by a user, but the root still can't get any mail of that user!

did I do the right thing?

thanks
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1584407
I don't think that the O MeToo  option will do what boingone wants. It just makes a copy of each mail send back to the originator.

Try to modify the  Mprog  and/or  Mlocal  macros (sorry don't have the bat-book handy right now for the syntax). You must add the Cc: or (for you "big brother" watching Bcc:) to the command line of the appropriate deliver program.
0
 

Author Comment

by:boingone
ID: 1584408
can u tell more detail on how to set it up on the macros
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1584409
try following in sendmail.cf:

   HBcc: root

or

   H?P?Bcc: root
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

628 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