Solved

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

Posted on 2008-10-08
4
248 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In this video we show how to create an email address policy 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 Mail Flow…

828 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