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)

trackpads 06-10-2004 12:05 PM

When I run the Gateway.php file via telnet I keep getting this error-


Quote:

Gateway version 2.1.0 13 group(s) gatewayed.

Connecting to server, server says: 200 Randori News http://www.randori.com (Tornado v1.0.5)

Server responded after user name: 381 More Authentication Required

Server responded after password: 281 Authentication Accepted

Info for alt.military at news.randori.com:
211 11542 235125 251459 alt.military

Getting message number 235431:
Segmentation fault
It has run a few times but it fails, is there something I should check?

Thanks again for all the work,

-Jason

lierduh 06-11-2004 01:14 AM

Quote:

Originally Posted by trackpads
When I run the Gateway.php file via telnet I keep getting this error-




It has run a few times but it fails, is there something I should check?

Thanks again for all the work,

-Jason

How do you run gateway.php? by a lynx session or your php is running as cgi?
If your php is running as cgi, what version? I remember reading somewhere about problems with php running as cgi. The newer version of php fixes that.

Also check your web error log.

trackpads 06-11-2004 01:35 AM

I have the latest PHP and its not running as CGI for sure. I have tried both, via telnet and with the browser. I didnt want to put it into cron until I got the messages downloaded for the first time.

If I run it via shell it will tell me about the segmentation error, if I run it via the browser it just says that its getting message # 231456 and then quits.

Thanks again for all of the help!!!!!!

-Jason

P.s. Great hack!

lierduh 06-11-2004 01:48 AM

Quote:

Originally Posted by trackpads
I have the latest PHP and its not running as CGI for sure. I have tried both, via telnet and with the browser. I didnt want to put it into cron until I got the messages downloaded for the first time.

If I run it via shell it will tell me about the segmentation error, if I run it via the browser it just says that its getting message # 231456 and then quits.

Thanks again for all of the help!!!!!!

-Jason

P.s. Great hack!

segmentation error is memory related. If you can control php.ini, check the memory_limit setting. The default is 8MB. vB3 often gives error with 8MB. Up it to 16 is a must for vB3. It is also possible the #231456 message has a large attachment.

You can always manually change the lastmsgid in the control panel to be higher than 231456, so that it will bypass this article and only get the aritcles with higher message id.

trackpads 06-11-2004 07:57 AM

Thanks! It was that message I think. I had it skip that one and now it is working.

Thanks!!!!!

-Jason

BustaCap 06-12-2004 07:10 PM

Looking at the header of my outgoing messages, I see that my email address is being scrambled by adding several characters to the end of my name (eg, BustaCap.17laj@site.com). Also, the domain is wrong too (as per the "email address domain in the NNTP Gateway settings). This is great for posts going to newsgroups, but it is preventing me from sending posts to email lists that require a confirmed email address.

Would it be possible to keep the option of scrambling the email address for posts going to newsgroups but allowing for propper email addresses to go out to email lists? If both options aren't possible, perhaps just the ability to have a proper email address go out.

Thanks,
BC

Marv 06-12-2004 10:28 PM

First of all I?ve gotta say, thank you.
The hack is running without any problems and the installation went like a charme. So far, so good..

But now I?ve got some serious problems with other things. I?m living and running my site here in germany and the newsgroups we want to im- and export the postings to/from need correct headers so that outgoing postings to ng?s are available on the newsserver. These are restrictions we simply have to obey.

What am I asking for ?
By now the headers of forum to newsserver-postings are loking like this:

Quote:

From: Marv <marv.17reqy@usenet.xxx.de>
Newsgroups: de.just.another.newsgroup
Subject: Another posting
Date: Sun, 13 Jun 2004 00:41:09 +0200
Organization: http://www.xxx.de
Lines: 13
Message-ID: <marv.17reqy@usenet.xxx.de>
X-Trace: news.t-online.de nBvEcr5K7cscegZwMIQyfAm1Tzv5/YBpPbMRd52RdGRKaKp4VT
User-Agent: vBulletin USENET gateway
X-Newsreader: vBulletin USENET gateway
X-Originating-IP: 2xx.xxx.xx.xx
Xref: news.t-online.com de.test:578574
To have our postings showing up in our target newsgroup we are forced to complete the headers with the statements:

Quote:

Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
so that endusers and checkbots read the complete header
similiar like this one:
Quote:

From: Skuld Article Checker <checkbot@ds9.gnuu.de>
Newsgroups: de.just.another.newsgroup
Subject: Re: Another posting
Date: Sat, 12 Jun 2004 15:48:01 GMT
Organization: Goddess Newsfeed
Lines: 44
Sender: <checkbot-owner@ds9.gnuu.de>
Message-ID: <caf88i$rh2$03$1%news.t-online.com@checkbot.fqdn.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

X-Complaints-To: abuse@ds9.argh.org
Xref: news.t-online.com de.test:426397
Would be very important for us (and 2000+ others on our site) that someone could write this into this hack or could show us, how to fix that problem in another way. Has anyone an idea?

Regards & TIA,
Marv.

trackpads 06-13-2004 01:25 AM

Has anyone seriously given more thought to the Filter idea? I would love to get that on my site since I primarily want the military realted newsgroups but not all the anti-bush spam that ruins them.

Thanks alot for the hard work,

-Jason

lierduh 06-13-2004 03:10 AM

Quote:

Originally Posted by BustaCap
Looking at the header of my outgoing messages, I see that my email address is being scrambled by adding several characters to the end of my name (eg, BustaCap.17laj@site.com). Also, the domain is wrong too (as per the "email address domain in the NNTP Gateway settings). This is great for posts going to newsgroups, but it is preventing me from sending posts to email lists that require a confirmed email address.

Would it be possible to keep the option of scrambling the email address for posts going to newsgroups but allowing for propper email addresses to go out to email lists? If both options aren't possible, perhaps just the ability to have a proper email address go out.

Thanks,
BC

It is simple to fetch the real email address from the user table, but remember every forum user can post yet unlikely everyone of them have subscribed to the list. You naturally do not want other people to post under your email address to the list.

lierduh 06-13-2004 03:23 AM

Quote:

Originally Posted by Marv

Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Marv.

Find $newthread['postdateline']).

Insert these lines after that:

"\r\nMime-Version: 1.0\r\n" .
"Content-Type: text/plain; charset=ISO-8859-1\r\n" .
"Content-Transfer-Encoding: 8bit" .

should work although not tested. I must say it is quite strange that you need to have these to be able to post to the ng.


All times are GMT. The time now is 06:36 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.01774 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)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