conf for gmail, lang is not english
Nicolas
ml_ask at chirgui.eu
Mon Sep 15 10:16:07 BST 2014
Hi,
OK, I'm going a bit further.
I've now decided to sync the Inbox, and the Sent/Drafts/Trash folders.
I have troube with the french characters in "Messages envoyés" (Sent) :
it appears as "[Gmail]/Messages envoy&AOk-s", but when trying to include
it in the folderlist, it appears "disabled" when running with --info. I
tried "Messages envoyés", "Messages envoy?s", "Messages envoy\&AOk-s"...
Any idea ?
See the conf and the logfile :
[general]
accounts = Gmail
maxsyncaccounts = 1
[Account Gmail]
localrepository = Local
remoterepository = Remote
[Repository Remote]
type = Gmail
remoteuser = me at gmail.com
remotepass = P at ssw0rd
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
folderfilter = lambda foldername: foldername in
['[Gmail]/Brouillons','[Gmail]/Messages
envoy\?s','[Gmail]/Corbeille','INBOX']
nametrans = lambda folder: re.sub('[Gmail]/Brouillons',
'Gmail/Brouillons',
re.sub('[Gmail]/Messages envoy\?s',
'Gmail/Sent',
re.sub('[Gmail]/Corbeille',
'Gmail/Corbeille',
re.sub('INBOX', 'Gmail/INBOX', folder))))
[Repository Local]
type = IMAP
remotehost = localhost
port = 143
remoteuser = me at example.net
remotepass = P at ssw0rd
folderfilter = lambda foldername: foldername in
['Gmail/Brouillons','Gmail/Sent','Gmail/Corbeille','Gmail/INBOX']
nametrans = lambda folder: re.sub('Gmail/Brouillons$',
'[Gmail]/Brouillons',
re.sub('Gmail/Sent$', '[Gmail]/Messages
envoy\?s',
re.sub('Gmail/Corbeille$',
'[Gmail]/Corbeille',
re.sub('Gmail/INBOX$', 'INBOX', folder))))
$ offlineimap --dry-run --info
OfflineIMAP 6.5.4
Licensed under the GNU GPL v2+ (v2 or any later version)
Remote repository 'Remote': type 'Gmail'
Host: imap.gmail.com Port: 993 SSL: 1
Establishing connection to imap.gmail.com:993
Server supports ID extension.
Server welcome string: * OK Gimap ready for requests from
dead:beef:8:d73d::1 nc20mb33560599wic
Server capabilities: ('IMAP4REV1', 'UNSELECT', 'IDLE', 'NAMESPACE',
'QUOTA', 'ID', 'XLIST', 'CHILDREN', 'X-GM-EXT-1', 'UIDPLUS',
'COMPRESS=DEFLATE', 'ENABLE', 'MOVE', 'CONDSTORE', 'ESEARCH')
folderfilter= lambda foldername: foldername in
['[Gmail]/Brouillons','[Gmail]/Messages
envoy\?s','[Gmail]/Corbeille','INBOX']
nametrans= lambda folder: re.sub('[Gmail]/Brouillons',
'Gmail/Brouillons',
re.sub('[Gmail]/Messages envoy\?s', 'Gmail/Sent',
re.sub('[Gmail]/Corbeille', 'Gmail/Corbeille',
re.sub('INBOX', 'Gmail/INBOX', folder))))
Folderlist:
[Gmail]/Brouillons
[Gmail]/Corbeille
[Gmail]/Important (disabled)
[Gmail]/Messages envoy&AOk-s (disabled)
[Gmail]/Spam (disabled)
[Gmail]/Suivis (disabled)
[Gmail]/Tous les messages (disabled)
INBOX -> Gmail/INBOX
Local repository 'Local': type 'MappedIMAP'
Host: localhost Port: None SSL: 0
Establishing connection to localhost:143
Server supports ID extension.
Server welcome string: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
Server capabilities: ('IMAP4REV1', 'LITERAL+', 'SASL-IR',
'LOGIN-REFERRALS', 'ID', 'ENABLE', 'IDLE', 'SORT', 'SORT=DISPLAY',
'THREAD=REFERENCES', 'THREAD=REFS', 'MULTIAPPEND', 'UNSELECT',
'CHILDREN', 'NAMESPACE', 'UIDPLUS', 'LIST-EXTENDED', 'I18NLEVEL=1',
'CONDSTORE', 'QRESYNC', 'ESEARCH', 'ESORT', 'SEARCHRES', 'WITHIN',
'CONTEXT=SEARCH', 'LIST-STATUS', 'SPECIAL-USE')
folderfilter= lambda foldername: foldername in
['Gmail/Brouillons','Gmail/Sent','Gmail/Corbeille','Gmail/INBOX']
nametrans= lambda folder: re.sub('Gmail/Brouillons$',
'[Gmail]/Brouillons',
re.sub('Gmail/Sent$', '[Gmail]/Messages envoy\?s',
re.sub('Gmail/Corbeille$', '[Gmail]/Corbeille',
re.sub('Gmail/INBOX$', 'INBOX', folder))))
Folderlist:
Drafts (disabled)
INBOX (disabled)
ML (disabled)
ML/debian (disabled)
ML/FRnOG (disabled)
ML/FRsAG (disabled)
ML/ml_ask (disabled)
Queue (disabled)
Sent (disabled)
Trash (disabled)
Regards
Nicolas
On Sun, 14 Sep 2014 10:35:08 +0200, Tomasz Żok wrote:
>
> From the last time I checked it, you could not change existing
> e-mails in the "[Gmail]/All mail" folder. This includes setting the
> "seen" flag (i.e. marking the message as read) which is the subject
> of the original question from Nicolas.
>
> Best regards,
> Tomasz
More information about the OfflineIMAP-project
mailing list