<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="">On Aug 8, 2019, at 12:52 PM, Reio Remma via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration: none; float: none; display: inline !important;" class="">I have the autoexpunge settings defined inside protocol imap thus (and it works):</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote></div><br class=""><div class="">It looks like my definitions are outside the protocol, as this is the default in /etc/dovecot/conf.d/15-mailboxes.conf...</div><div class=""><br class=""></div><div class="">MUST autoexpunge be declared within the imap protocol, even if the mailboxes themselves are declared outside of the protocol? Should the mailboxes be declared only within the protocol?</div><div class=""><br class=""></div><div class="">Can I declare autoexpunge for the mailboxes within the imap protocol in 20-imap.conf while leaving the main mailbox declarations in 15-mailboxes.conf? That is, will the settings "stack" or can mailbox definitions occur only in one place?</div><div class=""><br class=""></div><div class="">If autoexpunge can only be declared within the imap protocol -- folks who access email only through POP (and who never see Junk/Trash) will not have things auto-expunged. The Junk mailbox, in particular, is auto-populated by spamassassin via procmail so it will have messages even if the user never sees them... so it needs to be autoexpunged even if the user never logs in via imap.</div><div class=""><br class=""></div><div class="">IMHO the setting should apply regardless of protocol, but is that actually the case in practice?</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">--- Amir</div></body></html>