[Dovecot] Saving mails to +detail failed: Namespace error
We have the following namespace:
namespace { inbox = yes list = yes location = prefix = INBOX/ separator = / subscriptions = yes type = private } namespace { list = children location = maildir:%%h:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u prefix = shared/%%u/ separator = / subscriptions = yes type = shared }
and we set:
lmtp_save_to_detail_mailbox = yes recipient_delimiter = +
But sending Mails to user+detail is failing:
May 3 12:40:06 dobby2 postfix/cleanup[8245]: 12E787756C: message- id=201105031239.40804.p.heinlein@heinlein-support.de May 3 12:40:06 dobby2 postfix/qmgr[23304]: 12E787756C: from=p.heinlein@heinlein-support.de, size=1963, nrcpt=1 (queue active) May 3 12:40:06 dobby2 dovecot: lmtp(6537): Debug: auth input: p.heinlein@jpberlin.de home=/mail/jpberlin.de/p.heinlein/Maildir/ uid=10000 gid=10000 May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: Effective uid=10000, gid=10000, home=/mail/jpberlin.de/p.heinlein/Maildir/ May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: Namespace : type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~:INDEX=/cache/jpberlin.de/p.heinlein May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: maildir++: root=/mail/jpberlin.de/p.heinlein/Maildir/, index=/cache/jpberlin.de/p.heinlein, control=, inbox=/mail/jpberlin.de/p.heinlein/Maildir/ May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: Namespace : type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir: %h:INDEX=/mail/jpberlin.de/p.heinlein/Maildir//shared/%u:CONTROL=/mail/jpberlin.de/p.heinlein/Maildir//shared/%u May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: shared: root=/var/run/dovecot/, index=, control=, inbox= May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: Pg/fKrHav02JGQAAir+T1Q: sieve: user's script path /mail/jpberlin.de/p.heinlein/Maildir//../.dovecot.sieve doesn't exist (using global script path in stead) May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: Pg/fKrHav02JGQAAir+T1Q: sieve: user has no valid personal script May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Debug: Pg/fKrHav02JGQAAir+T1Q: sieve: no scripts to execute: reverting to default delivery.
May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Pg/fKrHav02JGQAAir+T1Q: msgid=<201105031239.40804.p.heinlein@heinlein- support.de>: save failed to Cong: Unknown namespace
May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Pg/fKrHav02JGQAAir+T1Q: msgid=<201105031239.40804.p.heinlein@heinlein- support.de>: saved mail to INBOX May 3 12:40:06 dobby2 postfix/lmtp[8338]: 12E787756C: to=p.heinlein+Cong@jpberlin.de, relay=dobby.heinlein- support.de[private/lmtp-dovecot], delay=0.1, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (250 2.0.0 p.heinlein+Cong@jpberlin.de Pg/fKrHav02JGQAAir+T1Q Saved)
But a folder named "Cong" exists:
# ls -la .Cong -d drwx------ 5 vmail vmail 4096 30. Apr 04:46 .Cong #
What's going wrong? My mistake or is it a bug?
peer
--
Die Mailserver-Konferenz: Das Know-how-Update für Postmaster 26./27. Mai 2011 - http://www.heinlein-support.de/mk
Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting
http://www.heinlein-support.de Tel: 030 / 40 50 51 - 0 Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
On Tue, 2011-05-03 at 12:50 +0200, Peer Heinlein wrote:
lmtp_save_to_detail_mailbox = yes .. May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinlein@jpberlin.de): Pg/fKrHav02JGQAAir+T1Q: msgid=<201105031239.40804.p.heinlein@heinlein- support.de>: save failed to Cong: Unknown namespace
For everyone else too: Fixed now by http://hg.dovecot.org/dovecot-2.0/rev/622d42376fe0
participants (2)
-
Peer Heinlein
-
Timo Sirainen