OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: daemons
From: Bennett Todd (betrahul.net)
Date: Thu Jun 01 2000 - 12:06:52 CDT


2000-06-01-13:04:41 Ronneil Camara:
> Since postfix is real cool and good MTA, what MDA would you
> suggest that will work perfectly with postfix?

I'm guessing that when you say "MDA", you mean "Mail Delivery
Agent", which would be the same thing as "LDA" for "Local Delivery
Agent"? If so, then you might not need one at all; Postfix comes
with a builtin LDA that can deliver to mbox or Maildir, and
supports .forward files.

If you want something juicier, probably the single most widely-used
aftermarket LDA would be procmail, available from
<URL:http://www.procmail.org/>; configuring Postfix to use that for
all local deliveries is trivially easy, just add a line like

        mailbox_command = /usr/bin/procmail

to your /etc/postfix/main.cf, adjusting the path given if you put
procmail somewhere else. "postfix reload" to reread main.cf and away
you go. Whenever you dink with something like this, make a point of
eyeballing your maillog (/var/log/maillog on some systems, check
your syslog.conf to see where your email logs go otherwise) and
making sure Postfix isn't complaining about anything. If bouncing
legitimate messages would be Really Bad, a Horrible Thing, then you
can reduce the liklihood of it by setting

        soft_bounce = yes

in main.cf --- but remember to turn it back off when you're done and
everything is working, since while that's enabled Postfix will send
almost no error reports back. It basically converts most fatal
errors into hold-for-retry temporary ones.

Back to our muttons, if procmail doesn't suit you, another hip and
happening LDA is maildrop, from
<URL:http://www.flounder.net/~mrsam/maildrop/>. Maildrop has a
prettier filtering config language than procmail, and has had
Maildir support from the beginning (it's only recently been added
to procmail). Maildrop is also cleverer about not sluurping up
gigantic messages all into memory.

The other popular alternative LDA I know of is the one that comes
with Cyrus, which has to be used if you're using Cyrus, since Cyrus
requires a different mailbox format. Oh, in that spirit there's also
another oddball (tmail?) from the imap-utils from UW that's used if
you want to use mbx format folders.

-Bennett


  • application/pgp-signature attachment: stored