Re: Timeout for POST?

Patrik Rådman <[email protected]>
Newsgroups gmane.network.sn
Message-ID <[email protected]>
Eric Wick <[email protected]> wrote:
> The newsserver at my provider will take a longer time for
> authentication, so i get lots of mails with "failed posting" from my sn.

Well, the "posting failed" e-mails come from the HELLO script, so if the
problem is that the upstream server is slow in accepting login, you could
try sticking a sleep-command in your .HELLO, before it tries to upload
articles.

Could you also try applying this patch, which should put the actual NNTP
error in the Subject line of the e-mails, and tell me what it is?

--- HELLO.in~	Tue Nov 21 04:19:35 2000
+++ HELLO.in	Sat May 19 19:54:57 2001
@@ -101,7 +101,7 @@
   if [ "x$CODE" != x240 ]; then
     rmcr <$art;
     # XXX Problem with LOGNAME if snget started by pppd
-    mail -s 'Posting failed' ${NEWSMASTER:-${LOGNAME:-!!DEFAULT_ADMIN_EMAIL!!}} <$tmp ||
+    mail -s "Posting failed ($CODE $SAID)" ${NEWSMASTER:-${LOGNAME:-!!DEFAULT_ADMIN_EMAIL!!}} <$tmp ||
       end "Can't run mail"
   fi
   rm -f $art


  - Patrik

PS. For your procmailing convenience, this mailing list now has an
RFC2919-compliant List-Id header. Enjoy. :)

-- 
  Patrik Rådman  ·  patrik at iki dot fi  ·  http://www.iki.fi/patrik/
  "We're not in the past or the present anymore.  This is the future!"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.