Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-14 Thread Tapio Sokura
Timo Sirainen wrote: On Sat, 2009-12-12 at 13:46 +0200, Tapio Sokura wrote: I'm having problems with expire-tool in Dovecot 1.2.6 not finding the mailboxes. I had Here's a simple way that should work: mail_location = mbox:~/mails:INDEX=~/indexes and then you can also drop the mail field fro

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-13 Thread Timo Sirainen
On Sat, 2009-12-12 at 13:46 +0200, Tapio Sokura wrote: > I'm having problems with expire-tool in Dovecot 1.2.6 not finding the > mailboxes. I had > > mail_location = > mbox:/var/spool/dovecotmail/%d/%n/mails:INDEX=/var/spool/dovecotmail/%d/%n/indexes > > in dovecot.conf, but that doesn't work w

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-12 Thread Tapio Sokura
Charles Marcus wrote: You forgot dovecot -n output... # 1.2.6: /usr/local/dovecot/etc/dovecot.conf # OS: Linux 2.6.18-164.6.1.el5 x86_64 CentOS release 5.4 (Final) base_dir: /var/run/dovecot/ protocols: imap imaps pop3 pop3s managesieve ssl_cert_file: /etc/pki/tls/certs/dovecot.crt ssl_key_file

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-12 Thread Charles Marcus
On 12/12/2009, Tapio Sokura (oh2...@iki.fi) wrote: > When I run expire-tool under strace, I can see that it is indeed > looking for the mails in the typical autodetect locations (Maildir, > mail, Mail) under user's home directory. So it appers that > expire-tool takes the home directory from userdb

[Dovecot] expire-tool and userdb returned mail location

2009-12-12 Thread Tapio Sokura
Hello, I'm having problems with expire-tool in Dovecot 1.2.6 not finding the mailboxes. I had mail_location = mbox:/var/spool/dovecotmail/%d/%n/mails:INDEX=/var/spool/dovecotmail/%d/%n/indexes in dovecot.conf, but that doesn't work with expire-tool. So I commented that out from dovecot.con