Getting autoexpunge to work
Philip Colmer
philip.colmer at linaro.org
Tue Mar 17 17:51:21 EET 2020
On Tue, 17 Mar 2020 at 15:47, Sami Ketola <sami.ketola at dovecot.fi> wrote:
>
>
>
> > On 17 Mar 2020, at 16.42, Philip Colmer <philip.colmer at linaro.org> wrote:
> >
> > doveadm fetch -u local-finance-support "mailbox date.saved" UID 37
> >
> > mailbox: INBOX
> > date.saved: 2020-03-17 14:34:12
> >
> > Why on earth is dovecot showing today's date for that message? What
> > have I misunderstood or misconfigured?
>
> Depends a lot on what is your mailbox storage driver.
How do I determine what that is, please? I've included the output of
doveconf -n below.
Philip
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-1041-aws x86_64 Ubuntu 18.04.3 LTS
auth_username_format = %Ln
auth_verbose = yes
disable_plaintext_auth = no
listen = 127.0.0.1
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
mailbox_list_index = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox INBOX {
autoexpunge = 12 weeks
}
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 lmtp"
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
ssl = no
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
>
> Sami
>
More information about the dovecot
mailing list