[gmail-detection-and-category-scanning] #01: Protocol-Level Gmail Detection & Fake Transport Extensions #12
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Lavisys/mailsweep#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature:
gmail-detection-and-category-scanning| Source:.scratch/gmail-detection-and-category-scanning/issues/01-protocol-gmail-detection-and-fake-transport.md01: Protocol-Level Gmail Detection & Fake Transport Extensions
What to build: Implement protocol-level detection of Gmail / Google Workspace mailboxes on
MailboxGatewayvia theX-GM-EXT-1capability (with hostname/banner fallback), without relying on email address domain names. ExtendFakeImapTransportto simulateX-GM-EXT-1capability negotiation.Blocked by: None (can start immediately)
Status:
completedMailboxGateway.is_gmailproperty accurately reportsTruewhenX-GM-EXT-1is inself.capabilitiesor server hostname matches Google IMAP servers.FakeImapTransportsupports initializing withcapabilities=("MOVE", "UIDPLUS", "X-GM-EXT-1").test_mailsweep.pyverify Gmail detection on custom domains (e.g.@aina.net,@company.com) without@gmail.comin the address.is_gmail=Falsewith zero behavior changes.