Sendmail ignores '-N never' option for DSN's?




Hi all,

I'm trying to run down some large mail queues at the moment, that have
built up due to config changes on a few hosts, and some downtime.

I'm trying to get Sendmail to despool the queue, but *not* send *any*
DSN's - i.e. at the moment the converstation goes:


Sendmail connects to nominated MX for the destination.
MX says 'User unknown'
Sendmail connects to the nominated MX for the sender, and sends a DSN.


I don't want this second part happening for the mail in the queue.
Looking at the man page for sendmail, it says:

"
-N dsn Set delivery status notification conditions to dsn, which can
be
`never' for no notifications or a comma separated
list of the
values `failure' to be notified if delivery failed,
`delay' to
be notified if delivery is delayed, and `success' to be
notified
when the message is successfully delivered.
"

However, trying this, i.e.

"
sendmail -N never -qRsomedomain.com -v -OQueueSortOrder=filename -
OMinQueueAge=0 -OHostStatusDirectory=
"

Has no affect at all (i.e. sendmail tries the initial deliver - if
that fails, it goes off and contacts the senders MX - and tries to
send a DSN).

Is there anything else that needs to be changed to get this working? -
Is this option something like 'at submission time only?' (i.e. gets
embedded in the control QF files?)

If it is the above - is there something we can strip out, or change in
the QF's to make all the queued mail get this behaviour?

I realise the 'better solution' is not to accept the mail in the first
place - but we had no choice for a couple of hours, and I'd rather not
back-scatter the DSN's for the mail we do have in the queue.

Thanks,

J
.



Relevant Pages