Thunderbird is actually good, but the resource consumption is relatively high, and it is not very spiritual when dealing with some mail. In addition, it can't open my email indicator when there is a new email (I have a special equipment of my notebook, huh, mentioned in front of the article), so, after I endure Thunderbird's inconvenience, I returned to my old friend. : Fetchmail EXIM4 MUTT, today's brother will contribute a long article, please support fetchmail ========= first is to forward the inner MTA (Exim4), Fetchmail configuration with Fetchmail. A file in FETCHMAILRC: First, you specify the Postmaster and set up the background running mode: set postmaster "gnawux" SET DAEMON 300, each row corresponds to a mail account, such as: pol Pop.21cn.com proto pop3 uidl user gnawux pass myKey KEEP Explanation When Poll represented this server, if SKIP skips this rule, Poll is the starting point of the rule, and a rule is not necessarily written in a row. When you see Poll, you will know that the rule starts the specified protocol, and there is also an IMAP protocol. UIDL is also server settings. Did you distinguish whether the message has been taken after you have already taken the account setting USER / pass this everyone understands, the password is clear, it is a bit unhealthy, but this file must be 0600, so It should be safe, provided that others cannot use your account KeeP to indicate that the copy is saved on the server. Basically, it's so simple, who knows how to delete the old mail over 7 days, tell me. Monitor new mail ========== I have just said that I have always hope that I can automatically light up the email indicator when there is a new message, now there is a way: fetchmail is automatically forwarded to the mail MTA, here, my email will exist: / var / spool / mail / gnawux This file I just monitor this file size is zero, so I wrote a small script to complete this function, it's too Simple, so I am too lazy to find related tools: #! / Bin / bash spool = / var / spool / mail / gnawux LED = / proc / audi / asus / mled sleep = 60 While true; do mail = ` Cat $ spool | wc -c`; disk = `Cat $ LED`; IF [$ mail -eq 0 -a $ disp -gt 0]; the echo -n" 0 "> $ led; Elif [$ DISP-EQ 0 -a $ mail -gt 0]; the echo -n "1"> $ led; Fi Sleep $ sleek done is easy to understand, there is not much explanation.