
내 Gmail 계정('전체 메일' 및 '보낸 편지함' 폴더)을 오프라인 imap과 동기화하고 있습니다. 하지만 일부 이메일은 다운로드되지 않은 것 같습니다. Gmail에서 대화 보기를 비활성화했는데 '전체 메일'에 4728개의 메일이 표시됩니다. Offlineimap은 4703개의 파일을 생성합니다. 이 두 숫자가 일치하면 안 되나요?
~/.offlineimaprc
[Repository gmail-Local]
type = Maildir
localfolders = ~/mail/gmail
[Repository gmail-Remote]
type = Gmail
remoteuser = [email protected]
remotepass = passw
readonly = True
createfolders = False
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
nametrans = lambda folder: re.sub(' ', '_', folder)
folderfilter = lambda foldername: foldername in ['[Gmail]/All Mail', '[Google Mail]/All Mail', '[Google Mail]/Sent Mail', '[Gmail]/Sent Mail']
내가 할 때 :
~/mail/gmail/[Google_Mail].All_Mail]$ find . -type f | wc -l
4703
offlineimap --version
6.5.4
답변1
자세히 살펴보면 누락된 25개의 메일은 Gmail의 '전체 메일'에 표시되는 채팅 대화일 가능성이 높습니다.
동기화하려면 IMAP에 채팅 라벨이 표시되는지 확인해야 합니다.
톱니바퀴 아이콘 > 설정 > 라벨을 클릭하고 채팅을 위해 'IMAP에 표시' 확인란을 선택하세요.