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"
}
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" > }
On 3/21/19 3:57 PM, Aki Tuomi via dovecot wrote:> 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 > > AkiWhile not very intuitive, I have : mail_home = /var/mail/vmail/%d/%n/dovecot mail_location = maildir:~/.. Which works for me ^^' Yassine.
Thanks for the help. This did solve my problem, and created a little hiccup. Namely, all the users that had email account LOST their mail. I am just starting migrating to this new mail server setup, so mostly just insignificant testing emails. I am sure there is a way to recover the old mails? Doesn't matter, not really much there. -- Sent from: http://dovecot.2317879.n4.nabble.com/