Can't copy message from local to remote
Ming Su
mingsu at rcees.ac.cn
Sat May 9 17:07:12 BST 2015
Hi all,
According to the configuration in the manual, I can download remote messages to local driver, however, I can't upload the local sent items to remote.
The following is some information might be useful for analysis.
Thank you for your help!
After run:
=====================================
╭─ming at x1 ~ ‹x1*›
╰─$ offlineimap -u basic 137 ↵
OfflineIMAP 6.5.7-rc4
Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
*** Processing account rcees
Establishing connection to mail.cstnet.cn:993
Creating folder /[Remote]
Syncing Drafts: IMAP -> Maildir
Syncing Junk E-mail: IMAP -> Maildir
Establishing connection to mail.cstnet.cn:993
Syncing Trash: IMAP -> Maildir
Syncing Sent Items: IMAP -> Maildir
Establishing connection to mail.cstnet.cn:993
Establishing connection to mail.cstnet.cn:993
Syncing INBOX: IMAP -> Maildir
Establishing connection to mail.cstnet.cn:993
Syncing Virus Items: IMAP -> Maildir
Copy message 1385970569 (1 of 1) Remote:INBOX -> Local
Copy message -1 (1 of 1) Local:INBOX -> Remote
=====================================
and it stop here forever.
My
==========================================
╭─ming at x1 ~ ‹x1*›
╰─$ cat ~/offlineimaprc 138 ↵
[general]
ui = Noninteractive.Quiet
# list of the configured accounts
accounts = rcees
fsync = False
[Account rcees]
localrepository = Local
remoterepository = Remote
#autorefresh = 10 # no autorefresh, i run it one-shot each time
quick = 30
status_backend = sqlite
maxage = 900
[Repository Local]
type = Maildir
localfolders = ~/mail/rcees_imap/
[Repository Remote]
type = IMAP
remotehost = mail.cstnet.cn
ssl = yes
remoteport = 993
remoteuser = mingsu at rcees.ac.cn
remotepass = ********
realdelete = no
# google app-specific password
maxconnections = 5
holdconnectionopen = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
postsynchook = notmuch new
==========================================
And here is my maildir structure.
===============================================
╭─ming at x1 ~ ‹x1*›
╰─$ tree -L 2 ~/mail/rcees_imap
~/mail/rcees_imap
├── Drafts
│ ├── cur
│ ├── new
│ └── tmp
├── INBOX
│ ├── cur
│ ├── new
│ └── tmp
├── Junk E-mail
│ ├── cur
│ ├── new
│ └── tmp
├── Sent Items
│ ├── cur
│ ├── new
│ └── tmp
├── Trash
│ ├── cur
│ ├── new
│ └── tmp
└── Virus Items
├── cur
├── new
└── tmp
===============================================
--
Dr. SU, Ming
State Key Lab. of Environmental Aquatic Chemistry
Research Center for Eco-Environmental Sciences
Chinese Academy of Sciences
P.O.Box 2871, Beijing, 100085 China
Tel: +86-10-62849149-805
Fax: +86-10-62923541
Email: mingsu at rcees.ac.cn
Email: me at suming.me (peasonal)
Website: http://suming.me
More information about the OfflineIMAP-project
mailing list