bug-mailutils
[Top][All Lists]
Advanced

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

[bug-mailutils] Re: IMAP protocol violation in 1.1


From: Sergey Poznyakoff
Subject: [bug-mailutils] Re: IMAP protocol violation in 1.1
Date: Sat, 16 Aug 2008 02:26:19 +0300

Simon Josefsson <address@hidden> ha escrit:

> How would a normal maildir setup look like?

Here's what I use on my mailservers:

mailbox {
  # Keep user mail in maildir format, mailboxes are arranged in an
  # indexed directory hierarchy with nesting level 2:
  mailbox-pattern
         "maildir:/var/spool/mail;type=index;param=2;user=${user}";
  # Create new mailboxes in maildir format as well. It is needed, among
  # others, for IMAP `CREATE' command/
  mailbox-type "maildir";
};
  
> I use exim4 in debian, and it delivers mail into ~/Maildir/ for
> people.  I don't want the entire home directory exported, just the
> sub-folders under ~/Maildir/.  I tried the various mailbox-pattern
> stuff like: 
> 
> mailbox {
>   mailbox-pattern "maildir:/usr/local/var/mail;type=index;param=2;"
>                   "user=${user}"; 
> };
> 
> But all the constructs seems to assume that the username comes last in
> path, but for me it comes in the middle - like /home/jas/Maildir/.

No problem, use this:

  mailbox-pattern "maildir:/home/${user}/Maildir";
   
> How much of the old documentation applies to mailbox configuration?

The docs are largely outdated.  The parts regarding configuration are
out of whack completely.  However, the description of the utilities
(Chapter "Programs"), and the Sieve library (Chapter "Sieve Language")
remains mostly accurate.  There are also considerable changes in the
mailutils libraries.  In general, I'd recommend to read the NEWS file
first: I attempted to tersely document all the changes there.  Should
you need any clarifications, please, do not hesitate to ask.

I'll try to bring the docs in synch with the actual state as soon as I
have some free time for that.

Regards,
Sergey








reply via email to

[Prev in Thread] Current Thread [Next in Thread]