On Sun, 2007-12-09 at 16:29 +0100, Maciej Poszywak wrote:
> 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
> >
> >   
> [EMAIL PROTECTED]:~$ env | grep MAIL
> MAIL=maildir:/var/mail/testuser
> [EMAIL PROTECTED]:~$ 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.

It gets it from environment:

POP3_UIDL_FORMAT=... pop3

In general all settings are passed in environment using uppercased
names.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to