On Jan 21, 2009, at 10:12 PM, Norm Mackey wrote:
I had been under the impression that I should tell users to use the
domain "example.com" (or example.org) as default settings in
software being tested and developed, in order that the software not
generate email which would be a problem for our own or other
domains' SMTP servers.
This recently heavily stressed our SMTP server.
That's why it should only be used as an example, not in practice. ;)
Test accounts should generally be actual accounts that can be
monitored during testing.
I'd use smtpd_recipient_restrictions, and add a line to the map for
check_recipient_access to discard anything to example.com. Your
system would still accept these, but would just discard them instead
of attempting delivery.