Ron Garret:
[ Charset windows-1252 converted... ]
>
> On Jul 11, 2021, at 12:22 PM, Matus UHLAR - fantomas <[email protected]>
> wrote:
>
> >
> >> The problem is that a rejected recipient produces a mailer-daemon reply.
> >
> > only if you accept mail for such recipient.
>
> Ah. That may be my problem then. I?m using Dovecot via LMTP for
> local delivery. I thought that postfix would receive information
> about non-existent users via that protocol, but I guess it doesn?t
> and ends up just accepting everything.
That depends on how you configured things.
Just put reject_unverified_recipient in smtpd_recipient_restrictions
before any 'permit'-like thing.
Wietse