mutt + fetchmail + maildrop + esmtpmsmtp

… are still the best combination on laptop. Originally I use mutt + fetchmail + maildrop + exim but the ability to use different SMTP server with different mail account won me over again.

My .fetchmailrc:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
poll gmail
via pop.gmail.com
protocol pop3
username "xxx@gmail.com"
password "####"
mda maildrop
ssl

poll dotcom
via dot.com
protocol pop3
username "xxx"
password "####"
mda maildrop

My .esmtprc:

1
2
3
4
5
6
7
8
9
10
11
# default
identity = xxx@gmail.com
hostname = smtp.gmail.com
starttls = required
username = xxx@gmail.com
password = ####

identity = xxx@dot.com
hostname = smtp.dot.com
username = xxx
password = ####

My .mailfilter:

1
2
3
4
5
6
7
8
if ( /^List-Id:.*<android-porting.googlegroups.com>/:h )
to $DEFAULT/android-porting

if ( /^List-Id:.*<android-ndk.googlegroups.com>/:h )
to $DEFAULT/android-ndk

if ( /^List-Id:.*<android-platform.googlegroups.com>/:h )
to $DEFAULT/android-platform