All of the mailboxes on this system are in MailDIR format. None of the users delete mail off of the server after POPing their accounts. This is the present setting: expire = Trash 7 Spam 30 expire_dict = proxy::expire Is that correct for MailDIR style mailboxes? It doesn't appear correct; however, I have not been able to find any specific documentation on expire with MailDIR style mailboxes. I am assuming that the expire plugin will work since IMAP has not been implemented on this server. -- Jerry |::::======gesbbb at yahoo.com |::::====== |========== |========== | QOTD: "Wouldn't it be wonderful if real life supported control-Z?"
On Thu, 2009-10-15 at 06:10 -0400, Jerry wrote:> All of the mailboxes on this system are in MailDIR format. None of > the users delete mail off of the server after POPing their accounts. > This is the present setting: > > expire = Trash 7 Spam 30 > expire_dict = proxy::expire > > Is that correct for MailDIR style mailboxes?The configuration is the same for maildir and everything else.> It doesn't appear correct;Why? Anyway, the important part is what does your namespace configuration look like? Post your dovecot -n output. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091015/2896a475/attachment-0002.bin>
On Thu, 15 Oct 2009 13:33:01 -0400 Timo Sirainen <tss at iki.fi> wrote:> On Thu, 2009-10-15 at 06:10 -0400, Jerry wrote: > > All of the mailboxes on this system are in MailDIR format. None of > > the users delete mail off of the server after POPing their accounts. > > This is the present setting: > > > > expire = Trash 7 Spam 30 > > expire_dict = proxy::expire > > > > Is that correct for MailDIR style mailboxes? > > The configuration is the same for maildir and everything else. > > > It doesn't appear correct; > > Why? > > Anyway, the important part is what does your namespace configuration > look like? Post your dovecot -n output.OK! # 1.2.4: /usr/local/etc/dovecot.conf # OS: FreeBSD 7.2-STABLE i386 ufs log_path: /usr/home/gerard/dovecot.log info_log_path: /usr/home/gerard/dovecot.log protocols: pop3 pop3s managesieve listen(default): * listen(pop3): * listen(managesieve): localhost:2000 disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/pop3-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login login_greeting: Greetings From Seibercom.net verbose_proctitle: yes first_valid_uid: 1000 first_valid_gid: 1000 mail_privileged_group: mail mail_location: maildir:/var/mail/vhost/%d/%n mail_executable(default): /usr/local/libexec/dovecot/pop3 mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve mail_plugins(default): expire mail_plugins(pop3): expire mail_plugins(managesieve): mail_plugin_dir(default): /usr/local/lib/dovecot/pop3 mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve pop3_client_workarounds(default): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): dict_db_config: /usr/local/etc/dovecot-db.conf managesieve_logout_format(default): bytes=%i/%o managesieve_logout_format(pop3): bytes=%i/%o managesieve_logout_format(managesieve): bytes ( in=%i : out=%o ) lda: postmaster_address: postmaster at seibercom.net mail_plugins: expire sieve: /usr/local/etc/dovecot/sieve/gerard.sieve sieve_global_path: /usr/local/etc/dovecot/sieve/gerard.sieve sendmail_path: /usr/sbin/sendmail auth default: mechanisms: plain login cram-md5 digest-md5 username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_ at + username_format: %Lu passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 438 master: path: /var/run/dovecot/auth-master mode: 438 plugin: expire: Trash 7 Spam 30 expire_dict: proxy::expire dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf
On Thu, 2009-10-15 at 06:10 -0400, Jerry wrote:> All of the mailboxes on this system are in MailDIR format. None of > the users delete mail off of the server after POPing their accounts. > This is the present setting: > > expire = Trash 7 Spam 30 > expire_dict = proxy::expire > > Is that correct for MailDIR style mailboxes?Hmm. Maybe I misunderstood what you mean. What exactly is it that you want? You have only POP3 users, which only have their INBOX? So they don't really have any Trash or Spam folders? And you just want to delete old mails from their INBOX? In that case, use something like: expire = INBOX 30 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091015/5afd0e9b/attachment-0002.bin>
On Thu, 15 Oct 2009 18:10:58 -0400 Timo Sirainen <tss at iki.fi> wrote:> On Thu, 2009-10-15 at 06:10 -0400, Jerry wrote: > > All of the mailboxes on this system are in MailDIR format. None of > > the users delete mail off of the server after POPing their accounts. > > This is the present setting: > > > > expire = Trash 7 Spam 30 > > expire_dict = proxy::expire > > > > Is that correct for MailDIR style mailboxes? > > Hmm. Maybe I misunderstood what you mean. What exactly is it that you > want? You have only POP3 users, which only have their INBOX? So they > don't really have any Trash or Spam folders? And you just want to > delete old mails from their INBOX? In that case, use something like: > > expire = INBOX 30Now that makes more sense. I thought it might be something like that; however, I could not find any definitive documentation on it. -- Jerry |::::======gesbbb at yahoo.com |::::====== |========== |========== | To get something clean, one has to get something dirty. To get something dirty, one does not have to get anything clean.