Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how/where can I change the ndr config

7 views
Skip to first unread message

None

unread,
Feb 9, 2022, 7:12:54 AM2/9/22
to
how/where can I change the ndr config

Claus Aßmann

unread,
Feb 9, 2022, 12:15:07 PM2/9/22
to
None wrote:
> how/where can I change the ndr config

What is "ndr"? "non-delivery-report"?

"What's the problem you are trying to solve?"

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

None

unread,
Feb 9, 2022, 4:00:33 PM2/9/22
to

>
> What is "ndr"? "non-delivery-report"?

Yes the message being generated to the sender when the server is trying
to deliver a message, but receives a rejection of the recipient's server.

> "What's the problem you are trying to solve?"
>

I am using clamav-milter and when I send a message with the eicar test
string. This message is rejected by the recipient's server. But I do not
receive this rejected message, because the rejected message still has
the eicar attachment and is thus being rejected by the server that
handles incoming mail.

I guess the easiest fix would be, not to attach the original message to
this 'ndr'.

Grant Taylor

unread,
Feb 9, 2022, 7:52:17 PM2/9/22
to
On 2/9/22 2:00 PM, None wrote:
> I am using clamav-milter and when I send a message with the eicar test
> string. This message is rejected by the recipient's server. But I do not
> receive this rejected message, because the rejected message still has
> the eicar attachment and is thus being rejected by the server that
> handles incoming mail.
>
> I guess the easiest fix would be, not to attach the original message to
> this 'ndr'.

I use the no-body-return (or however it's written) option to tell
Sendmail to not include message bodies in Delivery Status Notifications
(the official name for non-delivery-reports as I understand it).

I chose this option 15-20 years ago for the same type of problem but
with spam, not viruses.



--
Grant. . . .
unix || die

Claus Aßmann

unread,
Feb 10, 2022, 11:27:17 AM2/10/22
to
None wrote:

> I guess the easiest fix would be, not to attach the original message to
> this 'ndr'.

If I understand your problem correctly, you are sending an e-mail
-- to a server which is not under your control -- for which you
would like a "bounce" (DSN) but without the body.

So you have to configure your client to request exactly that
by using RET=HDRS in the MAIL command.
Check the documentation for whatever mail client you use
how to do that.

None

unread,
Feb 10, 2022, 2:49:16 PM2/10/22
to

> I use the no-body-return (or however it's written) option to tell
> Sendmail to not include message bodies in Delivery Status Notifications
> (the official name for non-delivery-reports as I understand it).

Thanks! I managed with changing this

define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,restrictqrun')dnl

to

define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,nobodyreturn,restrictqrun')dnl

Grant Taylor

unread,
Feb 10, 2022, 2:50:27 PM2/10/22
to
On 2/10/22 12:49 PM, None wrote:
> Thanks! I managed with changing this

You're welcome.

> define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,nobodyreturn,restrictqrun')dnl

Ya, that looks like what I was failing to remember the syntax of the
other day.
0 new messages