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
F15591058: D19018.diff
Fri, May 9, 11:03 PM
F15590994: D19018.id45587.diff
Fri, May 9, 10:46 PM
F15577343: D19018.id45614.diff
Tue, May 6, 1:33 PM
F15573917: D19018.id45587.diff
Mon, May 5, 10:35 PM
F15563391: D19018.id45614.diff
Wed, Apr 30, 7:59 AM
F15556578: D19018.id45587.diff
Mon, Apr 28, 5:23 PM
F15542381: D19018.id45614.diff
Fri, Apr 25, 4:38 PM
F15540161: D19018.id.diff
Fri, Apr 25, 6:39 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