Muffinresearch Labs by Stuart Colville

Sendmail Backup MX | Comments (0)

Posted in Linux/Unix on 26th October 2004, 7:07 pm by Stuart

One project I had whilst at Eclipse Presentations was to provide a solution to the perrenial problem of being able to read mail that is spooling on a back-up (linux) mail server. To that end I started to writea web-based solution using PHP and MySQL that could read the queue files and dump them into a database. You could then view the mail in a similar way to Hotmail or any other webmail. This was going well until I decided to re-think the idea.

The Re-think

I had an idea which was why don’t I try to redirect the mail so that it’s delivered by Sendmail to IMAP accounts on the Linux box? This seemed even better as it would then be possible to hook up Thunderbird with a bunch of localised IMAP accounts. Check out the downloads page for the full guide on how to set up a server to do just this. The latest version of the document shows you how to utilise the chainmail milter to facilitate the mail redirection to the local IMAP accounts.

The How-to

This document takes you through installing and setting up a back-up mail server on your network. For example I have used this method to provide a fallback server in a network using Microsoft Exchange 2003. I have also used the same method to provide a back-up for Sendmail on a webserver with several domains. Some level of Linux experience will be necessary but everything is explained in this guide. If anyone has any addendums or notes to add then please feel free to drop me a line here

Update: 26-10-04

Here is the latest version of this document which provides in addition to a guide to creating a back-up MX a way of being able to divert the spooling mail to local email accounts using the chainmail milter. This means you can set-up IMAP or POP3 accounts pointing at the back-up mail server to read mail from that server.

Post Tools

Comments: Add yours







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Using Loggerhead with mod_wsgi|(0)

Here’s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.

If you’re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some interesting posts coming out of there in the coming months (yes I’m unashamedly biased!).

Ubuntu: Turn off changing workspace with mouse wheel|(1)

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck “Viewport Switcher” which is under the “Desktop” heading.

Photos on Flickr

© Copyright 2004-10 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.628s.