Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mateusz Łoskot
@mloskot
eater
@eater
I haven't been able to reproduce my bug since March 1. I have a new issue though.
Running offlineimap to download my gmail inbox somehow jumbled up the order of the messages in the online mailbox. So now when I view my gmail inbox (the real one, not the offline copy) in a mail client, they're not in date order. I wonder if there's a way to repair that?
Nicolas Sebrecht
@nicolas33
@eater offlineimap doesn't change the remote order. They are technically ordered by UID. This is alikely a option/configuration in your mail client.
eater
@eater
It happens in a few different clients though, including the Android Gmail app, which has always been date-ordered till now, and it definitely started at the moment that I first ran offlineimap.
Nicolas Sebrecht
@nicolas33
There is no such thing like re-ordering on the remote in IMAP.
I'd not be surprised that Google changes Gmail webmail and clients.
eater
@eater
Really strange. I thought it might be possible if offlineimap copied the Gmail messages to a maildir, and then the maildir got re-ordered somehow, and then offlineimap synced the change back up
Nicolas Sebrecht
@nicolas33
You would see duplicates.
Do you make changes in the local emails?
copy?
eater
@eater
Just status changes
Nicolas Sebrecht
@nicolas33
Changes made locally are synced to the remote server.
The status is email metadata.
So, no side effects.
eater
@eater
right
Marin Usalj
@supermarin
Not sure how to browse history here, got a quick question around python
Seems like offlineimap is forcing python2 on the pythonfile, even though there's a shebang with python3 on top of the helper file
Nicolas Sebrecht
@nicolas33
Got to fi this, then.
Marin Usalj
@supermarin
Offlineimap v7.2.3
Nicolas Sebrecht
@nicolas33
This should be python2
Marin Usalj
@supermarin
thanks for the quick answer Nicholas, mind elaborating on the first message?
Nicolas Sebrecht
@nicolas33
Can't find a pythonfile somewhere in our repository.
Marin Usalj
@supermarin
FWIW it seems like it should be possible to use python3 as per https://github.com/keith/dotfiles/blob/master/mutt/offlineimaphelpers.py
Nicolas Sebrecht
@nicolas33
The pythonfile is not executed. It's imported by offlineimap.
Marin Usalj
@supermarin
oh gotcha
so need to force launch offlineimap with python3?
Nicolas Sebrecht
@nicolas33
We had people trying to port offlineimap to py3.
We couldn't get it working.
Marin Usalj
@supermarin
I see
looking at the file above again, there's a shebang but seems like it's all py2 syntax
will just port the helpers to py2 then, thank you!
Nicolas Sebrecht
@nicolas33
The shebang in this file does nothing.
'offlineimaphelpers'
Marin Usalj
@supermarin
yep got it
if it's imported makes sense
Ghost
@ghost~5c7a27c5d73408ce4fb96504
@nicolas33 my distro is CRUX
here is my port for offlineimap. https://abdullah.today/ports/offlineimap/Pkgfile
Nicolas Sebrecht
@nicolas33
@AbdullahKhan7_gitlab Thanks. Is this official for crux?
ZaxonXP
@ZaxonXP
In the offlineimap.conf file there is a section about generating mailboxes for mutt. [mbnames]. I am interested in filtering the names using mbnames_folderfilter, but somehow it is not working: mbnames_folderfilter = lambda foldername: foldername not in ['[Gmail].Drafts', '[Gmail].Spam', '[Gmail].Bin']
how should I do it?
Nahra
@Nahra
Hi, here is error I am getting when connecting to gmail imap server: https://clbin.com/zcHlf
I can connect using webmail or other mail client without any problem.
I also can connect to other imap servers from other providers without any problem using offlineimap.
Can somebody help?
Nahra
@Nahra
Here is configuration I use: https://clbin.com/FcdJ1
Nicolas Sebrecht
@nicolas33
@Nahra I don't think it's possile to login to gmail with LOGIN anymore. Perhaps there's a configuration option in the webmail, though.
Nahra
@Nahra
Ah. What would be possible so?
Nicolas Sebrecht
@nicolas33
@Nahra XOAUTH.