On 08/17/2014 04:11 PM, James Knott wrote:
Here is my dovecot.conf:
## Dovecot configuration file
# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration
*** WARNING JIM ROBERTSON ***
Wrong wrong wrong wrong wrong wrong
Look: at the top of http://wiki2.dovecot.org/QuickConfiguration
it says quite clearly
This documentation is for Dovecot v2.x,
see wiki1 for v1.x documentation.
So if you are running v2 then there isn't a sinvle config file any more.
As it says, try running
doveconf -n | Head -n 1
The important part about v2 is that all the details of the configuration
are not in doveconf.conf but ...
<quote>
# Most of the actual configuration gets included below. The filenames are
# first sorted by their ASCII value and parsed in that order. The
00-prefixes
# in filenames are intended to make it easier to understand the ordering.
!include conf.d/*.conf
</quote>
are in 10-mail.conf
The relevant part of mine is
<quote>
#
#
# mail_location = maildir:~/Mail/INBOX:LAYOUT=fs
namespace inbox {
# separator = /
prefix =
# # location = maildir:~/Mail:INBOX=~/Mail/INBOX:LAYOUT=fs
location = maildir:~/Mail/INBOX:LAYOUT=fs
inbox = yes
hidden = yes
list = no
}
#
# If you need to set multiple mailbox locations or want to change default
# namespace settings, you can do it by defining namespace sections.
</quote>
As far as I can see, by putting your mail location directive in the
dovecote.conf as you would with V1 you have buqqered things up as far as
v2 goes.
And yes I use maildir.
As I mentioned in previous email, I have a number of namespaces.
The above is the one for the inbox. I have another for the main IMAP
repository, one for archives, and one for the /var/spool
Those three are MBOX. The spool has to be mbox, doesn't it?
But dovecot supports its own format and I might convert the IMAP and
ARCHIVE to that some day. Hence having each a separate name space makes
things manageable and, more to the point, it compartmentalizes in a way
that avoids the mind of mess you've ended up in.
Now if you are using v2 do things the v2 way!
Sorry, I'm not interested in the "yes but it should work" or "did work"
arguments. Maybe you were using v1 before and it worked that way with
v1,yes, but STOP FIGHTING IT and get with the way v2 works. Its an
'each thing does one thing and only one thing' config. Its not mixing
authentication with namespace, for example.
Putting
mail_location = mbox:~/mail:INBOX=/var/mail/%u
at the end of dovecot.conf is WRONG WRONG WRONG.
It doesn't belong there in V2.
STOP trying to configure V2 as if it were V1.
--
/"\
\ / ASCII Ribbon Campaign
X Against HTML Mail
/ \
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org