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
F13313766: D19018.id45614.diff
Tue, Jun 11, 11:30 AM
F13312211: D19018.diff
Tue, Jun 11, 6:16 AM
F13297971: D19018.diff
Fri, Jun 7, 6:08 AM
F13218048: D19018.id45587.diff
Sat, May 18, 9:42 AM
F13194517: D19018.diff
May 12 2024, 9:37 PM
F13177314: D19018.diff
May 8 2024, 7:37 PM
Unknown Object (File)
May 4 2024, 8:33 PM
Unknown Object (File)
May 4 2024, 3:54 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