vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

KevinM 06-24-2004 09:39 PM

Quote:

Originally Posted by john_rsd
Kevin
So in order for the threading function to be initiated it checks the first chars of the subject feild for matches on 'RE' ? Then parses an subject index for a match?

The primary method of matching threads is by a reference number which is inthe headers of newsgroup posts and emails. This was written by Lierduh and is highly effective. All newsgroups thread pretty much perfectly just by this method.

Some mail groups (my personal experience is with Yahoo groups) do not reliably put the reference number in the header of the email, therefore I wrote a secondary check (case insensitive!) which checks again before starting a new thread. The "Re: " can appear anywhere in the subject title.

If you really, really have problems, you can find in the script where it searches for "Re: " and change it to "", and it will search every post that comes through for a subject match. This WILL slow things down, and will also match a thread from (say) 3 years ago if it has the same title. This is completely untested (and not recommended) as the basic threading will pick up most of them.

Quote:

Originally Posted by john_rsd
BTW, thanks for this really cool mod

Lierduh cooked the Sunday roast, I just made some gravy :cheeky:

john_rsd 06-24-2004 10:09 PM

Thanks Kevin

I undestand a little better now, so ill dig deeper.

the source of the list is a private server using Lyris, its not yahoo or anything like that.

I might try using"" as this list server only has 50 or so posts a day so is never busy enough to slow the server down.

Also if using "" it should only d/l message that are in the pop3 box so it might not cause a flood.

The roast and the gravy make a fine combo mate, sweet :)

john_rsd 06-24-2004 10:39 PM

Oh nuts

Just seen the glitch again

This time i ran the script directly

Quote:

Gateway version 2.1.0 1 group(s) gatewayed.
Successfully connected to the 'mail.proteluser.com' pop3 server
Retrieving 4 E-mails from the 'mail.proteluser.com' pop3 server
Getting message number 1:
'Re: [dxp] OT: Differential Stripline Impedance' from Ian Wilson. New thread.
But this was a reply to an earlier one and has Re in it

Header from first messsage/thread

Quote:

Return-Path: <bounce-dxp-3338@forums.altium.com>
Delivered-To: rsdtvcom-john@rsdtv.com
Received: (qmail 97607 invoked from network); 24 Jun 2004 17:25:39 -0000
Received: from unknown (HELO 203.10.94.132) (203.213.65.162)
by host109.ipowerweb.com with SMTP; 24 Jun 2004 17:25:39 -0000
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: [dxp] OT: Differential Stripline Impedance
Date: Thu, 24 Jun 2004 18:18:34 +0100
Message-ID: <LYRIS-3338-45721-2004.06.25-03.13.39--john#rsdtv.com@forums.altium.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: OT: Differential Stripline Impedance
Thread-Index: AcRaEGUknFNjWsP/Qper0ZkkCMrRLA==
From: "Jason Morgan" <jason.morgan@citel.com>
To: "DXP Technical Forum" <dxp@forums.altium.com>
List-Unsubscribe: <mailto:leave-dxp-3338F@forums.altium.com>
Reply-To: "DXP Technical Forum" <dxp@forums.altium.com>
Header from reply messsage

Quote:

Return-Path: <bounce-dxp-3338@forums.altium.com>
Delivered-To: rsdtvcom-john@rsdtv.com
Received: (qmail 69724 invoked from network); 24 Jun 2004 23:30:20 -0000
Received: from unknown (HELO 203.10.94.132) (203.213.65.162)
by host109.ipowerweb.com with SMTP; 24 Jun 2004 23:30:20 -0000
Message-Id: <LYRIS-3338-45752-2004.06.25-09.17.27--john#rsdtv.com@forums.altium.com>
X-Sender: i.wilson@considered.com.au@mail.considered.com.au@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 25 Jun 2004 09:25:28 +1000
To: "DXP Technical Forum" <dxp@forums.altium.com>
From: Ian Wilson <i.wilson@considered.com.au>
Subject: Re: [dxp] OT: Differential Stripline Impedance
In-Reply-To: <LYRIS-395-45721-2004.06.25-03.13.39--i.wilson#considered.c
om.au@forums.altium.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
List-Unsubscribe: <mailto:leave-dxp-3338F@forums.altium.com>
Reply-To: "DXP Technical Forum" <dxp@forums.altium.com>
Is this because the Message ID is different? Or is the filter being confused between ID's in the reply and only seeing the first one (different) and not the second one (match)

John

vprp 06-24-2004 11:02 PM

When I run gateway.php, I get the message:

Gateway version 2.1.0 1 group(s) gatewayed.
Could not connect to NNTP-serverNot connectedNot connected

What's the problem?

I am trying to do this for the newsgroup rec.sport.golf

Princeton 06-24-2004 11:48 PM

Quote:

Originally Posted by vprp
When I run gateway.php, I get the message:

Gateway version 2.1.0 1 group(s) gatewayed.
Could not connect to NNTP-serverNot connectedNot connected

What's the problem?

I am trying to do this for the newsgroup rec.sport.golf

you are not allowed to access newsgroup via script or you have settings wrong (username/password if required).

I remommend you do a test first.
Use-------
- msnews.microsoft.com as SERVER
- microsoft.public.security as NEWSGROUP

NOTE: add 58700 as LAST MESSAGE or check the XREF # in header of last message found in usergroup.

vprp 06-24-2004 11:50 PM

I tried that microsoft newsgroup and i got the same message. should i try to reinstall?

Princeton 06-24-2004 11:52 PM

I still get the message.
And ... yes, I am using the code posted on that POST.

Would you care to see the file?
I've made some "visual/html" modifcations to the file ... however, everything is clearly marked where the changes have been made (your mini-hacks , etc,)

Princeton 06-24-2004 11:53 PM

Quote:

Originally Posted by vprp
I tried that microsoft newsgroup and i got the same message. should i try to reinstall?

yes, start from scratch ... make sure you read the instructions carefully

john_rsd 06-25-2004 02:15 PM

Anyone else using email delivery method and found problems with the script crashing?

I have been sending most things I could think of at the script and it has crashed twice, big time.

The first time was when a message was forwarded to the lists, the forward contained multiple forwarded messages and no subject. In this case the first message was part entered into the database (with no subject filled in) but nothing on the rest.

The second time was when a message was sent to the lists with no subject, perhaps it was still recovering from the first crash.

I might go back and try the nntp feed instead of email.

Imhotep 06-27-2004 02:01 AM

:ermm: My forums stopped grabbing new Usenet messages on 6/21. I'm trying to finger out exactly where the log jam has occured. My cron job is still going off like clockwork.

This is the entire content of my cron results minus the header garbage.

Code:

Gateway version 2.1.0  4 group(s) gatewayed.

Connecting to server, server says: 200 News.GigaNews.Com

Server responded after user name: 381 more authentication required

Server responded after password: 281 News.GigaNews.Com

Info for comp.graphics.apps.lightwave at news-40.giganews.com:
211 12589 237200 249788 comp.graphics.apps.lightwave

Getting message number 249690:


Any ideas as to what is happening? It looks like it only hits one group... then stops. ? :ermm:


All times are GMT. The time now is 10:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02479 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete