Time to migrate from Sendmail’s abracadabra to Postfix. Need help.

Posted : April 30, 2004 at 12:41 am [America/Los_Angeles]


Here’s what I want to do before I start installing the usual softwares on my new server over at ServerMatrix. Simply put, I want to repace sendmail as my SMTP server of choice with Postfix. So, here’s a more detailed look at my to-do list:
  1. SMTP-Auth-TLS: The idea here is to prevent user passwords flying over the wire in clear text

  2. Ability to support accounts accessing their emails over dial-up or dynamic IP: No idea at this time. Kyle does talk about it. I am not sure if it’s detailed enough. For me, this would be a super win as I am currently dependant on the SBCs or the Comcasts of the world to provide an outgoing SMTP server.
  3. IMAP & IMAPS using Courier IMAP or Cyrus: I have used UW IMAP in the past. Never used Courier or Cyrus. Basically, I want to use one which supports email accounts which are not necessarily tied to unix accounts. Kyle’s book talks about Cyrus. I might go with that unless someone reading this thinks I should probably choose a different IMAP server.
  4. POP3/POP3S: I have NO idea. I am not worried, cause I really use IMAP a lot.
  5. Externalizing users into MySQL: I have read somewhere that this is possible. So my question is, is it doable and if so, is it a good idea? I would be surprised if I have more than 10-15 email accounts hosted on my server.
  6. Integrate Procmail: For server-side filtering and much much more
  7. Squirell Mai: Web-based email acces when I am on the roadl
  8. SpamAssassin: For filtering SPAM. Never setup one. Would appreciate any pointers on this and the next one.
  9. ClamAV: For filtering viruses, trojans, worms, etc. Again, have read about folks doing this. Personally, I have no experience with this software either
  10. Mailman: For Mailing Lists. Have used it in the past and absolutely luv it.

Stretch Goals:

  1. Mailing List archives in HTML using Mhonarc
  2. Integrating searching of the mailing list archives generated by MHonArc using HTDig

Kyle D. Dent’s book is all I really have to guide me at this time. If you’ve done this (and preferably documented this before), I would really luv to hear your inputs/pointers.

- Anand

Viewed: 997 times

1 Comment »

Shouldn’t be terrible to do. As long as you are using postifx 2.0/2.1 there are lots of good howto’s for the spamassain/clam part.

If you are using Courier-IMAP it provides IMAP over SSL and POP3 over SSL pretty much out of the box. IIRC the PEM format for Courier is a bit wonky, but is documented with courier.

The most entertaining part to figure out, and it is worth figuring out as it allows some wonderful things, is how postfix routes messages between its varius daemons and how to manipulate it via that master.cf. For a one-server mail system it may be easiest to hook in clam and spamassassin via procmail, rather than via postfix filters, though.

Posted by: Brian McCallister at April 30, 2004 @ 3:49 am

Leave a Comment