Your message dated Fri, 28 Dec 2012 20:41:17 -0500 (EST)
with message-id <alpine.DEB.2.02.1212282037490.11255@kubuntu>
and subject line Re: Bug#696860: dovecot-imapd: on upgrade mail_location 
changed from maildir:~/Maildir to mbox:~/mail:INBOX=/var/mail/%u
has caused the Debian Bug report #696860,
regarding dovecot-imapd: on upgrade mail_location changed from 
maildir:~/Maildir to mbox:~/mail:INBOX=/var/mail/%u
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
696860: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696860
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dovecot-imapd
Version: 1:2.1.7-6
Severity: important

Dear Maintainer,

I recently upgraded dovecot.

It went from working, with a full set of mail and sub-folders to working having 
(apparently) discarded all of my mail.

I poked around a bit, and found all of my mail where I expected it 
(~/Maildir/), and a new file in /var/mail/%u .
Eventually I asked a friend for help, when I was told that 
/etc/dovecot/conf.d/10-mail.conf would not have inherited my working 
configuration on the upgrade.

I set the mail_location to maildir:~/Maildir, restarted the daemon and all of 
my mail came back, apart from the items that got delivered to /var/mail/%u . 
Fortunately these are unimportant, so I've just deleted them.

Matthew

-- Package-specific info:

dovecot configuration
---------------------
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-3-amd64 x86_64 Debian 7.0 
mail_location = maildir:~/Maildir
mail_privileged_group = mail
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 {
  driver = pam
}
protocols = " imap"
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = passwd
}

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dovecot-imapd depends on:
ii  dovecot-core  1:2.1.7-6
ii  libc6         2.13-37
ii  ucf           3.0025+nmu3

dovecot-imapd recommends no packages.

dovecot-imapd suggests no packages.

Versions of packages dovecot-imapd is related to:
ii  dovecot-core [dovecot-common]  1:2.1.7-6
pn  dovecot-dbg                    <none>
pn  dovecot-dev                    <none>
pn  dovecot-gssapi                 <none>
ii  dovecot-imapd                  1:2.1.7-6
pn  dovecot-ldap                   <none>
pn  dovecot-lmtpd                  <none>
pn  dovecot-managesieved           <none>
pn  dovecot-mysql                  <none>
pn  dovecot-pgsql                  <none>
pn  dovecot-pop3d                  <none>
pn  dovecot-sieve                  <none>
pn  dovecot-sqlite                 <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, 28 Dec 2012, Matthew Sweet wrote:

I recently upgraded dovecot.

It went from working, with a full set of mail and sub-folders to working having 
(apparently) discarded all of my mail.

I poked around a bit, and found all of my mail where I expected it 
(~/Maildir/), and a new file in /var/mail/%u .
Eventually I asked a friend for help, when I was told that 
/etc/dovecot/conf.d/10-mail.conf would not have inherited my working 
configuration on the upgrade.

I set the mail_location to maildir:~/Maildir, restarted the daemon and all of my mail came back, apart from the items that got delivered to /var/mail/%u . Fortunately these are unimportant, so I've just deleted them.


Yes this was already reported as #693114 and the fix (as documented
in /usr/share/dovecot-core/NEWS.Debian.gz) is to set mail_location appropriately.

--
Jaldhar H. Vyas <[email protected]>

--- End Message ---

Reply via email to