WG: Mailbox Alias

zyrixx zyrixx at gmx.net
Tue Aug 15 08:44:28 EEST 2017


Hallo, this is my Testconfig

root at server:~# doveconf -n
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.9 auth_mechanisms = plain login disable_plaintext_auth = no mail_location = maildir:~/Maildir mail_plugins = " mailbox_alias"
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 {
  location = maildir:/var/vmail/public/.Spamlern
  prefix = Spamlern.
  separator = .
  subscriptions = yes
  type = public
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = create
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = create
    special_use = \Trash
  }
  prefix =
  separator = .
}
passdb {
  driver = pam
}
plugin {
  mailbox_alias_new = Sent Messages
  mailbox_alias_new2 = Sent Items
  mailbox_alias_new3 = Trasher
  mailbox_alias_new4 = Spamer
  mailbox_alias_new5 = Gesendete Elemente
  mailbox_alias_old = Sent
  mailbox_alias_old2 = Sent
  mailbox_alias_old3 = Trash
  mailbox_alias_old4 = Spam
  mailbox_alias_old5 = Sent
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = root at localhost
protocols = " imap sieve"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key
userdb {
  driver = passwd
}
protocol lda {
  mail_plugins = " sieve"
}
protocol sieve {
  info_log_path = /var/log/sieve.log
  log_path = /var/log/sieve.log
  mail_max_userip_connections = 10
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_logout_format = bytes=%i/%o
  managesieve_max_compile_errors = 5
  managesieve_max_line_length = 65536
}

-----Ursprüngliche Nachricht-----
Von: dovecot [mailto:dovecot-bounces at dovecot.org] Im Auftrag von Sami Ketola
Gesendet: Montag, 14. August 2017 13:59
An: azurit at pobox.sk
Cc: dovecot at dovecot.org
Betreff: Re: Mailbox Alias


> On 14 Aug 2017, at 14.00, azurit at pobox.sk wrote:
> 
> Citát Sami Ketola <sami.ketola at dovecot.fi>:
> 
>>> On 14 Aug 2017, at 11.10, zyrixx <zyrixx at gmx.net> wrote:
>>> 
>>> mail_plugins = $mail_plugins mailbox_alias
>>> 
>>> plugin {
>>> mailbox_alias_old = Trash
>>> mailbox_alias_new = Deleted
>>> mailbox_alias_old2 = Sent
>>> mailbox_alias_new2 = Sendet
>>> mailbox_alias_old3 = Trash
>>> mailbox_alias_new3 = Gel&APY-schte Elemente
>>> mailbox_alias_old4 = Sent
>>> mailbox_alias_new4 = Gesendete Elemente
>>> mailbox_alias_old5 = Trash
>>> mailbox_alias_new5 = Trasher
>>> mailbox_alias_old6 = Sent
>>> mailbox_alias_new6 = Sender
>>> 
>>> }
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Does somebody has any idea? Tanks for all.
>>> 
>> 
>> 
>> 
>> What type of storage you are using? mailbox alias plugin only works 
>> on very limited mail storage types at it relies on symlinks to create the aliases.
>> 
>> Sami
> 
> 
> 
> 
> Look also here:
> https://dovecot.org/pipermail/dovecot/2016-September/105459.html


Still no information about mailbox format or storage. Can you please post your doveconf -n.

Sami



More information about the dovecot mailing list