[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Another stupid question



On Fri, Mar 15, 2002 at 11:09:20PM -0500, tps@unslept.com wrote:
> On Fri, Mar 15, 2002 at 09:14:03PM -0500, Bob Billson wrote:
> > On Fri, Mar 15, 2002 at 07:20:11PM -0500, Tim Sailer wrote:
> > > OK, I'm number than I thought. I see nothing but a mere mention of
> > > maildir in one or two spots. Can you give a little more obvious pointer?
> > 
> > hrmm... You're right.  I can't find it either.  It used to be there.
> > That's where I found out how to do it.
> > 
> > Well, here is a relevant snippet from my exim.conf.  It should help get
> > you going.  Note I deliver mail on my machine to the directory
> > /home/$USER/Maildir rather than the *directory* /var/mail/$USER.  Either
> > way, you *also* need to create three subdirs: new, cur, and tmp, e.g.
> > 
> > mkdir /home/$USER/Maildir/{new,cur,tmp}
> > 
> > Without them, mail won't get delivered.  I found that out the hard way. :)
> > Hope this helps.  If not, give a yell.
> 
> 
> YEEEELLLLLL! :) I think my problem is in procmail. I had almost exactly
> what you had. Looking at the exim logs, everything is going through
> the procmail_pipe since I have a very extensive .procmailrc . I'll have to
> figure out how to make procmail behave with maildir.

OK, I have it figured out. You have to have 

DEFAULT = $HOME/Maildir

in either your /etc/procmailrc (for systemwide delivery) or in your
private .procmailrc for just you.

If you are using Mutt for a local mailreader, you need to add

set mbox_type=Maildir

in your .muttrc . 

Now, the interesting thing about mutt is, it looks liks this:

1190 O   Mar 15 Jones, Susan M  (  19) after work get-together for Bill
1191 N F Mar 16 To Tim Sailer   (   0) test mail


notice that message 1190 hsa 19 lines and 1191 shows 0 lines, although
it has 10. The 1190 was from the mbox2mdir conversion, the new ones all
show up as 0 lines

Tim

-- 
  
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
   >> Tim Sailer (at home)             ><  Coastal Internet,Inc.           <<
   >> Network and Systems Operations   ><  PO Box 671                      <<
   >> http://www.buoy.com              ><  Ridge, NY 11961                 <<
   >> tps@unslept.com/tps@buoy.com     ><  (631)924-3728  (888) 924-3728   <<
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



Reply to: