[Dovecot] Namespace Mistake

Silvio Siefke siefke_listen at web.de
Mon Feb 3 17:06:43 UTC 2014


Hello,

i try to setup the Dovecot Tutorial on 

http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix

But when send message i become the follow error message:

<dovecot.log>
Feb 03 18:06:09 lmtp(8386, webmaster at silviosiefke.com): Error: user webmaster at silviosiefke.com: Initialization failed: namespace configuration error: Duplicate namespace prefix: ""

<dovecot-debug.log>
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: Effective uid=5000, gid=5000, home=/var/vmail/silviosiefke.de/webmaster
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: No acl_shared_dict setting - shared mailbox listing is disabled
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/maildir
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: maildir++: root=/var/vmail/silviosiefke.de/webmaster/maildir, index=, indexpvt=, control=, inbox=/var/vmail/silviosiefke.de/webmaster/maildir, alt=
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: initializing backend with data: vfile:/var/vmail/conf.d/silviosiefke.de/acls:cache_secs=300
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: acl username = webmaster at silviosiefke.de
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: owner = 1
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl vfile: Global ACL directory: /var/vmail/conf.d/silviosiefke.de/acls
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=no location=maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: fs: root=/var/vmail/public, index=/var/vmail/silviosiefke.de/webmaster/public, indexpvt=, control=, inbox=, alt=
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: initializing backend with data: vfile:/var/vmail/conf.d/silviosiefke.de/acls:cache_secs=300
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: acl username = webmaster at silviosiefke.de
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: owner = 0
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl vfile: Global ACL directory: /var/vmail/conf.d/silviosiefke.de/acls
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:~/maildir
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: maildir++: root=/var/vmail/silviosiefke.de/webmaster/maildir, index=, indexpvt=, control=, inbox=, alt=
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: initializing backend with data: vfile:/var/vmail/conf.d/silviosiefke.de/acls:cache_secs=300
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: acl username = webmaster at silviosiefke.de
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl: owner = 1
Feb 03 18:06:09 lmtp(8389, webmaster at silviosiefke.de): Debug: acl vfile: Global ACL directory: /var/vmail/conf.d/silviosiefke.de/acls

<mail.log>
Feb  3 18:06:09 ks3374456 postfix/lmtp[8384]: E529E2452CC: to=<webmaster at silviosiefke.com>, relay=ks3374456.kimsufi.com[private/dovecot-lmtp], delay=350, delays=350/0.02/0.06/0.02, dsn=4.3.0, status=deferred (host ks3374456.kimsufi.com[private/dovecot-lmtp] said: 451 4.3.0 <webmaster at silviosiefke.com> Temporary internal error (in reply to end of DATA command))
Feb  3 18:06:09 ks3374456 postfix/lmtp[8385]: 7F6A12452C5: to=<webmaster at silviosiefke.de>, relay=ks3374456.kimsufi.com[private/dovecot-lmtp], delay=408, delays=408/0.02/0.05/0.02, dsn=4.3.0, status=deferred (host ks3374456.kimsufi.com[private/dovecot-lmtp] said: 451 4.3.0 <webmaster at silviosiefke.de> Temporary internal error (in reply to end of DATA command))
Feb  3 18:06:23 ks3374456 postfix/smtpd[8393]: connect from mail156.grifadder.com[85.187.97.156]
Feb  3 18:06:23 ks3374456 postfix/smtpd[8393]: NOQUEUE: reject: RCPT from mail156.grifadder.com[85.187.97.156]: 450 4.1.1 <info at silviosiefke.de>: Recipient address rejected: unverified address: host ks3374456.kimsufi.com[private/dovecot-lmtp] said: 550 5.1.1 <info at silviosiefke.de> User doesn't exist: info at silviosiefke.de (in reply to RCPT TO command); from=<bounce-2696-15045860-2900-248 at hausgif.com> to=<info at silviosiefke.de> proto=ESMTP helo=<mail156.grifadder.com>
Feb  3 18:06:23 ks3374456 postfix/smtpd[8393]: disconnect from mail156.grifadder.com[85.187.97.156]



# dovecot -n
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.23-xxxx-std-ipv6-64 x86_64 Gentoo Base System release 2.2 
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/maildir
mail_plugins = acl
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
namespace {
  hidden = no
  inbox = yes
  location = 
  prefix = 
  separator = /
  type = private
}
namespace {
  list = yes
  location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public
  prefix = Public/
  separator = /
  subscriptions = no
  type = public
}
namespace inbox {
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = username_format=%u /var/vmail/auth.d/%d/passwd
  driver = passwd-file
}
plugin {
  acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /var/vmail/conf.d/%d/sieve
}
protocols = imap lmtp
service auth-worker {
  user = dovecot
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  user = dovecot
}
service imap-login {
  inet_listener imap {
    address = 37.187.103.194
    port = 143
  }
  inet_listener imaps {
    port = 0
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0666
    user = postfix
  }
}
ssl_cert = </etc/ssl/dovecot/server.pem
ssl_key = </etc/ssl/dovecot/server.key
userdb {
  args = username_format=%u /var/vmail/auth.d/%d/passwd
  driver = passwd-file
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = acl sieve
  postmaster_address = webmaster at silviosiefke.com
}
protocol lda {
  mail_plugins = sieve
}
protocol imap {
  mail_plugins = acl imap_acl mail_log notify


Thank you for help & Nice Day
Silvio


More information about the dovecot mailing list