Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


zez.org: Using Emacs for reading mail - Part 1

Dec 04, 2000, 18:05 (1 Talkback[s])
(Other stories by Jan Borsodi)

[ Thanks to Paul K Egell-Johnsen for this link. ]

"A lot of you probably use pop3 for reading mail, I'll explain how you can do this with Emacs. The first thing you need to do is to make Gnus read the local mail box since it is used for storing the mail from the remote pop3 server. You do this by setting the gnus-secondary-select-methods variable... You can test this by sending a mail to yourself (replace myname with your local user name)."

"The next thing you probably want to do is to filter your mails into various subgroups, luckily for you Gnus can do that too. Filtering is controlled by the nnmial-split-methods variable... The filter variable consists of a list of filter rules, each rule consists of a mail group ("junk" in the example) and a Regular Expression("^From:.*Bill Gates" in the example)."

"Not all of you use POP3 for mail reading mail, some of you, like me, use IMAP. I'll explain how this is done with Emacs. There's one thing you need to be aware of, and that is that the IMAP handler in Gnus does not use a POP3 server for incoming mail, instead it relies on you having the mail box on the server running IMAP. This means that you have to use external programs for fetching the mail before Gnus handles it, one such program is fetchmail."

Complete Story

Related Stories: