I'm using emacs/gnus and isync from git. I'm trying to migrate from
POP/maildir to Imap/maildir, and encountering some confusions.
I have 5 different accounts, all of them gmail (I know...). With POP,
gnus essentially ignored the fact that I had different accounts: all
mail was delivered to one place, and gnus then read that in and split it
to other locations.
I know that won't really be possible with IMAP, but I'd like to get as
close as I can.
My problem is that I'm using gnus and dovecot, with dovecot accessing
the maildirs so that I can read/write email offline (and also offload
the mail processing onto dovecot, because gnus blocks). Gnus invokes
dovecot with this sort of command line:
/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/account/
My current mbsync config has each account going into a subfolder under
"~/.mail", so I end up with:
.mail
└── account1
├── [Gmail].Drafts
│ ├── cur
│ ├── new
│ └── tmp
├── [Gmail].Important
│ ├── cur
│ ├── new
│ └── tmp
etc...
With account1, account2, etc.
Dovecot apparently wants mail_location to point to a dir that actually
contains the cur/new/tmp structure, which means a separate invocation
for every folder, in every account.
Is there an easier way to do this? I know this question touches on a lot
of different packages, but I'm hoping someone here has tried something
similar. My .mbsyncrc has something like this for each account:
MaildirStore acc1-local
Path ~/.mail/account1/
Inbox ~/.mail/account1/Inbox
Flatten .
Channel acc1
Master :acc1-remote:
Slave :acc1-local:
Patterns * !"[Gmail]/All Mail"
Create Slave
MaxMessages 200
SyncState *
The "Create Slave" and "MaxMessage 200" are just there until I can get a
working installation.
Any advice very welcome!
Eric
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel