The email channel extension (archipelago channels/email) accepts only authenticated mail from allowed senders, built on go-imap and go-smtp instead of a hand-written SMTP server.
Evidence
channels/email/main.go runs its own SMTP listener and uses the From address as SenderID; the gateway treats email senders as people (carriesPersonIdentity), so anyone reaching the port impersonates any user.
Stop when
[ ] Inbound polled from a mailbox with go-imap v2; no listening port.
[ ] Only allowlisted senders whose Authentication-Results show DKIM or SPF pass are routed.
[ ] Replies sent with go-smtp.
Imported from beads archie-core-mqti.14 · GitHub #1390 · type bug · priority P0 · created 2026-10-05 · closed 2026-10-05
## Goal
The email channel extension (archipelago channels/email) accepts only authenticated mail from allowed senders, built on go-imap and go-smtp instead of a hand-written SMTP server.
## Evidence
channels/email/main.go runs its own SMTP listener and uses the From address as SenderID; the gateway treats email senders as people (carriesPersonIdentity), so anyone reaching the port impersonates any user.
## Stop when
[ ] Inbound polled from a mailbox with go-imap v2; no listening port.
[ ] Only allowlisted senders whose Authentication-Results show DKIM or SPF pass are routed.
[ ] Replies sent with go-smtp.
### Close reason
archipelago c4f9c35: go-imap/go-smtp, allowlist + provider DMARC/DKIM check
---
_Imported from beads `archie-core-mqti.14` · GitHub #1390 · type bug · priority P0 · created 2026-10-05 · closed 2026-10-05_
sam
added the criticalbug labels 2026-10-27 13:36:04 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
The email channel extension (archipelago channels/email) accepts only authenticated mail from allowed senders, built on go-imap and go-smtp instead of a hand-written SMTP server.
Evidence
channels/email/main.go runs its own SMTP listener and uses the From address as SenderID; the gateway treats email senders as people (carriesPersonIdentity), so anyone reaching the port impersonates any user.
Stop when
[ ] Inbound polled from a mailbox with go-imap v2; no listening port.
[ ] Only allowlisted senders whose Authentication-Results show DKIM or SPF pass are routed.
[ ] Replies sent with go-smtp.
Close reason
archipelago c4f9c35: go-imap/go-smtp, allowlist + provider DMARC/DKIM check
Imported from beads
archie-core-mqti.14· GitHub #1390 · type bug · priority P0 · created 2026-10-05 · closed 2026-10-05