Tuesday, August 09, 2011

 

Emacs as a mail reader

Hi,

For some weeks now, I'm trying to use emacs as a mail reader. I want to remove sylpheed as I don't use it very often. Plus, I would like to become more power using emacs too.

As today my main machine is running under windows, things are a little bit more complex than using any unix.

So, here is my configuration : emacs 23.3.1.

To be able to get your mails from IMAPS servers, you need to be able to open a SSL connection. You can read Configuring Gnus and Gmail With IMAP on MS Windows. I prefer to use stunnel. So, I can manage a simplier gnus.el configuration.

Example for gmail:
  1. stunnel file
    1. [imaps-gmail]
    2. accept=localhost:12345
    3. connect=imap.gmail.com:993
  2. gnus.el for email reading

    1. ;;limit the number of fetch email (too avoid to slow down the system and to run in out of memory)
      (setq gnus-newsgroup-maximum-articles 30)
      ;;here, only 30 mails are fetched

    2. ;;gmail account
      (setq gnus-select-method '(nnimap "Example GMAIL"
      (nnimap-address "localhost")
      (nnimap-server-port 12345)
      (nnimap-authenticator login)
      (nnimap-stream network)
      (nnimap-authinfo-file
      "~/.imap-auth")
      ))

  3. the imap-auth file

    1. machine localhost login GMAIL_LOGIN password GMAIL_PASSWORD port 12345
You must have at least one gnus-select-method in this file before using the gnus-secondary-select-methods !!! It is hardly said on the web.

A great tutorial,My experiences from setting up Gnus with nnimap and Courier IMAP, about the splitting feature provided by emacs. Splitting is like an automatic sorting according to rules, like in outlook.

Sources
  1. Official emacs wiki : GnusGmail
  2. emacs wiki : gnus nifty tricks: the basics
  3. sample gnus.el config file
  4. another gnus.el sample
  5. a discussion about "the gnus-secondary-select-methods and use of variables"

Labels: , , , , , , , , , , , , , ,


Thursday, July 14, 2011

 

How to optimize mail reading

Hi Foxes!

When you are dealing with many mail account, you know, it takes a lot of time. Firrst, you have to found an efficient email client, and that is very difficult. Plus, today, everyone is using IMAP protocol to deal with email, if it is not the HTTPS provided from GMAIL or another webmail gateway.

So, according to some reading, the best combo is to use a local IMAP server which will retrieve/fetch mails from a remote server to the local server, then use a regular mail client to read mail which are on the local computer. So, reading is fast, search is fast too, and you can read your mails offline too :D.

I let you read this comment.

So, one nice solution may be to use :
Such combinaison is described there for MacOS.

Another solution is to use a local mail server which can retrieve mails from a remote server, such as :

Labels: , , , , , , , , , , , , ,


Sunday, June 05, 2011

 

Light newsgroup software

Hi Foxes,

Tired of heavy newsgroup clients such as pan, grabit and so on...let's have a try to;

I'm using stunnel on the top to add SSL feature. I prefer to do so, because I think that stunnel is well optimize about speed and memory usage compare to any homemade implemantation in a third software. I prefer to use the a dedicated software for that when it is possible.

About the configuration of the softwares, it is regular config files. You can have a look to :

Labels: , , , , , , ,


Friday, January 14, 2011

 

Vi life / Vim life / emacs daily life

Hi,

I'm not a vi / vim user, but I recognise that it is a very powerful text editor. So I have deciced to write a post about vim / vi. I will post here any useful URL for anyone who wants to use VI / VIM, and of course, some link to customize emacs ;)

1.continue to use vim, forget about learning emacs
2.How emacs keeps replacing my tools at work
3.w3m as a text browser inside emacs
4.w3m and gnus for emacs: just the mind of some user about that

Labels: , , , , ,


This page is powered by Blogger. Isn't yours?