Re: Strange problem when posting via news.gmane.org
Chris Green <[email protected]> Thu, 21 Mar 2013 10:44:52 +0000
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <20130321104451.GA31977@chris> |
On Thu, Mar 21, 2013 at 10:58:10AM +0100, Urs Jan=DFen wrote: > On Thu, Mar 21, 2013 at 09:41:31AM +0000, Chris Green wrote: > > Characteristics: > > +DEBUG +NNTP_ABLE -NO_POSTING -BROKEN_LISTGROUP +XHDR_XRE= F >=20 > fine, tin is compiled with debugging support enabled so you can > use "tin -D 1" (if you are on a multiuser system you may want to set $T= MPDIR > to a safe location first, see tin(1) "SECURITY") to capture the full NN= TP > dialog. Try to post to a group where the posting fails and send the > generated logfile to me, so I can see if the required headers are passe= d to > the server or not. Be aware the the log may hold your username/password= for > the news server if the server requires authentication or you force tin = to > alway send authentication data -> look for lines with AUTHINFO in them = and > strip them from the generated NNTP file first. >=20 I don't think the problem is with posting to the newsserver, here's the relevant part of the tin log:- nntp_command(LISTGROUP gmane.org.clubs.dba.bargelife) OK setup_hard_base(LISTGROUP gmane.org.clubs.dba.bargelife) nntp_command(OVER 604-613) >>> [10:05:24.738412] OVER 604-613 <<< [10:05:24.846602] 224 Overview information for 604-613 follows nntp_command(OVER 604-613) OK nntp_command(ARTICLE 602) >>> [10:05:29.079323] ARTICLE 602 <<< [10:05:30.012786] 220 602 <[email protected]= > article nntp_command(ARTICLE 602) OK nntp_command(ARTICLE 603) >>> [10:05:35.674275] ARTICLE 603 <<< [10:05:35.901011] 220 603 <[email protected]= > article nntp_command(ARTICLE 603) OK nntp_command(ARTICLE 605) >>> [10:05:36.799401] ARTICLE 605 <<< [10:05:37.464502] 220 605 <[email protected]= > article nntp_command(ARTICLE 605) OK nntp_command(POST) >>> [10:06:10.929393] POST <<< [10:06:11.862543] 340 Ok, recommended message-ID <[email protected]= ane.org> nntp_command(POST) OK >>> [10:06:11.862679] Path: not-for-mail >>> [10:06:11.862711] Message-ID: <[email protected]> >>> [10:06:11.862808] Cancel-Lock: sha1:/k5t2HqOu72oRJPt1jhOKam+V5I=3D >>> [10:06:11.862853] From: [email protected] >>> [10:06:11.862888] Subject: Attempt another post using tin >>> [10:06:11.862920] Newsgroups: gmane.org.clubs.dba.bargelife >>> [10:06:11.862952] User-Agent: tin/2.1.1-20120623 ("Mulindry") (UNIX) = (Linux/3.5.0-25-generic (x> >>> [10:06:11.862985] >>> [10:06:11.863020] This is a test with tin's debug turned on >>> [10:06:11.863052] >>> [10:06:11.863083] >>> [10:06:11.863114] -- =20 >>> [10:06:11.863145] Chris Green >>> [10:06:11.863178] .^M =20 <<< [10:06:12.995709] 240 Article received (mailed to moderator) nntp_close() END nntp_command(QUIT) >>> [10:06:17.907402] QUIT <<< [10:06:18.503060] 205 Bye! nntp_command(QUIT) OK ... and here's one that works (using thunderbird):- 0) Next state: SEND_FIRST_NNTP_COMMAND -82385088[7fa2f9e15480]: (7fa2cf033c00) Sending: POST^M -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: NNTP_RESPONSE -82385088[7fa2f9e15480]: (7fa2cf033c00) Receiving: 340 Ok, recommended me= ssage-ID <kient9$f9i$1@ger> -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: SEND_FIRST_NNTP_COMMA= ND_RESPONSE -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: SETUP_NEWS_STREAM -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: NNTP_SEND_POST_DATA -82385088[7fa2f9e15480]: (7fa2cf033c00) nsNNTPProtocol::PostData() -82385088[7fa2f9e15480]: (7fa2cf033c00) Sending: Date: Thu, 21 Mar 2013 1= 0:37:33 +0000^M From: Chris Green <[email protected]>^M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thund= erbird/17.0.4^M MIME-Version: 1.0^M Newsgroups: gmane.org.clubs.dba.bargelife^M Subject: Re: Yet another test^M References: <[email protected]>^M In-Reply-To: <[email protected]>^M Content-Type: text/plain; charset=3DUTF-8; format=3Dflowed^M Content-Transfer-Encoding: 7bit^M ^M On 20/03/13 18:57, DBA Forum (BL) - Bill Cooper wrote:^M > What is a newsgroup interface? How does it rate under Leveson?^M > Is there any reason for it (is William of Occam relevant?)^M > Should I ignore it, or is it a valuable membership asset.^M ^M Well for Adrian and I it's the best interface, the simplicity and low ^M bandwidth of E-Mail with forum-like ability to show message threads etc.^M ^M -- ^M Chris Green^M ^M ^M -82385088[7fa2f9e15480]: (7fa2cf033c00) Sending: .^M -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: NNTP_RESPONSE -82385088[7fa2f9e15480]: (7fa2cf033c00) Receiving: 240 Article received (= mailed to moderator) -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: NNTP_SEND_POST_DATA_R= ESPONSE -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: NEWS_POST_DONE -82385088[7fa2f9e15480]: (7fa2cf033c00) NEWS_POST_DONE -82385088[7fa2f9e15480]: (7fa2cf033c00) Next state: NEWS_FREE -82385088[7fa2f9e15480]: (7fa2cf033c00) CleanupAfterRunningUrl() -82385088[7fa2f9e15480]: (7fa2cf033c00) setting busy to 0 -82385088[7fa2f9e15480]: (7fa2cf033c00) ClosingConnection -82385088[7fa2f9e15480]: (7fa2cf033c00) Sending: QUIT^M -82385088[7fa2f9e15480]: (7fa2cf033c00) ClosingSocket() -82385088[7fa2f9e15480]: (7fa2cf033c00) CleanupAfterRunningUrl() -82385088[7fa2f9e15480]: (7fa2cf033c00) setting busy to 0 -82385088[7fa2f9e15480]: (7fa2cf033c00) ClosingSocket() -82385088[7fa2f9e15480]: (7fa2cf033c00) CleanupAfterRunningUrl() -82385088[7fa2f9e15480]: (7fa2cf033c00) setting busy to 0 I'm pretty certain the problem is that the DBA site isn't handling the LF only line endings from tin. Is there a way to tell tin to send using CRLF? --=20 Chris Green