<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">Might anyone have any idea about this issue? I can run a cron job if needed but it seems like autoexpunge SHOULD be doing this automatically...</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--- Amir</div></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jul 24, 2019, at 10:18 PM, Amir Caspi <<a href="mailto:Cepheid@3phase.com" class="">Cepheid@3phase.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi all,<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>I set up dovecot a couple of months ago and am having trouble getting autoexpunge=30d to work on my Trash and Junk mailboxes. Not sure why not because I'm not getting error messages in my log.<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Running "doveadm search -u <user> mailbox Junk savedbefore 30d" shows me many messages (I've got messages back to mid-May, and a couple of other users have them back to early April, although if this setting were working, there should be nothing earlier than June 24). Running a manual doveadm expunge works fine... it's just autoexpunge that seems to not be running at all.<br class=""><br class="">I'm using sendmail as the MTA and procmail as the LDA, so dovecot is running purely for IMAP/POP service.<br class=""><br class="">Any help is much appreciated.<br class=""><br class="">Thanks!<br class=""><br class="">doveconf -n:<br class=""># 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf<br class=""># OS: Linux 3.10.0-957.21.3.el7.x86_64 x86_64 CentOS Linux release 7.6.1810 (Core) <br class=""># Hostname: REDACTED<br class="">auth_username_format = %Ln<br class="">first_valid_uid = 1000<br class="">mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u<br class="">mailbox_list_index = yes<br class="">mbox_write_locks = fcntl<br class="">namespace compat1 {<br class=""> alias_for = <br class=""> hidden = yes<br class=""> list = no<br class=""> location = <br class=""> prefix = mail/<br class=""> separator = /<br class="">}<br class="">namespace compat2 {<br class=""> alias_for = <br class=""> hidden = yes<br class=""> list = no<br class=""> location = <br class=""> prefix = ~/mail/<br class=""> separator = /<br class="">}<br class="">namespace compat3 {<br class=""> alias_for = <br class=""> hidden = yes<br class=""> list = no<br class=""> location = <br class=""> prefix = ~%u/mail/<br class=""> separator = /<br class="">}<br class="">namespace inbox {<br class=""> inbox = yes<br class=""> location = <br class=""> mailbox Archive {<br class=""> special_use = \Archive<br class=""> }<br class=""> mailbox "Deleted Messages" {<br class=""> autoexpunge = 30 days<br class=""> special_use = \Trash<br class=""> }<br class=""> mailbox Drafts {<br class=""> special_use = \Drafts<br class=""> }<br class=""> mailbox Junk {<br class=""> autoexpunge = 30 days<br class=""> special_use = \Junk<br class=""> }<br class=""> mailbox "Junk E-mail" {<br class=""> autoexpunge = 30 days<br class=""> special_use = \Junk<br class=""> }<br class=""> mailbox Sent {<br class=""> special_use = \Sent<br class=""> }<br class=""> mailbox "Sent Messages" {<br class=""> special_use = \Sent<br class=""> }<br class=""> mailbox Spam {<br class=""> autoexpunge = 30 days<br class=""> special_use = \Junk<br class=""> }<br class=""> mailbox Trash {<br class=""> autoexpunge = 30 days<br class=""> special_use = \Trash<br class=""> }<br class=""> prefix = <br class=""> separator = /<br class="">}<br class="">passdb {<br class=""> driver = pam<br class="">}<br class="">pop3_uidl_format = %08Xv%08Xu<br class="">ssl_cert = # REDACTED<br class="">ssl_cipher_list = # REDACTED<br class="">ssl_dh_parameters_length = # REDACTED<br class="">ssl_key = # hidden, use -P to show it<br class="">ssl_prefer_server_ciphers = yes<br class="">userdb {<br class=""> driver = passwd<br class="">}<br class=""><br class=""><br class="">--- Amir<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>