Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Offline imap attempts to create remote folder on synchronization #737

Open
rom1v opened this issue Apr 22, 2024 · 1 comment
Open

Offline imap attempts to create remote folder on synchronization #737

rom1v opened this issue Apr 22, 2024 · 1 comment

Comments

@rom1v
Copy link

rom1v commented Apr 22, 2024

General informations

  • system/distribution (with version): Debian sid
  • offlineimap version (offlineimap -V): 8.0.0
  • Python version: 3.11.9
  • server name or domain: my own domain
  • CLI options: offlineimap -c offlineimaprc

Configuration file offlineimaprc

[general]
accounts = XXXXX

[Account XXXXX]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = /my/backup/folder

[Repository Remote]
type = IMAP
remotehost = ...
remoteuser = ...
remotepassfile = ...
ssl = yes
cert_fingerprint = ...

Logs, error

 ERROR: Creating folder ml on repository Remote
  Folder 'ml'[Remote] could not be created. Server responded: ('NO', [b'This connection is configured for read-only access'])
 ERROR: Folder 'ml'[Remote] could not be created. Server responded: ('NO', [b'This connection is configured for read-only access'])

A synchronization from remote to local should never attempt to write to the remote.

Steps to reproduce the error

I just run offlineimap -c offlineimaprc.

Maybe similar to my other issue #730.

@juju4
Copy link

juju4 commented Jan 19, 2025

For people searching, I believe you shoud use non-default readonly = True per https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L1329

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants