Questions tagged [offlineimap]

OfflineIMAP is a free, open-source IMAP synchronization tool.

OfflineIMAP can synchronize between two IMAP servers or between an IMAP server and a MailDir formatted mailbox.

15 questions
31
votes
3 answers

Configuring offlineimap for gmail: SSL error

I'm trying to configure offlineimap to download my gmail but am getting the error: OfflineIMAP 6.5.7 Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception) Account sync Gmail: *** Processing account Gmail Establishing…
wdkrnls
  • 1,364
  • 6
  • 15
  • 20
4
votes
1 answer

Sync locally only last 30 days of mail

I have offlineimap set up with my gmail account to sync my mail locally via imap. It works great. Is there a way to only sync the last 30 days worth of mail? I've looked into archivemail but it looks like for imap mailboxes it will archive or…
winchendonsprings
  • 2,088
  • 6
  • 19
  • 24
2
votes
0 answers

Delete or move to trash email in gmail after deleted in sup

I have it setup to properly sync things like read status back to the server, but delete does nothing. There is some explanation of this here: https://groups.google.com/forum/#!topic/supmua/cG4L6r7MQME But I haven't found a more concrete example.…
quinn
  • 488
  • 5
  • 13
2
votes
1 answer

Running offlineimap via launchd doesn't survive sleep on OSX

I'm not very well versed in all things launchd but I wrote this plist file that periodically runs offlineimap to fetch new mail from IMAP servers:
Dominique
  • 151
  • 4
2
votes
1 answer

What is the proper procedure to remove an IMAP folder from the server while using mbsync?

I started playing around with mbsync to download my IMAP email to a local MailDir folder. I have around 80 folders and subfolders in the IMAP server. I noticed that when deleting one of the folders from the server when I run mbsync it recreates…
Pepedou
  • 121
  • 4
2
votes
1 answer

Downloading only gmail's INBOX using offlineIMAP

So my offlineimap.conf looks like this: [general] accounts = Gmail-raub [Account Gmail-raub] localrepository = Gmaillocal-mine remoterepository = Gmailserver-mine synclabels = yes # This header is where labels go. Usually you will be fine # with…
raubvogel
  • 31
  • 3
2
votes
1 answer

mutt loses 'new' flag on unread emails when changing mailbox

I have an anoying misconfiguration in my mail setup and I can't tell where it comes from. I configured my mutt client to retreive email from Offlineimap with folder-hook to handle multiple accounts. This works well but when I mark a message as new…
Plup
  • 141
  • 5
1
vote
1 answer

How do I use OfflineImap / Isync with a server with self signed certs (reading emails in Mutt)?

I am trying to download my emails from mmy imap server (to use with Mutt), but hitting a wall here. I keep getting cert errors. I searched the web and found some solutions however those solutions seems to apply for cases where there is a known root…
yarun can
  • 990
  • 2
  • 17
  • 36
1
vote
0 answers

mutt: keybind to run external script just before imap-fetch-mail

I use offlineimap to manage receiving mail from my IMAP server. I use folders in mutt which offlineimap populates to view them. I would love to be able to bind a key to run the offlineimap external script, followed by mutt's imap-fetch-mail…
kevr
  • 111
  • 4
0
votes
1 answer

OfflineIMAP: Attempts to resync all emails if I define a reverse nametrans

I upgraded OfflineIMAP to 6.5.4 from 6.3.4 so that it will automatically copy new folders to the remote, but I have a problem with folders that already exist locally and remotely. Suppose MyFolder has 4 messages, both locally and remotely (it's…
0
votes
2 answers

How to handle Multiple OfflineImap with Gpg stored Passwords?

I am using Offlineimap with gpgp stored passwords. Pretty similar to this setup https://unix.stackexchange.com/questions/44214/encrypt-offlineimap-password My issue is this. I have multiple email accoutns, and it is tedious to enter the same Gnupg…
yarun can
  • 990
  • 2
  • 17
  • 36
0
votes
1 answer

offlineimap: get certificate of email server

I would like to use offlineimap as a backup for my emails. How do I obtain the certificate of the email server? Moreover, what do I have to do if I need the whole certificate chain? I suspect the server cert is sign by a third party authority.
0
votes
1 answer

Large email causes OfflineIMAP sync failure

I am able to download emails from the server with OfflineIMAP. I then switched email providers, so OfflineIMAP copied my emails to the new server. One message has a large attachment, 33 MB, and I now get this error every time I try syncing: Folder…
miguelmorin
  • 1,817
  • 4
  • 15
  • 26
0
votes
1 answer

How to fix SSL rejection in offlineimap

I installed server.crt created following the instructions in Ubuntu certificates. Here is the output when I attempt to run offlineimap. What do I need to do in order to get the SSL working? OfflineIMAP 7.1.5 Licensed under the GNU GPL v2 or any…
Stephen
  • 177
  • 1
  • 10
0
votes
0 answers

Gnus: How to fix 'Warning - invalid active y'

Something I've done but not yet identified has hosed my working-for-years Gnus<->offlineimap<->GMail setup. Gnus gives me a bunch of errors like: Warning - invalid active: [Gmail].Starred 26 2 y for each of the 8 standard GMail folders being synced…
Phil Hudson
  • 101
  • 1