You are not logged in.
Hi,
for some days I'm using Mutt. My Mails are on an Imap Server that supports Imap Idle, which is quite nice. I access them through Mutt's native Imap Support. Now I'd like to filter my Mails. I've found some applications that can do it: Procmail, imapfilter and getmail. But there are some problems: procmail needs fetchmail, and I've read a lot of creepy things about mails that aren't being delivered and other bugs regarding fetchmail. Imapfilter only works in combination with cronjobs. There is no way I know to invoke Imapfilter every time a new Mail arrives in Mutt. And Getmail can fetching Mails and filter them, but it has no Imap Idle Support. So, what can I do? Do you know a method to get new Mails immediately via Imap Idle, and get them immediately too filtered?
Thanks for your help, Paloran
Sorry for my English - I'm from Germany
Offline
fetchmail can do IMAP idle. So one solution would be to have fetchmail feed your IMAP mail to your local MTA and let procmail do the filtering when it gets delivered to your local mailbox. I never had any problems with fetchmail in years.
IMAP account -> fetchmail (w/ IMAP idle) -> local MTA -> procmail (filtering) -> local mailbox <- mutt (reading)
Offline
OK, I'm going to try it out. Thanks for your reply and help so far!
Offline