You are not logged in.
Hello,
I would like to use OfflineIMAP to get my mails from the server (2 accounts). I have the following configuration.
[general]
accounts = main,main2
[Account main]
localrepository = main-local
remoterepository = main-remote
postsynchook = ~/.bin/notmuch
[Repository main-local]
type = Maildir
localfolders = ~/.mail/mailbox
[Repository main-remote]
type = IMAP
remotehost = imap.main.com
remoteuser = mail@main.com
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl_version = tls1_2
[Account main2]
localrepository = main2-local
remoterepository = main2-remote
postsynchook = ~/.bin/notmuch
[Repository main2-local]
type = Maildir
localfolders = ~/.mail/main2
[Repository main2-remote]
type = IMAP
remotehost = imap.main2.com
remoteuser = mail@main2.com
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl_version = tls1_2
[mbnames]
enabled = yes
filename = ~/.mutt/mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\nBut when I call "offlineimap" now, it comes to this error:
OfflineIMAP 8.0.0
Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v3.06, Python v3.11.3, OpenSSL 3.1.1 30 May 2023
ERROR: unterminated string literal (detected at line 1) (<string>, line 1)
ERROR: Exceptions occurred during the run!
ERROR: unterminated string literal (detected at line 1) (<string>, line 1)I have checked my configuration several times and compared it with the docs, but I can't find the character that throws this error here.
Offline
Post output of command: "file name_of_your_configuration_file"
Offline
[User@Host ~]$ file .offlineimaprc
.offlineimaprc: ASCII text
Offline
Found the bug.
Last line, missing "
Offline
Is it work for you know after you correct this bug?
Offline