On 23.05.24 20:51, Alexander Kolesnikov via Postfix-users wrote:
  23.05.2024 19:06, Wietse Venema via Postfix-users пишет:

Aleksandr Kolesnikov via Postfix-users:

    if the user requests a DSN, he receives a delivery message via the

...

how to prohibit the sending of such DSN?

Perhaps: [1]https://www.postfix.org/DSN_README.html

        Wietse

  I may have misunderstood the contents of DSN_README, but I don't need to
  turn off DSN completely.

  I need the DSN to not work only for those senders for whom the transport
  is configured to "resubmit" (pipe).

  In my case, I was helped by the smtpd_command_filter option, which you
  pointed out in your recent answer to a similar topic.


since we don't know what your resubmis_mail.sh script does it's hard do know. If it calls sendmail and passes the "-N success" option to it, the obvious solution is to use "-N never" instead


   resubmit  unix  -       n       n       -       10      pipe
     flags=Rq user=nobody null_sender=
     argv=/usr/local/libexec/resubmit_mail.sh -N success -- ${recipient}


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
(R)etry, (A)bort, (C)ancer
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to