Hi,
I am getting the error "Error: Mailbox Spam: Failed to autocreate
mailbox: Mailbox can't be created" and cannot figure out what is causing
it. It seems like some sort of permissions issue, but nothing I have
tried seems to fix the problem. I was running my setup for many years
without issue, and this error started occurring after a recent Ubuntu
upgrade.
I am using getmail 6.18.4 to fetch mail from a mail server, which then
calls /usr/lib/dovecot/deliver to deliver the mail to my local system.
It is during this delivery that the error occurs. The dovecot-lda
executable exits with status 75 and the log file contains:
Jun 09 08:05:54 honeydukes dovecot[1863]:
lda(sally)<1863><L9pgDaKaZWZHBwAASkLcPA>: Error: Mailbox Spam: Failed to
autocreate mailbox: Mailbox can't be created
Jun 09 08:05:54 honeydukes dovecot[1863]:
lda(sally)<1863><L9pgDaKaZWZHBwAASkLcPA>: msgid=<REDACTED>: save failed
to open mailbox Spam: Mailbox
Below is my dovecot configuration.
Any help would be appreciated!
------------------
# 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.16 (09c29328)
# OS: Linux 5.15.0-112-generic x86_64 Ubuntu 22.04.4 LTS
# Hostname: honeydukes.fios-router.home
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_location = maildir:~/Maildir
mail_privileged_group = mail
maildir_very_dirty_syncs = yes
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 Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Spam {
auto = create
special_use = \Junk
}
mailbox Trash {
special_use = \Trash
}
prefix = INBOX.
separator = .
}
passdb {
driver = pam
}
plugin {
sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = " imap sieve"
service imap-login {
inet_listener imap {
port = 0
}
}
ssl = required
ssl_cert = </etc/dovecot/ssl/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
submission_host = <redacted>.com:465
userdb {
driver = passwd
}
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org