Hi everybody,

I'm currently writing a Gnus backend for mairix (which I will release
shortly). Using this backend, "smart" groups can be created which are
bound to mairix searches and are automatically updated. During writing I
stumbled upon two little problems with using mairix, but which IMO could
be quite easily solved.

The first problem comes with the fact that maildir stores mail flags
like "Seen" or "Replied" by appending chars "S", "R" to the message file
name. This implies that currently I would have to update the mairix
database not only when new mail arrives, but also when mail flags are
changing. The same applies to new mails which are indexed while they are
still in the "new" folder but then get moved to "cur" when the mail
client has seen the mail.

If I don't update the database, a mairix query can lead to symlinks
pointing to non-existing files. This problem could be circumvented by
mairix checking first for the existence of the file before creating the
symlink. If the file does not exist, do a wildcard matching without the
information suffix instead, so that the mail flags are ignored. The same
could be done for mails which where in the "new" directory but got moved
to "cur" since it was indexed. I guess this feature would make mairix a
bit slower, but maybe it could be available as an additional option?

The second problem is a minor one: The Gnus nnml backend determines the
total number of mails in a folder by calculating the difference between
the highest and lowest article number. Therefore, would it be possible
to use consecutive article numbers when using "mh" folder output?

Otherwise, mairix works wonderfully with Gnus and is really unbelievably
fast! Great work!

Regards,
David

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mairix-users mailing list
Mairix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mairix-users

Reply via email to