Solved

keep a copy of using email!!

Posted on 1998-05-26
12
290 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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Debian 5\lenny  package libxml2.so.2 install help needed. 2 94
Exploits in Kali Linux 4 420
OpenWrt 1 52
Ubuntu 14.04.3 Cannot login via GUI, returns to GUI login prompt 26 134
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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