[Dovecot] Automatic Index Generation
Timo Sirainen
tss at iki.fi
Sun Dec 9 17:47:11 EET 2007
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
> >
> >
> vmu1 at test:~$ env | grep MAIL
> MAIL=maildir:/var/mail/testuser
> vmu1 at 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.
It gets it from environment:
POP3_UIDL_FORMAT=... pop3
In general all settings are passed in environment using uppercased
names.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071209/82f92830/attachment.bin
More information about the dovecot
mailing list