Tassilo Horn <tass...@member.fsf.org> writes:

> Sébastien Vauban <wxhgmqzgw...@spammotel.com>
> writes:
>
>> Even if feasable, doing your way seems to add a layer of complexity to
>> the installation... Would you have config to share, would I go that
>> way?
>
> Sure, but be aware that I don't use that setup anymore.
>
> Here's my .offlineimaprc.  It synched from 2 different accounts from two
> different imap servers to one locally running dovecot server with 2
> user accounts uni and fastmail.  Those are only plain dovecot users,
> they don't require system users.

Not to take this thread too far from the well-beaten org-mode path, but
I'd like to add that if you don't want to run dovecot as a daemon, you
can invoke it as a process from both gnus and offlineimap. This
simplifies setting up the dovecot.conf file considerably.

Here are the relevant lines from my .offlineimaprc:

--8<---------------cut here---------------start------------->8---
[Repository Local]
type = IMAP 
preauthtunnel = /usr/sbin/dovecot -c ~/config/mail/dovecot.conf --exec-mail imap
--8<---------------cut here---------------end--------------->8---

...and my .gnus:

--8<---------------cut here---------------start------------->8---
(setq imap-shell-program "dovecot -c ~/config/mail/dovecot.conf --exec-mail 
imap")

(setq gnus-secondary-select-methods
        '(
          (nnimap "fm"
                  (nnimap-stream shell))
                  ;; [snip] more methods here
                  ))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to