wingolog

hear, memory

8 April 2008 11:50 PM (esmtp | sendmail | nargery | dovecot | courier | gnus | nail clippings | nabokov)

A few months ago I wrote about my mail setup. In summary, on the server side, the MTA delivers to a Maildir, which is then exposed to me via IMAP, which I mirror locally to a Maildir via offlineimap, and expose locally via a local IMAP server. It's a complicated solution, but on the other hand it is fairly robust, and provides me with distributed backups.

Since writing some minor things changed, and some remained undocumented, so now I write, as Quim says, "for your eyes and my memory".

reading mail

I switched from Courier IMAP to Dovecot, basically because Fedora doesn't have courier packages. (I built some, but found about about dovecot before getting to actually configure them.) I've found Dovecot to be much easier to configure. A simple yum install, and edits to the well-commented /etc/dovecot.conf, and I had imap working. Here are the three variables that I set:

protocols = imap
listen = 127.0.0.1
mail_location = maildir:~/.mail

The rest, I left as it came. I suppose I could have figured out some way to run the daemon as my own user, but that doesn't matter much. Dovecot's namespacing is different from Courier's, though -- it doesn't put all folders as subfolders of "INBOX" -- so I did have to tweak my mail filters.

Speaking of which, I now use Gnus for mail. Gnus is a mail reader that runs on Emacs, started using M-x gnus. The thing is, Emacs has really grown on me, like an infectious disease or something. (Fingernail clippings in a bowl of oatmeal, according to one L. Wall.) Gnus is really hard to configure, though, and I don't yet use it to its maximum efficacy. Perhaps some bits from my .gnus.el will make it to these (web) pages at some point.

sending mail

So that's how I read mail. I send mail using esmtp, a simple MTA that can relay to a remote host via secure SMTP, manage a queue, and run as a normal user. It doesn't do local delivery, which makes it quite simple.

Reportedly, esmtp works with gmail as well. I did edit the esmtp-wrapper script to not run the queue when invoked as sendmail, so that it would always return 0 instead of failing if network wasn't present (and thus confusing gnus). Messages are queued, of course.

"Hear, memory"

10 responses

  1. Matthew W. S. Bell says:

    Courier is an abomination - no good will come of it.

  2. Paper Writing Services says:

    How to create distributed backups could anyone can explain me?

  3. Do My Paper says:

    The details of these posts are incredible never believed that I would post such honorable words but this looks fresh and perfect as one of the great stuff to read here.

  4. Assignment Help says:

    Let the student focus on the quality of writing and keep the process of finding the source to yourself. Avail the best possible sources such as books, audio books or you can search for online assignment help too.

  5. professional seo in pakistan says:

    To make in this age not to difficult and tough because the world has been too modified and in this modified and updated world lots of work in freelance can be done to ear and make money especially for the students but to make self-professional person it should be applied in the good time.

  6. Coursework Help says:

    Get help from professional coursework writer to ease your writing tasks if you are struggling hard. We are the only online coursework writing service in the UK that caters to your every need. We are the finest British online coursework help agency to help students for almost a decade now. We have obtained the place of being the best coursework help uk service for our choicest and student-friendly benefits.

  7. Essay Help says:

    Hire the best essay writing service provider in Australia and let your essay written by top essay writers.

  8. proofread my essay says:

    Thanks for sharing high value and informative article with us. And I hope you'll publish more article.

  9. pay for essay says:

    I would like to thanks for sharing high value article with us and I hope you'll publishing more article like this.

  10. essay writers says:

    Essay assignment Singapore is difficult term for singapore top universities students and they are unable to complete their assignment on time due to this they suffer for low marks in college so, essay writers offers reliable and trust worthy assignment support to students at fair rate.

Leave a Reply