Solved

Sendmail configuration question (or other mail system if more appropriate)

Posted on 2008-10-08
4
242 Views
Last Modified: 2013-12-17
Hi,

I want to setup a sendmail or another similar open source mail system for either side of gmail business edition.

I want to do this to keep a copy of all outbound / inbound email delivered to and from gmail for business policy purposes.

Any ideas on how I do that? google supports this by use of gateway on the outbound side, so all I need to do is work out how to configure the mail servers.

Many thanks,

b
0
Comment
Question by:BrettskiWork
  • 2
  • 2
4 Comments
 

Author Comment

by:BrettskiWork
ID: 22674517
sorry and I should mention its on ubuntu 8.04
0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 22674998
You could set it up so your MX record points to this sendmail server. Use the /etc/mail/mailertable file to specify that mail your domain should be sent to one of the gmail mx servers. Mailertable is a way of overriding normal mail flow and force mail for specific domains to specific servers. That handles incoming mail. It'll come to you, get logged and immediately get forwarded to gmail.

For outgoing basically just can deliver mail directly from this server, or forward it using the smarthost functionality to gmail or your isp for them to deliver it. Either way it'll get logged on your server also.
0
 

Author Comment

by:BrettskiWork
ID: 22675084
so all forward mail keeps a copy on the server as well? Even if its just relayed through?
0
 
LVL 26

Expert Comment

by:jar3817
ID: 22677661
It'll log it (to, from, msgid, etc), but it's not going to keep a copy of the actual message. You'll need to hack something together for that. If you know perl you can use mimedefang as a sendmail milter and write a function to make a copy of the msg and store it locally.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

706 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

20 Experts available now in Live!

Get 1:1 Help Now