[Dovecot] Problems sending email direct into publich folders
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@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@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 =
-- HS Wilhelmshaven/Oldenburg/Elsfleth Jade Hochschule Hochschulrechenzentrum
Dipl.-Ing. Henning Bohlken Friedrich-Paffrath-Str. 101 26389 Wilhelmshaven
On 19.1.2012, at 14.02, Bohlken, Henning wrote:
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.
Depends on how you want to do this.. For example all mails intended to be put to public namespace could be sent to a "publicuser" named user, which has write permissions to the public namespace. Then you'll simply create a sieve script for the publicuser which redirects the mails to the wanted folder (e.g. fileinto "public/hrztest").
participants (2)
-
Bohlken, Henning
-
Timo Sirainen