On 2010-09-11 15:14, Rodney Baker wrote:
On Sat, 11 Sep 2010 20:09:24 Carlos E. R. wrote:
It seems I can not just say: hey, those are my folders now, just use them.
But I don't use deliver - procmail delivers the mail directly to the folders. All my folders, however, were created by my mail client (kmail) via the IMAP server (dovecot) so perhaps that took care of the folder structure. My procmail rules were written after the folders were created (and the whole structure has evolved over time) so you may be right in your case. I just know that procmail and dovecot play nicely for me and I really don't notice any performance issues (after all, email is hardly a real-time application anyway).
YMMV.
Yep. Things are not very clear for me. The issue with "deliver", is that when procmail puts an email into a folder, dovecot doesn't know about that new email, because the index of that folder still has the old info. When it somehow discovers that the folder and its index do not match, it will re-index the complete folder, or so I understand - thus the delay. However, if the email is put by "deliver", the index is updated from the start (but then, perhaps "deliver" also slows the process, running for every single email). It seems there is a way to write procmail recipes by using deliver, which I wasn't aware of until I answered your email. Maybe the FAQ has been updated recently, and my information was old. Then there are some issues about the names of the folders, which I also know little about. I have to read more. My setup is: fetchmail -> postfix -> amavis-new -> postfix -> procmail -> folders -> client. What I want is to intercalate dovecot at the last step, so that clients access via imap instead of directly. I believe it is possible, but I need further reading to clarify the issues. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))