Viktor Dukhovni skrev den 2022-11-21 19:29:
On Mon, Nov 21, 2022 at 07:14:12PM +0100, Benny Pedersen wrote:

> How should this be done properly?

show postconf -nf

and logs of event that fails

Nothing fails.  The OP is asking how to selectively discard some
recipients.  Nothing in the OP's configuration is needed here, because
nothing is wrong, this is a question about how to achieve a non-default
behaviour.

Wietse's answer is sufficient.  I typically write "discard:silently" in
the transport table, which is ever so slightly more efficient in some
corner cases, and arguably makes the associated log entry a bit more clear.

good, its just me that remember "reject_mutli_recipient_bounce" ?

i have always being in impression valid recipient was delivered, while all others in multi recipient was just rejected

sendmail -f m...@junc.eu -bv ab...@junc.eu,postmast...@junc.eu

<m...@junc.eu> (expanded from <ab...@junc.eu>): delivery via
    mx.junc.eu[private/dovecot-lmtp]: 250 2.1.5 OK

<postmast...@junc.eu>: delivery via mx.junc.eu[private/dovecot-lmtp]: host mx.junc.eu[private/dovecot-lmtp] said: 550 5.1.1 <postmast...@junc.eu> User
    doesn't exist: postmast...@junc.eu (in reply to RCPT TO command)

not the same ?

Reply via email to