ChupaCabra wrote: > Bob Proulx wrote: > > MAILDIR=$HOME/Mail > > DEFAULT=$MAILDIR/Maildir/ > > > >You have MAILDIR in $HOME so this is a change from that and moves it > >into $HOME/Mail. But as a user I would hate my ISP if they put > >$MAILDIR in $HOME. Use a subdirectory! > > the actual directory is like /home/mike/Maildir/new > > Maildir also has tmp and cur
You need to understand that Maildir format mailboxes are really directories with three subdirectories under them, new, tmp, and cur. The combination of those things make a Maildir format mailbox. Maildir/{new,tmp,cur} -- One maildir mailbox. You refer to that one mailbox as a single thing with a trailing slash. Example: :0 Maildir/ > So does your solution remain the same. It is working hours so I can't > fsck it up when I change it. Yes. All relative mailboxes, paths without a leading /, will be relative to $MAILDIR. So the above is the same as: :0 $MAILDIR/Maildir/ That will put the new message in $MAILDIR/Maildir/tmp/message and then move it to $MAILDIR/Maildir/new/message. When you have read it the message will be moved to $MAILDIR/Maildir/cur/message. Bob