dovecot.sieve shows up as a mailbox

Aki Tuomi aki.tuomi at open-xchange.com
Thu Mar 21 16:57:30 EET 2019


This because you have a very common misconfiguration, which is that your mail_home and mail_location are pointing to same directory, and that lead into this problem.

Solution is of course to use:

mail_home = /var/mail/vmail/%d/%n
mail_location = maildir:~/Mail

Aki

> On 21 March 2019 16:48 Esteban L via dovecot <dovecot at dovecot.org> wrote:
> 
>  
> Hello, 
> 
> Config infos below.
> 
> Short version, I am getting this weird anomaly on my main email
> account. Such that, "dovecot.sieve" is showing up as a mailbox in my
> various email clients (e.g. k-9 (mobile), and Evolution).
> 
> I have tried deleting the "rogue folder" with doveadm, but it just
> returns.
> 
> Anyone have any suggestions where I can track this down.
> 
> dovecot --version
> 2.2.27
> 
> dovecot -n
> 
> # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.16 (fed8554)
> # OS: Linux 4.9.0-6-amd64 x86_64 Debian 9.8 ext4
> auth_debug = yes
> auth_debug_passwords = yes
> auth_mechanisms = plain login
> auth_verbose = yes
> auth_verbose_passwords = yes
> mail_debug = yes
> mail_location = maildir:/var/mail/vmail/%d/%n
> mail_plugins = " quota"
> mail_privileged_group = 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 index ihave duplicate mime foreverypart extracttext
> namespace inbox {
>   inbox = yes
>   location =
>   mailbox Archive {
>     auto = subscribe
>     special_use = \Archive
>   }
>   mailbox Drafts {
>     auto = subscribe
>     special_use = \Drafts
>   }
>   mailbox Junk {
>     auto = subscribe
>     special_use = \Junk
>   }
>   mailbox Sent {
>     special_use = \Sent
>   }
>   mailbox "Sent Messages" {
>     special_use = \Sent
>   }
>   mailbox Trash {
>     auto = subscribe
>     special_use = \Trash
> 
> 
> }
>   prefix =
> }
> passdb {
>   args = /etc/dovecot/dovecot-sql.conf.ext
>   driver = sql
> }
> plugin {
>   quota = maildir:User quota
>   quota_grace = 10%%
>   quota_rule = *:storage=10G
>   quota_rule2 = Trash:storage=+1G
>   quota_status_overquota = 552 5.2.2 Mailbox is full
>   quota_warning = storage=95%% quota-warning 95 %u
>   quota_warning2 = storage=80%% quota-warning 80 %u
>   sieve = ~/.dovecot.sieve
>   sieve_after = /etc/dovecot/sieve/spamfilter.sieve
>   sieve_dir = ~/sieve
> }
> 
> protocols = " imap lmtp sieve"
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
>     group = postfix
>     mode = 0666
>     user = postfix
>   }
> }
> service imap-login {
>   inet_listener imaps {
>     port = 993
>     ssl = yes
>   }
> }
> service lmtp {
>   unix_listener /var/spool/postfix/private/dovecot-lmtp {
>     group = postfix
>     mode = 0600
>     user = postfix
>   }
> }
> ssl = required
> ssl_cert = </etc/letsencrypt/live/little-beak.com/fullchain.pem
> ssl_key =  # hidden, use -P to show it
> userdb {
>   args = /etc/dovecot/dovecot-sql.conf.ext
>   driver = sql
> }
> verbose_ssl = yes
> protocol lmtp {
>   mail_plugins = " quota sieve"
>   postmaster_address = esteban at little-beak.com
> }
> protocol lda {
>   mail_plugins = " quota sieve"
> }
> protocol imap {
>   mail_plugins = " quota imap_quota"
> }


More information about the dovecot mailing list