Markus E.:
> On Tue, 8 Nov 2022, Wietse Venema wrote:
> 
> > Markus E.:
> >> Hi!
> >> Is it possible to silently reject messages from a specific sender or
> >> domain in Postfix?
> >>
> >> Somthing like:
> >>
> >> us...@domain.tld  OK
> >> us...@domain.tld  REJECT
> >> us...@domain.tld  REJECT:nolog
> >
> > It's called DISCARD
> 
> >From the access man page:
> 
> DISCARD optional text...
>      Claim successful delivery and silently discard the message.
>      Log the optional text if specified, otherwise log a generic message.
> 
> Can you do the opposite? I.e. reject the message with 554 and log nothing?

No, that would be unsafe.

        Wietse

Reply via email to