Skip to content

Folderlist to includee subfolders #217

Description

@phu9Suop

Hi : I use

offlineimap -V    
offlineimap v8.0.0, imaplib2 v3.05, Python v3.11.2, OpenSSL 3.0.15 3 Sep 2024

on devuan daedalus
remote mail server is posteo.de, local is Maildir.

I have this in .offlineimaprc :

folderfilter = lambda foldername: foldername not in [ 'Drafts',
    'Empfangsgarantie-Meldungen', 'G_D', 'INBOX',
    'Junk', 'Sent', 'Spam-Log', 'Trash' ]

However there are subdirectories in these folders, which do not get excluded from sync.
Is there a simple way to extent the folderfilter to all subdirectories, in this case to not sync them ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions