Can't copy message from local to remote
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Sat May 9 19:58:25 BST 2015
On Sun, May 10, 2015 at 12:07:12AM +0800, Ming Su wrote:
> 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
Does it work with a previous release (v6.5.6 or v6.5.5)?
> 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.
Bad. Once you don't see anymore network consumption, send a SIGQUIT
signal to see where it's stopped. Wait enough to make sure it's really
stopped.
Outside of the above debugging check, you can try with socktimeout
enabled.
>
> 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
>
> ===============================================
--
Nicolas Sebrecht
More information about the OfflineIMAP-project
mailing list