mail2couch/go/mail
Ole-Morten Duesund 84faf501f1 fix: implement server-side folder filtering using IMAP LIST patterns
Replace client-side wildcard filtering with IMAP LIST pattern matching
for improved efficiency and accuracy. This fixes the issue where patterns
like "Work*" were not matching folders like "Work/Projects".

Key improvements:
- Use IMAP LIST with patterns for server-side filtering
- Remove dependency on doublestar library
- Add ListFilteredMailboxes() method with proper IMAP pattern support
- Remove obsolete ShouldProcessMailbox() client-side filtering
- Significantly reduce network traffic by filtering at server

This ensures the Go implementation correctly processes folder patterns
and achieves feature parity with the Rust implementation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-03 14:26:03 +02:00
..
imap.go fix: implement server-side folder filtering using IMAP LIST patterns 2025-08-03 14:26:03 +02:00