Re: [Dovecot] replacement for IMAP_EMPTYTRASH=Trash:7
Use mail-expire. On Feb 7, 2008 5:58 PM, Rody [EMAIL PROTECTED] wrote: While running dovecot on debian etch using version 1.0.rc15-2etch3, i wonder the following: If i read the config files correctly, dovecot seems to have no equivalent of courier's IMAP_EMPTYTRASH=Trash:7 setting. Therefore, i wrote a script that dives into the user's directories and their maildirs. It looks like this: = #!/bin/bash for pad1 in $(ls /home) do if [ -e /home/$pad1/Maildir/.Prullenbak ] then find /home/$pad1/Maildir/.Prullenbak/cur -mtime +2 -type f -delete find /home/$pad1/Maildir/.Prullenbak/new -mtime +2 -type f -delete fi if [ -e /home/$pad1/Maildir/.Allerlei.Spam ] then find /home/$pad1/Maildir/.Allerlei.Spam/cur -mtime +2 -type f -delete find /home/$pad1/Maildir/.Allerlei.Spam/new -mtime +2 -type f -delete fi done Now, can i just put a script like this in /etc/hourly or do i have to add things like stopping the dovecot deamon (i sure hope not!) in order to prevent file-corruption? Or has dovecot in the meantime got a config option that does this just like courier does? Rody
[Dovecot] Dovecot marks messages read using pop3
Hello, When I use pop3 and the option leave messages on server it marks all emails read. How do I stop this? dovecot version: 1.0.rc15 (Debian etch) dovecot config: # /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s ssl_cert_file: /etc/postfix/ssl/mail_cpcug_org.crt ssl_key_file: /etc/postfix/ssl/cpcug_org.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_extra_groups: mail mail_location: mbox:/users/mail/%u:INDEX=/users/indexes/%u mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: nobody