* Yubin Ruan <[email protected]> [05-12-17 22:39]:
> Hi,
>
> I am wondering whether it is possible to tell mutt to prefetch mails folder by
> folder so that I can read mails more quickly without waiting for the "Fetching
> mails..." every time.
>
> I have set up mutt's cache, so it helps a little, but it is still slow
> because I
> have to fetch the mails before mutt can cache them.
>
> I know there is something like `fetchmail', but, setting up it is tricky,
> especially with a IMAP server (or, do you have good references?)
I used fetchmailconf to start and then altered the configuration to suit
me.
<example>
set logfile "<some/address>"
set postmaster "<some><name>"
set no bouncemail
set no spambounce
set daemon <desired-time>
poll pop.mail.yahoo.com tracepolls with proto POP3 timeout 60
user '<user>@yahoo.com' there with password '<password>' is
'<user' here options fetchall stripcr ssl sslcertck
mda '/usr/lib/sendmail -i -oem -f %F %T'
antispam 571 550 501 554
poll imap.gmail.com nodns tracepolls with proto IMAP port 993 timeout 45
user '<user>@gmail.com' there with password '<password>' is
'<user>' here options fetchall stripcr ssl sslcertck
mda '/usr/lib/sendmail -i -oem -f %F %T'
antispam 571 550 501 554
</example>
I hand mail off to procmail for local sorting.
I store/deliver all mail to my local server and run a tmux session there.
I remotely access the tmux session to read/write mail and other tasks.
it is a single user system so not much else is required, ie: dovecot, etc.
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo