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
F19504178: D19018.diff
Fri, Jan 9, 3:51 AM
F19502746: D19018.diff
Thu, Jan 8, 7:05 PM
F19311722: D19018.diff
Wed, Dec 24, 11:29 PM
F19095664: D19018.id.diff
Dec 4 2025, 5:49 AM
F19090570: D19018.diff
Dec 3 2025, 12:14 PM
F19031930: D19018.id45587.diff
Nov 25 2025, 3:36 AM
F18860677: D19018.diff
Nov 2 2025, 12:21 PM
F18849199: D19018.diff
Oct 30 2025, 8:21 AM
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