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
Unknown Object (File)
Jun 30 2026, 11:30 AM
Unknown Object (File)
Jun 23 2026, 8:06 AM
Unknown Object (File)
Jun 17 2026, 11:14 PM
Unknown Object (File)
Jun 4 2026, 9:40 AM
Unknown Object (File)
Apr 13 2026, 6:52 PM
Unknown Object (File)
Apr 7 2026, 6:13 PM
Unknown Object (File)
Apr 6 2026, 8:02 AM
Unknown Object (File)
Mar 30 2026, 5:51 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