Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the weblog Setting up a very simple mail system


Re: Setting up a very simple mail system
Posted by simonw (84.45.xx.xx) on Fri 2 Mar 2007 at 20:34
I think it is a very bad idea.

Reinventing the wheel is usually a bad idea.

The classic mistake with such systems is not to queue email when the remote end is down. So once you've written the Python script to fall back to backup MX, and queue email when it has failed, and a daemon running to clear the queue every 15 minutes, a utility to check the queue when there is a problem, you have most of a Python MTA.

Our standard build at work sticks in Postfix, but not listening externally. I forward via /etc/aliases (most stuff is forwarded to root in Debian, I forward root email to our sysadmin account). The /etc/aliases works with sendmail and Exim as well, although the Debian packages and installer make it easiest to set this up with Postfix or Exim.

Sure it is overkill for what is needed. On the other hand I'm pretty convinced that if Postfix couldn't ship the email, nothing could.

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search