Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!orion.oac.uci.edu!ucivax!mh From: mh@buckaroo.ics.uci.edu (PostMaster) Newsgroups: comp.mail.mh Subject: Re: slocal question (and some miscellany ..) Message-ID: <278CEC40.1762@ics.uci.edu> Date: 10 Jan 91 22:35:44 GMT References: <10043@pasteur.Berkeley.EDU> <2788C983.23156@ics.uci.edu> <10059@pasteur.Berkeley.EDU> Reply-To: jromine@ics.uci.edu (PostMaster) Distribution: na Organization: UC Irvine Department of ICS Lines: 22 Nntp-Posting-Host: buckaroo.ics.uci.edu aoki@postgres.Berkeley.EDU (Paul M. Aoki) writes: >[speaking about the "?" result code of slocal] The problem is that when >an action fails, slocal immediately stops processing the lines in >.maildelivery and punts (attempts delivery to the maildrop). >My feeling is that there's a logic bug at the bottom of the while loop >in usr_delivery(). I looked at the code, and I agree with you. In the manual, the sentence describing the "?" result code says "perform the action only if the message has not been delivered". This implies that the maildelivery file should continue to be read after the message is considered to have been delivered. Since nobody has spoken up that they're depending on this behavior, I'm going to fix it in the next MH patch release. The new code at the bottom of the while loop in usr_delivery() will be: if (accept && (status == OK)) won++; -- UCI MH