On Sat, Jun 15, 2024 at 07:06:43PM +0800, Jeff Peng via Postfix-users wrote: > On 2024-06-15 18:14, John Levine via Postfix-users wrote: > > People I'm working with have a short list of addresses from which they > > don't want to accept mail at all, and they'd like to reject as early > > as possible without running it through anti-spam milters, ideally by > > rejecting the SMTP MAIL FROM command. What's the best way to do this? > > The list is short so if it has to be hand-edited into config files, > > that's OK. > > > > I'm not sure exactly why they want to do it this way but they have > > been running mail systems for a long time (some of you surely know > > them) and I assume they have sensible reasons. > > I think postscreen can block them easily.
Actually, no, because postscreen typically does not look at the sender address, generally, just the client IP address is considered. No reason to post a vague guess, when a concrete approach was requested. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org