[Dovecot] Problems sending email direct into publich folders

Bohlken, Henning bohlken at jade-hs.de
Thu Jan 19 14:02:27 EET 2012


Hi,

i want to send mails direct into a public folder. If i send an email via my local postfix the mail will be handled as a normal private mail. Dovecot does create a mailbox in the private Namespace and do use not the mailbox in public one.

I hope you can help me with my little problem.

Here sone informations about my configuration:

[root at imap1 etc]# ls -la /var/dovecot/imap/public/
insgesamt 16
drwxr-x--- 3 vmail vmail 4096 19. Jan 10:12 .
drwxr-x--- 5 vmail vmail 4096 18. Jan 08:41 ..
-rw-r----- 1 vmail vmail    0 19. Jan 10:11 dovecot-acl-list
-rw-r----- 1 vmail vmail    8 19. Jan 10:12 dovecot-uidvalidity
-r--r--r-- 1 vmail vmail    0 19. Jan 10:12 dovecot-uidvalidity.4f17de84
drwx------ 5 vmail vmail 4096 19. Jan 10:12 .hrztest



and here is me configuration:


# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-220.2.1.el6.i686 i686 Red Hat Enterprise Linux Server release 6.2 (Santiago)
auth_username_format = %Ln
disable_plaintext_auth = no
login_greeting = Dovecot IMAP der Jade Hochschule.
mail_access_groups = vmail
mail_debug = yes
mail_gid = vmail
mail_plugins = quota acl
mail_uid = vmail
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 imapflags notify
mbox_write_locks = fcntl
namespace {
  inbox = yes
  location = maildir:/var/dovecot/imap/%1n/%n
  prefix =
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:/var/dovecot/imap/public/
  prefix = public/
  separator = /
  subscriptions = no
  type = public
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
passdb {
  driver = pam
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
  mail_log_fields = uid box msgid size
  quota = dict:user::file:/var/dovecot/imap/%1n/%n/dovecot-quota
  quota_rule = *:storage=50MB
  quota_rule2 = Trash:storage=+10%
  sieve = /var/dovecot/imap/%1n/%n/.dovecot.sieve
  sieve_dir = /var/dovecot/imap/%1n/%n/sieve
  sieve_extensions = +notify +imapflags
  sieve_quota_max_scripts = 2
}
postmaster_address = postmaster at jade-hs.de
protocols = imap pop3 lmtp sieve
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = uid=501 gid=502 home=/home/vmail/%n allow_all_users=yes
  driver = static
}
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = quota acl sieve
}
protocol imap {
  mail_plugins = quota acl imap_quota
}
protocol pop3 {
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}


--
HS Wilhelmshaven/Oldenburg/Elsfleth
Jade Hochschule
Hochschulrechenzentrum

Dipl.-Ing. Henning Bohlken
Friedrich-Paffrath-Str. 101
26389 Wilhelmshaven


More information about the dovecot mailing list