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
F19937789: D19018.diff
Mon, Apr 13, 6:52 PM
F19926760: D19018.diff
Tue, Apr 7, 6:13 PM
F19921721: D19018.id45614.diff
Mon, Apr 6, 8:02 AM
F19900716: D19018.id.diff
Mon, Mar 30, 5:51 AM
F19898458: D19018.id45587.diff
Sun, Mar 29, 12:51 PM
F19898332: D19018.diff
Sun, Mar 29, 12:02 PM
F19870954: D19018.diff
Mar 15 2026, 8:56 AM
F19869618: D19018.diff
Mar 15 2026, 6:19 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