On Tue, Sep 17, 2024 at 07:20:18PM +0800, Wesley via Postfix-users wrote: > > > Viktor Dukhovni via Postfix-users : > > - Just inbound mail from external sources? Or also other mail (locally > > submitted or generated)? > > yes I just reject message to that user from external source via smtp, does > that setting work?
Yes, as noted in my original reply. > > - What is the address class of "domain.com"? > > sorry what do you mean here? https://www.postfix.org/ADDRESS_CLASS_README.html Another way to reject mail from outside is to be sure exclude the address from the associated list of valid recipients as well as virtual_alias_maps, canonical_maps, ... This gives senders a possibly more appropriate message (address does not exist). Note also that a user who cannot receive inbound mail, should typically also not be able to send outbound mail (to which nobody can reply, and for which any sender-verification probes by receiving systems would fail). -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org