Hi all,
I have a big e-mail box over at my provider. I receive a lot of e-mail every day (over 100), which are distributed into different imap-folders by thunderbird. The problem is that thunderbird must be running (offcourse) to be able to it's job. And for thunderbird to run, my (home)computer must be running.
I have a CENTOS 5 server running also. Are there any programs out there that work via command line or as a daemon, that i can use to sort my imap e-mail. I've googled a bit, but didn't come up with a solution(maybe I'm search with the wrong keywords). I found fetchmail & procmail, but I wasn't able to figure out if they can do it.
Cheers,
Patrick
Patrick Lodder wrote:
Hi all,
I have a big e-mail box over at my provider. I receive a lot of e-mail every day (over 100), which are distributed into different imap-folders by thunderbird. The problem is that thunderbird must be running (offcourse) to be able to it's job. And for thunderbird to run, my (home)computer must be running.
I have a CENTOS 5 server running also. Are there any programs out there that work via command line or as a daemon, that i can use to sort my imap e-mail. I've googled a bit, but didn't come up with a solution(maybe I'm search with the wrong keywords). I found fetchmail & procmail, but I wasn't able to figure out if they can do it.
Christopher Chan wrote:
solution(maybe I'm search with the wrong keywords). I found fetchmail & procmail, but I wasn't able to figure out if they can do it.
But then he needs to have imapfilter running. For automated sorting of email I use procmail. Check with your ISP if they have set up delivery to use procmail. Then you make a ~/.procmailrc with contents like this:
-------------------------------------------- LOGFILE=$HOME/procmail.log VERBOSE=on
:0fw | /usr/bin/spamc
:0D * X-Spam-Flag:.*YES Mail/Junk
:0D * ^Subject:.*CentOS-announce Mail/CentOS
:0D * ^Subject:.*[CentOS] Mail/CentOS ---------------------
//Morten
Morten Torstensen wrote:
Christopher Chan wrote:
solution(maybe I'm search with the wrong keywords). I found fetchmail & procmail, but I wasn't able to figure out if they can do it.
But then he needs to have imapfilter running. For automated sorting of email I use procmail. Check with your ISP if they have set up delivery to use procmail. Then you make a ~/.procmailrc with contents like this:
He did not specify that it had to run on the provider's box. He asked for a commandline tool or daemon.
--On Thursday, November 01, 2007 10:13 AM +0100 Morten Torstensen morten@mortent.org wrote:
:0D
- ^Subject:.*[CentOS]
Mail/CentOS
Filtering on the subject tag may false-positive. It only works with lists that put a tag in the subject line. It does have the benefit of directing CC's to your CentOS folder.
I use this for my Mailman-based list subscriptions:
:0 : * ^List-ID:.*centos-docs.centos.org mail/Lists/CentOS/docs
:0 : * ^List-ID:.*centos-devel.centos.org mail/Lists/CentOS/devel
:0 : * ^List-ID:.*centos.centos.org mail/Lists/CentOS/users
:0 : * ^List-ID:.*centos-announce.centos.org mail/Lists/CentOS/announce
Patrick Lodder said the following on 11/01/2007 12:49 AM:
I have a CENTOS 5 server running also. Are there any programs out there that work via command line or as a daemon, that i can use to sort my imap e-mail. I've googled a bit, but didn't come up with a
Some IMAP servers have a filtering system called Sieve, which will sort mail among other things. Perhaps your provider has this or you can find one that does. Before I set up my own imap server (Cyrus), I used fastmail.fm and had good success.
I have a big e-mail box over at my provider. I receive a lot of e-mail every day (over 100), which are distributed into different imap-folders by thunderbird. The problem is that thunderbird must be running (offcourse) to be able to it's job. And for thunderbird to run, my (home)computer must be running.
I used to use maildrop on the IMAP server I administered. It worked well and syntax was easy to follow, but since it involves changing the local mail delivery agent at your provider might not be an option.
http://www.courier-mta.org/maildrop/
Patrick
Flaherty, Patrick wrote:
I have a big e-mail box over at my provider. I receive a lot of e-mail every day (over 100), which are distributed into different imap-folders by thunderbird. The problem is that thunderbird must be running (offcourse) to be able to it's job. And for thunderbird to run, my (home)computer must be running.
I used to use maildrop on the IMAP server I administered. It worked well and syntax was easy to follow, but since it involves changing the local mail delivery agent at your provider might not be an option.
Gmail recently added imap. You might try an account there to see if their filtering/folders work the way you like. I'm still using pop with fetchmail to pull the mail to an imap server that I control so I haven't really worked with this myself yet but I'll switch to direct imap if it works well. You can always forward your other account(s) there.
Flaherty, Patrick wrote:
I have a big e-mail box over at my provider. I receive a lot of e-mail every day (over 100), which are distributed into different imap-folders by thunderbird. The problem is that thunderbird must be running (offcourse) to be able to it's job. And for thunderbird to run, my (home)computer must be running.
I used to use maildrop on the IMAP server I administered. It worked well and syntax was easy to follow, but since it involves changing the local mail delivery agent at your provider might not be an option.
Gmail recently added imap. You might try an account there to see if their filtering/folders work the way you like. I'm still using pop with fetchmail to pull the mail to an imap server that I control so I haven't really worked with this myself yet but I'll switch to direct imap if it works well. You can always forward your other account(s) there.
-- Les Mikesell lesmikesell@gmail.com
Thank you all for your input. Searching Google on "imapfilter" gave me besides the imapfilter program on the Greek site(imapfilter.hellug.gr/) a set of perl scripts that somebody created (http://www.athensfbc.com/imap_tools/).
I'll see if I can get these to work before I'll dive into setting up my own "imap-proxy" type setup to filter.
Hi,
Patrick Lodder wrote:
I have a big e-mail box over at my provider. I receive a lot of e-mail every day (over 100), which are distributed into different imap-folders by thunderbird. The problem is that thunderbird must be running (offcourse) to be able to it's job. And for thunderbird to run, my (home)computer must be running.
Do you know what IMAP server they use at your ISP ? If its something that suppors sieve ( good chance ) then take a look at sieve.mozdev.org - its a plugin to thunderbird that lets you setup remote sieve scripts really easy. I have been using this to manage my 600 odd line sieve script, and its been fantastic.
I have a CENTOS 5 server running also. Are there any programs out there that work via command line or as a daemon, that i can use to sort my
You could always just use fetchmail on your centos server, and pull in all the email from your ISP's end, and setup your own cyrus-imapd ( included in centos4/5 ), and run your own sieve script to sort and process emails as they come in.