9 Dec
2007
9 Dec
'07
5:29 p.m.
Timo Sirainen wrote:
I guess you mean logging in with POP3? There the slowdown comes from getting all messages' virtual sizes. So your preindexer could probably do this by running pop3 for all users. If you use only a single UID for users, you could do something like:
for user in
cat users
; do export MAIL=maildir:/home/$user/Maildir echo "quit" | /usr/local/libexec/dovecot/pop3 done
vmu1@test:~$ env | grep MAIL MAIL=maildir:/var/mail/testuser vmu1@test:~$ echo "quit" | /usr/lib/dovecot/pop3 pop3(vmu1): Fatal: pop3_uidl_format setting is missing from config file
I have pop3_uidl_format correctly defined in the config file. I've also tried to strace pop3, to find where it does look for it, but with no success.