On 2008-07-15, Michael Pobega <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 15, 2008 at 03:54:21PM +0000, Grant Edwards wrote:
>> On 2008-07-15, Michael Pobega <[EMAIL PROTECTED]> wrote:
>> > On Tue, Jul 15, 2008 at 08:00:22AM -0700, Michael Higgins wrote:
>> >> On Tue, 15 Jul 2008 10:11:08 -0400 (EDT)
>> >> "James" <[EMAIL PROTECTED]> wrote:
>> >>
>> >> > On Tue, July 15, 2008 9:05 am, Michael Pobega wrote:
>> >> > > I've always had just one laptop so I've been a POP user for years
>> >> > > now, but I'm finally buying a second laptop for travels (Asus Eee
>> >> > > PC) and I was wondering what gentoo-user would recommend as a good
>> >> > > way to keep the mail synced on both of my machines.
>> >
>> > Can I use procmail with IMAP or is that not possible?
>>
>> That depends. My ISP allows me to run my mail through procmail
>> on the IMAP server. Gmail doesn't allow that, so you'd have to
>> set up a cron job to read mail from the inbox, run it through
>> procmail, and then store it back into folders on the IMAP server.
>>
>
> How would I do that? I have no idea where to even begin...
I'd begin by reading the procmail documentation and googling
for fetchmail, procmail and IMAP.
Fetchmail is a little utility that periodically polls mail
servers and downloads new mail (via POP or IMAP). It can be
configured to use whatever MDA you want (in your case
procmail). What I don't know how to do off the top of my head
is how to store messages in remote IMAP folders from within a
procmail rule. I imagine you'll have to pipe the message to a
a external to procmail that knows how to do IMAP.
Alternatively, your ISP probably has a way to set up filtering
and sorting rules on the IMAP server. That _might_ be able to
take the place of procmail.
--
Grant Edwards grante Yow! Hello. Just walk
at along and try NOT to think
visi.com about your INTESTINES being
almost FORTY YARDS LONG!!
--
[email protected] mailing list