Maildir

John Seth johnseth at phoenixwing.com
Thu Aug 7 14:05:57 EDT 2003


Ok, flame me for being as opinionated as the next linux/unix guy who
prefers qmail, exim, etc.

RH comes with it's preferences sendmail and UW.  I help admin an all
cisco /RedHat shop, with no problems.  I do use sendmail. Standard
sendmail, with the sendmail.mc file configured to use virtualhosts,
access db, with no problems.

For mail delivery using maildir, we use standard procmail like so:
Open /etc/procmailrc (if it doesn't exist, create it), and in it, put:

MAILDIR=/$HOME/Maildir/
DEFAULT=$MAILDIR

I use Courier IMAP as a standalone server. I would strongly suggest not
trying to use xinetd/inetd.  Courier IMAP has the ability to use
wrappers, and ACL's. I use it for both POP3 and IMAP, and it runs
beautifully.  You can set in the imap config file how many connections
from one IP if you want to tighten things down, among many other config
options.  This was a big change for my system, as I previously ran UW. 
It was good, but Courier is better... IMHO.

If you like Pine to go along with your maildir, no problem. There's
patches.  You may find you'll need to custom install that, as you will
need to compile in a patch to have Pine utilize Maildir.  I use Pine
4.50 with a maildir patch and another.  Download Pine4.50.Z from UW,
visit: http://hico.fphil.uniba.sk/pine-patches.html, and get the maildir
patch at least.  Recompile, and Pine now reads maildir fine.  For
Slackware 8.1, I used the following (I have no need for ssl in pine):

cd pine4.50/
patch -p1 <../pine4.50.maildir.patch
./build DEBUG= NOSSL slx


RedHat 8.0:

cd /root/pine4.50
patch -p1 <../pine4.50.maildir.patch
./build DEBUG= lrh

qmail is, again IMHO, way too complicated.  I attempted it once with an
old box I had, and ended up having more problems since I am/was a newbie
to using qmail.  I prefer sendmail's "everythings in /etc/mail" approach
(with the exception of redhat which puts the sendmail.cf and
aliases(.db) in /etc/).

Being an ISP, I don't allow Outlook to connect to my IMAP server,
instead I let our webserver only, since we use mod'd SquirrelMail for
webmail.  You can also look into an OpenSource project called IMAPProxy,
which I also use, and can be found at http://www.imapproxy.org/

Happy mailing...


-- 
<? print(pack("c*", 74,117,115,116,32,/* Tony Evans                  */
 65,110,111,116,104,101,114,32,80,72, /* Linux/Web Implementation    */
 80,32,72,97,99,107,101,114,46,10));  /* http://www.phoenixwing.com/ */ ?>


> Thanks guys, What I really need is to do subdirectories on folders, I'm
> using procmail right now so it wouldn't be much of an issue I don't
> believe. Just need an IMAP sever that will do it. Courier I've heard
> good things, can you get RPM versions? Just makes it easier to keep it
> updated.  Also I assume I will have enourmous greif trying to convert
> current MBOX based inboxes and imap folders to maildir format. Yeah the
> procmail info would be great.
>
> Thanks
> Justin
>
> Robert Meyer wrote:
>
>>I used the uw patch.  Bad things happen... Outlook kills it in a bad
>> way.
>>
>>I've used courier IMAP with Outlook with good success.  It uses the
>> 'maildir'
>>format.  Courier uses it's own daemon (as opposed to using (x)inetd)
>> and can be
>>customized for numbers of allowable connections.
>>
>>As far as storing maildir format, you can do it in sendmail by using
>> 'procmail'
>>as your mail delivery agent.  It's a two line config for procmail and
>> you
>>specify procmail as your MDA in your sendmail config.  It took me about
>> 20
>>minutes to research and write the appropriate configs the first time I
>> did it.
>>
>>Cheers!
>>
>>Bob
>>--- Justin Bennett <justin.bennett at dynabrade.com> wrote:
>>
>>
>>>I know there has been some discussion about this before, but here
>>> goes.
>>>I'm looking for an imap/maildir solution that is easy to maintain. I
>>>have systems here and in europe and use Redhat Enterpise with Redhat
>>>network to keep them up on updates and security patches. I would like
>>> to
>>>do maildir, but all the solutions I seem to find require custom
>>>compiling software (qmail) to do this. Anybody have an easier
>>> solution,
>>>I know there was talk of a UW patch, I assume you still need qmail
>>> though.
>>>
>>>--
>>>Justin Bennett
>>>Network Administrator
>>>RHCE (Redhat Certified Linux Engineer)
>>>Dynabrade, Inc.
>>>8989 Sheridan Dr.
>>>Clarence, NY 14031
>>>
>>>
>>>
>>>
>>>
>>
>>
>>__________________________________
>>Do you Yahoo!?
>>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>>http://sitebuilder.yahoo.com
>>
>>
>
> --
> Justin Bennett
> Network Administrator
> RHCE (Redhat Certified Linux Engineer)
> Dynabrade, Inc.
> 8989 Sheridan Dr.
> Clarence, NY 14031
>
>
>




More information about the nflug mailing list