On Sat, 11 Sep 2010 20:09:24 Carlos E. R. wrote:
On 2010-09-11 03:48, Rodney Baker wrote:
On Thu, 9 Sep 2010 21:48:07 Carlos E. R. wrote:
[...] I'm also having a look at dovecot, but the problem is that it doesn't integrate well with procmail filtering. It has its own filtering system which I don't know much about, so I'm not sure if I could migrate all my procmail rules.
What makes you say that, Carlos? I've been running dovecot with procmail ever since FC4.
Well, that's what dovecot's documentation says.
For example, here:
http://wiki.dovecot.org/procmail
]> Procmail delivers mails into Maildir folders, if a slash is appended to the folder name (e.g. ".spam/"). But Procmail itself could not update the Dovecot index files. This decreases the performance a bit, because the Dovecot IMAP or POP3 server has to add new mails for the index files. ]> ]> To increase the performance, it's possible to combine Procmail with Dovecot's deliver tool:
Other references, in the Q&A section:
]# I just used procmail to populate a bunch of folders while migrating to dovecot. The directories ] and files are there, but nothing shows up in imap clients! ]> <http://wiki.dovecot.org/QuestionsAndAnswers?highlight=%28procmail%29#I_jus t_used_procmail_to_populate_a_bunch_of_folders_while_migrating_to_dovecot._ The_directories_and_files_are_there.2C_but_nothing_shows_up_in_imap_clients .21>
The answer for this section is confusing. It seems I would have to change the entire folder structure.
I just found the solution there for procmail and indexes:
]> To update the index files during delivery, you can use deliver within procmailrc. This improves the performance for frequently updates folders. Details are explained here: ]> ]> :0 w ]> | /usr/lib/dovecot/deliver -m folder
which means altering all my rules.
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. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org