Accessing offlineimap synchronized mail through a local dovecot

Rainer M Krug Rainer at krugs.de
Thu Dec 5 09:50:18 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/13, 20:35 , Lucien Pullen wrote:
> Also sprach Alan Schmitt on 2013-12-04:
>> Hello,
>> 
>> I'm trying to set up a local dovecot to read some mail
>> synchronized through offlineimap. Unfortunately, it seems that
>> dovecot does not see the mailboxes. Here are their names:
>> 
>> Drafts INBOX [...]
>> 
>> I'm not using any renaming on the folders, just filtering out
>> some of them. So I guess the problem is the missing '.' in front
>> of every folder name.
>> 
>> How can I change my offlineimap configuration[...]?
> 
> Are you storing locally as type=Maildir?  Dovecot doesn't use the
> same filesystem layout as pure Maildir; here are some details:
> 
> /dovecot-maildir + dovecot-uidlist + dovecot-uidvalidity + /cur
> # INBOX + /new      # INBOX's new + /tmp      # INBOX's tmp +
> /.Drafts |   + dovecot-uidlist |   + /cur |   + /new |   ` /tmp 
> ...
> 
> I had originally configured as locally with dovecot.  I did: 
> =====BEGIN LOCAL REPOSITORY===== type = IMAP preauthtunnel =
> /usr/local/libexec/dovecot/imap -o
> mail_location=maildir:$HOME/Mail/offlineimap-account ======END
> LOCAL REPOSITORY======

I am using this for a long time, and it works without problems. If you
want to use dovecot (or any other imap client on your locally stored
mails), leave the storage details to dovecot - it knows exactly how to
do it and you are not in for nasty surprises.

Cheers,

Rainer

> 
> I would back up your metadata= and localfolders= directories (or
> the relevant accounts in them, if you have more than one) and start
> from scratch.
> 
> _______________________________________________ OfflineIMAP-project
> mailing list OfflineIMAP-project at lists.alioth.debian.org 
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
>
>  OfflineIMAP homepage: http://software.complete.org/offlineimap
> 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoExaAAoJENvXNx4PUvmC2xYIAKBCzDeGiZnSv9hreu4ebC/M
bqrI39yWu6ENgmsCulm4KfOwwfUiGb3gln9xbgMqbTgoHn0QtQctzUf7FzAYJYsh
fuw/uo6zaJ6vrj2UXSqH08gPeEurfKJN/6syxbcyK3MOYn0heND+Yic1E+ltFLtW
XDYjlS2XbUkDtywMC0gXorBrt1k2i4HgcImCMTM7x63Y539JSfi7KlHAOBEbyTiC
pke5YxiYAKm3bOlT4V1z2BZ9iJk0663ftl3S9j83OG91mYD8VYTDA9sbdttp7kfd
hvNnjWT6FAX3DE7B0+V2zkrJqvzH2T7rQQdV5ThrZhY5Y32T68pa85tHuO/lUcQ=
=jCN1
-----END PGP SIGNATURE-----



More information about the OfflineIMAP-project mailing list