Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-06-2009, 02:50 PM   #1
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
put mail in specific imap folder (procmail with Gmail)

Ok, so I've been using fetchmail, procmail and SpamAssassin for a while to download and filter my email. Since I first started using it, I got a Gmail account, and have started forwarding all my email to my Gmail account, after filtering it with procmail and SpamAssassin.

However, I'd like to be able to configure procmail to send it on to Gmail and have it get a specific label without having to set up a bunch of filters on the Gmail side. I've done that before, and they're getting messy, so I'd like to simplify.

I think the best way to do that would be to connect to Gmail through IMAP and simply put it in a specific IMAP folder, however, I don't know any utility that can take an email message and store it in a particular IMAP folder.

I could probably write such a script in Python, but I was hoping one already exists and I wouldn't have to reinvent the wheel. Does anybody know such a program?

Or, if anyone has any other ideas on how to accomplish this, please tell me!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure Thunderbird to download mail to the local folder directly using IMAP avinash.rao Ubuntu 7 11-25-2008 10:00 PM
Gmail Imap Poll my Sent Folder Script? aot2002 Linux - General 3 03-23-2008 07:54 PM
LXer: Import mail into Gmail with the Gmail Loader LXer Syndicated Linux News 0 03-19-2007 06:01 AM
download mail from pop3 elsewhere and send to specific folder robbyridz Linux - Networking 1 03-28-2006 01:16 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration