notify: reply to notification mail to comment #295

closed cmc opened this on 2026-09-28 06:27 UTC · collaboration roadmap

Discussion

cmc 2026-09-28 06:27 UTC

Notification mail is outbound only. Replying to it should post a comment on the thread.

  • Each notification carries Reply-To: reply+<token>@<domain>; the token binds recipient, repository and issue/MR, and expires.
  • Inbound: either an SMTP listener in gitbayd behind an MX record, or polling a mailbox over IMAP. The second needs no open port.
  • The reply is checked against the recipient's current rights; a revoked or disabled account posts nothing.
  • Quoted text and signatures are stripped; the body is stored as markdown.
  • Refusals send nothing back (no backscatter), recorded in the audit log.
  • Setting per user, off by default, next to notifications settings mail.

closed by cmc in commit 90d0cc2aad: wiki, changelog: reply by mail; fuzz the reply parsers

2026-09-29 06:52 UTC

referenced in commit 85af941e0a by cmc: mailin: parse Authentication-Results per RFC 8601; DMARC relaxed alignment; fetch tries only for refusals

2026-09-29 06:52 UTC

referenced in commit 9a44de69f1 by cmc: mailin, imapc: bound what the IMAP server can make the client hold; check sender authentication and reused ids

2026-09-29 06:52 UTC

referenced in commit b823096731 by cmc: notify, mailin: reply to notification mail to comment

2026-09-29 06:52 UTC