Article View: news.software.readers
Article #35527Re: slrn email weirdness?
From: Olly Betts
Date: Mon, 28 Jul 1997 00:00
Date: Mon, 28 Jul 1997 00:00
42 lines
2500 bytes
2500 bytes
In article <slrn5tbu63.c0.gossamer@penguin.glasswings.com.au>, Bek Oberin wrote: >i have a perplexing question ... i'm running slrn from a local spool, >and today the network went down. not right at my box, a few hops up >(past the local nameserver) the stream. when i tried to reply to a >post, and the reply was directed to somebody past where the network >had been down (ie, an inaccessible host), there was a significant >pause - up to about a minute - between when I presed 'y' to the "Mail >the message?" prompt, and when the "Sending... done" showed up in the >subject line. The same thing doesn't happen when I email something >from Mutt to the same address, so I don't think it's sendmail. Mutt explicitly backgrounds the sendmail command, while slrn uses "-odb" to tell sendmail to deliver the mail in the background. My guess is that your sendmail command does something (name lookup maybe?) before pushing the delivery into the background, or maybe it ignores -odb and always delivers slowly. Most MTAs provide a sendmail "wrapper" command so it may not be the Sendmail package that's causing this problem that. I'm not convinced Mutt's approach is wise. What if the sendmail command has a resource crisis and returns an error code? Mutt will never see it and the message will silently disappear, while slrn will get a non-zero return code back from the sendmail command. This advantage is currently lost, since I've just noticed slrn doesn't inspect the error code from the sendmail command, but that's fairly easy to fix. >The only thing I could think of was that there's some hostname lookup >going on, but I can't find a hostname lookup happening anywhere in the >[slrn] source between those two lines [...] Nope, slrn doesn't do an explicit name lookup when sending mail. Olly -- Don't send a man to do a buoy's job.
Technical Details
Message-ID:
<slrn5tpm6b.k73.olly@noxious.muscat.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn5tbu63.c0.gossamer@penguin.glasswings.com.au>Show Full Headers
Complete Article Headers
Message-ID: <slrn5tpm6b.k73.olly@noxious.muscat.co.uk> Subject: Re: slrn email weirdness? Date: Mon, 28 Jul 1997 00:00:00 +0000 From: olly@muscat.co.uk (Olly Betts) References: <slrn5tbu63.c0.gossamer@penguin.glasswings.com.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 259851155 Mail-Copies-To: always Organization: Muscat Ltd -- http://www.muscat.co.uk/ Newsgroups: news.software.readers