On 08 Apr 2020, at 17:01, @lbutlr <krem...@kreme.com> wrote: > Given an email address of user+ama...@example.com how can I reject all emails > to that address that do not come from amazon.com?
I realize after ready this whole thread that I phrased this poorly and incompletely. Yes, I want to reject all email to user+amazon that is not from amazon, but I also want to reject all mail that claims to be from amazon from being delivered to u...@example.com (for a specific user, not a general rule for all accounts). But I think that Wietse’s post on restriction_classes is still the way to do this. With the addition of another class for the bare address. Assuming the From: is available tp smtpd_restriction_classes Will check docs and test. -- 'Why is it all Mr Dibbler's films are set against the background of a world gone mad?' said the dwarf. Soll's eyes narrowed. 'Because Mr Dibbler,' he growled, 'is a very observant man.' --Moving Pictures