Files
nixos/modules/services/mail/marketing.sieve.agent.age
JakeHillion 45f33926d7
commit-validation / validate-single-commit (pull_request) Successful in 8s
buildbot/nix-eval Build done. (788 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
mail: file more marketing senders
Unread mail in INBOX is still partly marketing and low-signal digests:
newsletters, product and sale announcements, social network digests and
recruiter mail from senders the marketing Sieve script doesn't cover yet.

Add those senders to the script. Senders that only send marketing are
matched by exact address. Where a sender also sends receipts, account or
security mail from the same address, the rule only matches what tells the
two apart: the List-Unsubscribe header, a mailing list ID, or the subjects
of its marketing mail. Their transactional mail stays in INBOX.

Test plan:
- CI
- Ran the old and new scripts with sieve-test against the unread INBOX
  mail and every message from each sender the change touches. Both
  compile, the new rules file the intended mail, and each of those
  senders' transactional and security mail stays in INBOX.
2026-11-26 21:47:59 +00:00

10 KiB