LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2009, 04:31 AM   #1
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Rep: Reputation: 33
How to take backup of all incoming / outgoing mail in sendmail


Hi,

I am going to migrate exchange server 2003 to Sendmail(Smarthost + Fetchmail ) ... previously in exchange server 2003 there is one admin account who are taking backup of all incoming / outgoing mail for all domains configured in Exchange...

Can anyone please let me know how to take all incoming / outgoing mail backup in Sendmail... actually this is the business requirement.

I know how to do in Postfix like ( always_bcc = admin@example.com in main.cf ) but how to do that for Sendmail. I have installed Sendmail Currently for our environment.

Anyhelp would be greatly appreciated.
 
Old 11-20-2009, 07:20 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by mail4vijay View Post
Hi,

I am going to migrate exchange server 2003 to Sendmail(Smarthost + Fetchmail ) ... previously in exchange server 2003 there is one admin account who are taking backup of all incoming / outgoing mail for all domains configured in Exchange...

Can anyone please let me know how to take all incoming / outgoing mail backup in Sendmail... actually this is the business requirement.

I know how to do in Postfix like ( always_bcc = admin@example.com in main.cf ) but how to do that for Sendmail. I have installed Sendmail Currently for our environment.

Anyhelp would be greatly appreciated.
one way is to use logall.c, but then you have to recompile sendmail from source..

Code:
http://wingloon.com/2007/09/12/log-all-email-for-sendmail-in-centos-5/
 
Old 11-20-2009, 07:46 AM   #3
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by mail4vijay View Post
Hi,

I am going to migrate exchange server 2003 to Sendmail(Smarthost + Fetchmail ) ... previously in exchange server 2003 there is one admin account who are taking backup of all incoming / outgoing mail for all domains configured in Exchange...

Can anyone please let me know how to take all incoming / outgoing mail backup in Sendmail... actually this is the business requirement.

I know how to do in Postfix like ( always_bcc = admin@example.com in main.cf ) but how to do that for Sendmail. I have installed Sendmail Currently for our environment.

Anyhelp would be greatly appreciated.
forgot to add - assp proxy catches and stores all incoming mail too - but i cant remember if it stores outgoing./....something u could test...
 
Old 11-20-2009, 08:06 AM   #4
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by centosboy View Post
one way is to use logall.c, but then you have to recompile sendmail from source..

Code:
http://wingloon.com/2007/09/12/log-all-email-for-sendmail-in-centos-5/
Thanks a lot for this link.. but only drawback for rpm based installation which comes by default with CentOS 5.. which i generally use...

Anyways Thanks for your greatly help.
 
Old 11-20-2009, 08:22 AM   #5
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by mail4vijay View Post
Thanks a lot for this link.. but only drawback for rpm based installation which comes by default with CentOS 5.. which i generally use...

Anyways Thanks for your greatly help.
what do you mean drawback..??

first test the installation on a test box.
all you do is remove sendmail then follow instructions.

Code:
yum remove sendmail
then follow instructions........
 
Old 11-20-2009, 08:35 AM   #6
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by centosboy View Post
what do you mean drawback..??

first test the installation on a test box.
all you do is remove sendmail then follow instructions.

Code:
yum remove sendmail
then follow instructions........
Ok i will follow those instrucitons Sir...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy of every outgoing and incoming mail gubak Linux - General 3 04-12-2007 11:52 PM
Backup all incoming and outgoing mail ManRSA Linux - Software 4 10-03-2006 03:29 AM
Logging incoming/outgoing mail - how to? ziphem Linux - Newbie 0 09-23-2004 03:25 PM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 02:24 AM
sendmail archiving incoming/outgoing problem cscarol Linux - Software 1 12-04-2003 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration