Thread View: news.software.readers
2 messages
2 total messages
Started by Bek Oberin
Wed, 23 Jul 1997 00:00
slrn email weirdness?
Author: Bek Oberin
Date: Wed, 23 Jul 1997 00:00
Date: Wed, 23 Jul 1997 00:00
37 lines
1956 bytes
1956 bytes
sorry for the uninformative subject line, i just can't think what to call it. 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. 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 source between those two lines (it's in misc.c, slrn_mail_file(), incidentally). This isn't a bug report or anything like that, I'm just curious, and it's *far* to late at night to figure it out myself! gossamer the exceedingly peculiar PS The sig quote is random, I swear it! -- : Bek Oberin / gossamer <gossamer@glasswings.com.au> : http://www.tertius.net.au/~gossamer/ : Go not unto the Usenet for advice, for you will be told both yea and : nay (and quite a few things that just have nothing at all to do with : the question).
Re: slrn email weirdness?
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads