emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [OT] mail integration, advice?
Date: Sat, 28 Apr 2012 18:45:23 -0400	[thread overview]
Message-ID: <87r4v7fpbw.fsf_-_@gmx.com> (raw)
In-Reply-To: <87aa1wqdtg.fsf@pank.eu> (rasmus@gmx.us's message of "Sat, 28 Apr 2012 12:46:19 +0100")

Rasmus <rasmus@gmx.us> writes:

> Eric Schulte <eric.schulte@gmx.com> writes:
>
>> Myles English <mylesenglish@gmail.com> writes:
>>
>>> Matt,
>>>
>>>>> On Thu, 26 Apr 2012 09:47:40 -0400, Matt Price said:
>>>   > So, I'm wondering what solutions other org users have settled
>>>   > on.
>>>
>>> I use gnus, offline imap, dovecot, notmuch, msmtp, bbdb3.  And
>>> org-mode
>>> capture including links to emails works fine.
>>>
>>> The end result is very good and stable through updates (I am using
>>> Arch
>>> Linux too) but I have to say though it did take a LOT of
>>> configurating.
>>>
>>
>> As a long-time user of gnus with imap my only complaints are the
>> inability to work offline and the relatively poor sorting rules of my
>> web-mail imap servers.  It sounds like dovecot and offline-imap could
>> solve both of these problems.
>>
>> Was the offline-imap/dovecot combo difficult to configure?
>
> No.
>

Thanks to you and Myles for your respective advice on this setup.  I'm
now using offlineimap+dovecot to read almost [1] all of my email.  I'll
share my config in case anyone else is interested in trying out this
combination of tools.

I'm using the following very basic dovecot config [2], with the
following offlineimap config [3], and gnus config [4].  This was all
very easy to setup.

Now my email system should be complete.  At least until I decide I need
to switch from using free webmail servers to running my own remote IMAP
server.

Thanks,

Footnotes: 
[1]  Due to a weird issue on my school's imap server I must issue the
     LIST command as 'LIST "mail" "*"' instead of 'LIST "" "*"'.  I
     haven't yet figured out how to port this workaround to offlineimap.

[2]  $ dovecot -n
# 2.1.5: /etc/dovecot/dovecot.conf
# OS: Linux 3.3.3-1-ARCH x86_64  ext4
mail_location = maildir:/home/eschulte/mail
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = /etc/dovecot/passwd
  driver = passwd-file
}
ssl = no

[3]  $ cat .offlineimaprc
[general]
accounts = gmx
maxsyncaccounts = 1

[Account gmx]
localrepository = gmx-local
remoterepository = gmx-remote

[Repository gmx-local]
type = IMAP
remotehost = localhost
remoteport = 143
remoteuser = eschulte
preauthtunnel = MAIL=maildir:$HOME/mail/me /usr/lib/dovecot/imap
holdconnectionopen = yes

[Repository gmx-remote]
type = IMAP
remotehost = imap.gmx.com
remoteuser = my-email-address
remotepass = my-password
remoteport = 993
ssl = yes

[4]  
#+begin_src emacs-lisp
  (setq
   gnus-select-method
   '(nnimap "gmx"
            (nnimap-stream shell)
            (nnimap-shell-program
             "MAIL=maildir:$HOME/mail/me /usr/lib/dovecot/imap")))
#+end_src

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2012-04-29  0:45 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 13:47 mail integration, advice? Matt Price
2012-04-26 14:33 ` Carson Chittom
2012-04-26 15:38   ` Tassilo Horn
2012-04-26 16:06     ` Carson Chittom
2012-04-26 16:28 ` Rasmus
2012-04-26 17:23   ` Tassilo Horn
2012-04-28  8:25   ` Eric Fraga
2012-04-28 12:28     ` Rasmus
2012-04-28 14:59       ` Eric Fraga
2012-04-28 23:49       ` Myles English
2012-04-29  1:00   ` Neil Smithline
2012-04-26 20:03 ` Florian Friesdorf
2012-04-26 21:26 ` Myles English
2012-04-27 13:34   ` Eric Schulte
2012-04-27 20:08     ` Myles English
2012-04-27 18:16       ` Eric Schulte
2012-04-28  8:29     ` Eric Fraga
2012-04-28 15:51       ` RC
2012-04-28 16:54         ` Richard Riley
2012-04-28 11:46     ` Rasmus
2012-04-28 22:45       ` Eric Schulte [this message]
2012-04-26 22:22 ` Charles Philip Chan
2012-04-27  4:29 ` Eric Abrahamsen
2012-04-27 12:09 ` Stephen Eglen
2012-04-28  8:35   ` Eric Fraga
2012-04-28 17:44   ` Dirk-Jan C. Binnema
2012-04-29  0:45   ` Neil Smithline
2012-04-29  9:00     ` Stephen Eglen
2012-04-29  9:41       ` Bastien
2012-04-29 18:41     ` Mikkel Kristiansen
2012-04-30 10:28     ` Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4v7fpbw.fsf_-_@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).