Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176416
| From | Michael Fothergill <michael.fothergill@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: using offlineimap, notmuch and emacs etc.... |
| Date | 2017-01-07 16:20 +0100 |
| Message-ID | <sX0WK-24A-13@gated-at.bofh.it> (permalink) |
| References | <sWZnX-ZQ-7@gated-at.bofh.it> <sX00G-1um-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On 7 January 2017 at 14:15, Mattia Oss <mais.toast@gmail.com> wrote:
> On Sat, Jan 07, 2017 at 01:14:21PM +0000, Michael Fothergill wrote:
>
> I'm also trying to configure offlineimap and mutt, so I'll try to
> help.
>
> > I found a web site that explained how to use it in combination with emacs
> Always compare more sources as offlineimap is changed a lot recently.
>
> > [Repository Local]
> > type = Maildir
> use type = GmailMaildir here.
>
> > [Repository MichaelFothergillGmail]
> > type = Gmail
> > maxconnections=1
> > remoteuser = Michael.Fothergill@gmail.com
> > realdelete=no
> > folderfilter = lambda foldername: foldername in ['[Google Mail]/All
> > Mail', '[Google Mail]/Sent Mail']
> > nametrans = lambda foldername: re.sub('^\[Google Mail\]/All Mail$',
> 'all',
> > re.sub('^\[Google Mail\]/Sent Mail$', 'sent',foldername))
>
> You have to use nametrans both in the local and remote repository.
> Look at this howto:
> http://stevelosh.com/blog/2012/10/the-homely-mutt/
> But you can do this later. I'd rather just disable this option for the
> moment.
>
> > mikef@rhinoceros:~$ offlineimap
> Try:
> $ offlineimap --info
>
> and post the output.
>
Many thanks for your input here.
I tried running offlineimap --info but it did not recognise this command.
I ran offlineimap -help and there was a debug option which I tried running:
mikef@rhinoceros:~$ offlineimap -d
Usage: offlineimap [options]
offlineimap: error: -d option requires an argument
mikef@rhinoceros:~$ offlineimap -d type1
OfflineIMAP 6.3.4
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).
Debug mode: Forcing to singlethreaded.
WARNING: Invalid debug type: type1
Now debugging for : Other offlineimap related sync messages
Account sync mikefGmail:
***** Processing account mikefGmail
Copying folder structure from Gmail to Maildir
Establishing connection to imap.gmail.com:993.
***** Finished processing account mikefGmail
It says that it copied the folder structure from Gmail to Maildir but the
folder is still empty.
mikef@rhinoceros:~$ offlineimap
OfflineIMAP 6.3.4
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).
I edited the config file and changed local type = Maildir to type =
GmailMaildir.
When I ran it then it crashed :
Exception: 'GmailMaildir' repository not supported for local repositories.
It does not recognise the term GmailMaildir apparently.
Any other suggestions you have are most welcome.
Regards
MF
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
using offlineimap, notmuch and emacs etc.... Michael Fothergill <michael.fothergill@gmail.com> - 2017-01-07 14:40 +0100
Re: using offlineimap, notmuch and emacs etc.... Mattia Oss <mais.toast@gmail.com> - 2017-01-07 15:20 +0100
Re: using offlineimap, notmuch and emacs etc.... Michael Fothergill <michael.fothergill@gmail.com> - 2017-01-07 16:20 +0100
Re: using offlineimap, notmuch and emacs etc.... Mattia Oss <mais.toast@gmail.com> - 2017-01-07 17:10 +0100
Re: using offlineimap, notmuch and emacs etc.... Liam O'Toole <liam.p.otoole@gmail.com> - 2017-01-07 17:30 +0100
Re: using offlineimap, notmuch and emacs etc.... Michael Fothergill <michael.fothergill@gmail.com> - 2017-01-07 18:10 +0100
csiph-web