Folders are created while "readonly = True"

aijko | Marc Richter marc.richter at aijko.de
Tue Jun 11 15:57:32 BST 2013


Hi everyone,

I just tried to use OfflineIMAP as a migration tool which should migrate
mails from an old IMAP server to a new one (one way). I'm using this
config to achieve this:

**** BEGIN CONFIG >>>

[general]
metadata = ~/.offlineimap
accounts = Test
maxsyncaccounts = 20
ui = TTYUI
ignore-readonly = no

[mbnames]

[Account Test]
localrepository = Destination
remoterepository = Source

[Repository Source]
type = IMAP
remotehost = mail.oldserver.de
remoteuser = user at company.de
remotepass = password

maxconnections = 5
holdconnectionopen = no
subscribedonly = no
readonly = True

[Repository Destination]
type = IMAP
remotehost = mail.newserver.de
remoteuser = user at company.de
remotepass = password

maxconnections = 5
holdconnectionopen = no
subscribedonly = no
readonly = False

**** END CONFIG <<<

As far as I understood, 'Source' 's option of 'readonly = True' should
prevent that any data is copied from it's counterpart 'Destination'. In
fact, 'Destination' contains only one mail which isn't copied, but
there's a folder 'INBOX.Trash' created on the 'Source'.

Shouldn't 'readonly = True' prevent any changes on that repository?

Best regards,
-- 
Marc Richter
System Administrator





More information about the OfflineIMAP-project mailing list