Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Local Mail with Procmail and Thunderbird (or similar)
Date: Thu, 27 Mar 2014 11:05:08
Message-Id: CAHgBc-vT9kp7HwmzUi-oF52cM03a5SbCJpxdodru4Kew-P1riA@mail.gmail.com
In Reply to: [gentoo-user] Local Mail with Procmail and Thunderbird (or similar) by wraeth
1 On 27-Mar-2014 4:12 pm, "wraeth" <wraeth@××××××××××××.net> wrote:
2 >
3 > -----BEGIN PGP SIGNED MESSAGE-----
4 > Hash: SHA256
5 >
6 > Greetings all!
7 >
8 > I have several IMAP mail accounts that I want to be able to
9 > synchronize locally (on several machines - two-way sync would be a
10 > bonus but not necessarily required) and access the local mail store
11 > with my mail client. At present I use Thunderbird, and I am rather
12 > fond of it's interface (despite some of the issues I've had with it
13 > (half of which I think were related to the concurrent IMAP connections)).
14 >
15 > I've been digging around (a lot) and figure the solution would involve
16 > Procmail and Fetchmail/OfflineIMAP. I have a semi-working setup,
17 > whereby mail delivered through sendmail locally is delivered to the
18 > correct location by procmail.
19 >
20 > My problem is Thunderbird. I know that Thunderbird by default uses
21 > mbox, and have configured new mail stores to be created with maildir;
22 > but it seems Thunderbird doesn't read maildir's /new directory, and
23 > messages delivered into /cur don't get read until the mailbox is
24 > rebuilt (presumably because of the .msf index). Rebuilding the
25 > mailbox also messes up the message status.
26 >
27 > My question is: does anyone know how I can configure either Procmail
28 > to deliver messages in a format Thunderbird will understand; or how I
29 > can configure Thunderbird to be a little bit more maildir compliant?
30 >
31 > Failing that, what mail clients others would suggest (preferably GUI -
32 > I have mutt installed, but hiding my mail in a console would end up
33 > with a lot of messages going unnoticed)?
34 >
35 > Cheers;
36 > - --
37 > wraeth
38 >
39 > GnuPG Fingerprint:
40 > D1FF 129E 77EF FD1F CEA4
41 > F384 1989 6A1D E411 864C
42 > -----BEGIN PGP SIGNATURE-----
43 > Version: GnuPG v2.0.22 (GNU/Linux)
44 > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
45 >
46 > iF4EAREIAAYFAlM1UZwACgkQGYlqHeQRhkzcggD/VFJEI/OdWIkuDCDiHQjxQfSY
47 > eec1Y2GnbajyKFEuK5oA/06i3PxmtzEr12T+O8aPg0Jh2nBl6ICr6SEQUyTTJ5lH
48 > =ivxP
49 > -----END PGP SIGNATURE-----
50 >
51
52 I sync my imap accounts using offline imap to dovecot on localhost. And
53 dovecot has lucene search.
54
55 Thunderbird is configured to use local host dovecot for incoming and for
56 outgoing default smtp.
57
58 I think you can filter mail using python scripts in offline imap, I am not
59 sure. Check docs.