[net.unix-wizards] 4.2 sendmail problem

art@acc.arpa (03/29/86)

We are seeing a problem with sendmail under 4.2.  If a relatively
large message is queued for LOTS of recipients, the message ends
up getting retransmitted.  It appears that sendmail gets part way
through the list, gets an error talking to someones SMTP, and dies
without updating the queue file (qf*) to delete the sites which
have been delivered to.  Sometime later sendmail starts over with
the same message and the cycle repeats.  I didn't see anything in
our copy of the Mt. Xinu buglist which appeared to relate.  Does
this bug sound familiar to anyone?  Anyone have a patch?

					<Art@ACC.ARPA>

------

mark@umcp-cs.UUCP (Mark Weiser) (03/31/86)

In article <2186@brl-smoke.ARPA> art@acc.arpa writes:
>
>We are seeing a problem with sendmail under 4.2.  If a relatively
>large message is queued for LOTS of recipients, the message ends
>up getting retransmitted.  It appears that sendmail gets part way
>through the list, gets an error talking to someones SMTP, and dies
>without updating the queue file (qf*) to delete the sites which
>have been delivered to.  Sometime later sendmail starts over with
>the same message and the cycle repeats.  I didn't see anything in
>our copy of the Mt. Xinu buglist which appeared to relate.  Does
>this bug sound familiar to anyone?  Anyone have a patch?
>
>					<Art@ACC.ARPA>
>
Yes, I remember this problem in 4.2 sendmail.  Sendmail is keeping its
internal list uptodate, it just isn't bothering to update the qf file.
I fixed it here by just adding a call to the subroutine that updates
the qf file after each message is sent.  It made sendmail even MORE
expensive to run, but seemed to be worth it.

Now that we run 4.3 I don't know where my change is, but it was very
easy find and put in, as I recall.
-mark
-- 
Spoken: Mark Weiser 	ARPA:	mark@maryland	Phone: +1-301-454-7817
CSNet:	mark@umcp-cs 	UUCP:	{seismo,allegra}!umcp-cs!mark
USPS: Computer Science Dept., University of Maryland, College Park, MD 20742