save failed to open mailbox quarantine

Eggert Ehmke FTV Spandau eggert.ehmke at ftv-spandau.de
Mon Nov 14 14:44:45 UTC 2016


See attached.

Am Montag, 14. November 2016, 15:26:54 schrieben Sie:
> - gpg control packet
> 
> On Mon, 14 Nov 2016, Eggert Ehmke FTV Spandau wrote:
> > I use postfix. The folder name is still uppercase when forwarded to
> > dovecot, as can be seen in /var/log/mail.log.
> 
> post your config, do you use %Ln or %Lu to lower-case the username
> somewhere in passdb?
> 
> > Am Montag, 14. November 2016, 15:20:40 schrieb Steffen Kaiser:
> >> - gpg control packet
> >> 
> >> On Mon, 14 Nov 2016, Eggert Ehmke FTV Spandau wrote:
> >>> I have dovecot 2.2.13 set up with spamassassin and amavis. This works
> >>> fine
> >>> so far, Spam emails are forwarded to "username+Quarantine at mydomain.de".
> >>> The recipient_delimiter=+ is set, the Quarantine folder exists. However,
> >>> Dovecot tries to deliver it to a folder quarantine, that does not exist.
> >>> In the dovecot-deliver.log there are these lines:
> >>> 
> >>> Nov 14 14:16:13 lda(username at mydomain.de): Info:
> >>> msgid=<2707212.2aHC3KDWrN at wookie>: save failed to open mailbox
> >>> quarantine:
> >>> Mailbox doesn't exist: quarantine
> >>> Nov 14 14:16:13 lda(username at mydomain.de): Info:
> >>> msgid=<2707212.2aHC3KDWrN at xxxxxx>: saved mail to INBOX
> >>> 
> >>> Indeed the message is found in the inbox. What can be done so the folder
> >>> name is not converted to lower case?
> >> 
> >> which MTA you are using? sendmail?
> >> 
> >> By default sendmail lowercases the local part, see mailer flags "u".
> >> 
> >> --
> >> Steffen Kaiser
> 
> --
> Steffen Kaiser
-------------- next part --------------
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6 
auth_verbose_passwords = plain
base_dir = /var/run/dovecot/
debug_log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
log_path = /var/log/dovecot.err
mail_access_groups = 5000
mail_gid = 5000
mail_home = /var/mail/vhosts/%d/%u
mail_location = maildir:~/Maildir
mail_privileged_group = 5000
mail_uid = 5000
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 editheader
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 Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_group_events = yes
  recipient_delimiter = +
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +editheader
  sieve_max_redirects = 32
}
protocols = " imap sieve"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = vmail
    mode = 0666
    user = vmail
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl = required
ssl_ca = /etc/getssl/keys/chain.crt
ssl_cert = </etc/getssl/keys/domain.crt
ssl_key = </etc/getssl/keys/domain.key
ssl_protocols = !SSLv2 !SSLv3
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_plugins = 
}
protocol lda {
  info_log_path = /var/log/dovecot-deliver.log
  log_path = /var/log/dovecot-deliver-errors.log
  mail_plugins = sieve
}
protocol imap {
  mail_max_userip_connections = 10
  mail_plugins = " antispam mail_log notify"
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
}


More information about the dovecot mailing list