Page MenuHomePhabricator

Don't send error/exception mail to unverified addresses
ClosedPublic

Authored by epriestley on Feb 7 2018, 1:18 PM.
Tags
None
Referenced Files
F18849199: D19018.diff
Thu, Oct 30, 8:21 AM
F18755554: D19018.id45614.diff
Sun, Oct 5, 6:12 AM
F18628505: D19018.diff
Sep 16 2025, 6:28 AM
F18615420: D19018.id45587.diff
Sep 14 2025, 2:32 PM
F18601199: D19018.diff
Sep 13 2025, 11:47 AM
F18464819: D19018.id.diff
Sep 2 2025, 5:35 AM
F18457764: D19018.diff
Sep 1 2025, 1:00 PM
F18363083: D19018.id45614.diff
Aug 27 2025, 3:40 PM
Subscribers
None

Details

Summary

Depends on D19017. Fixes T12491. Ref T13053. After SES threw us in the dungeon for sending mail to a spamtrap we changed outbound mail rules to stop sending to unverified addresses, except a small amount of registration mail which we can't avoid.

However, we'll still reply to random inbound messages with a helpful error, even if the sender is unverified.

Instead, only send exception mail back if we know who the sender is.

Test Plan

Processed inbound mail with scripts/mail/mail_handler.php. No more outbound mail for "bad address", etc. Still got outbound mail for "unknown command !quack".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable