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)

john_rsd 07-02-2004 12:17 AM

Quote:

Originally Posted by KevinM
I will update it when Lierduh makes an 'official' release.

Cool :cool:

Thanks

alesis404 07-02-2004 05:54 AM

Quote:

Originally Posted by lierduh
Have you tried the script I posted in last page?

Lierduh are you referring to post #297 of this thread? If so do i just upload the new gateway.php and this will stop the attachments or will stop the errors?

john_rsd 07-04-2004 12:17 AM

lierduh

I am still having trouble with the new gateway.php script with file attachments.

How aware is the script about which type of attachment it is?

The forum has no file upload permissions. So I tested this by emailing the account which is used for gateway with a big file and it crashed (I suspect timeouts)

So i send it a very small file to test this theory, it was a small zip file only 36kB and instead of dropping the attachment as it should, it inserted it as text below the final characters of the message, see screenshot atatched.

Anything you need me to do for you to trap what is going on?

chopperp1 07-06-2004 02:42 PM

Quote:

Originally Posted by lierduh
With pop.php file, please find:

$this->_write("USER $this->username");

and insert the following line before that:

echo "=========USER Name: " . $this->username . " ==========";

This will show the user name entered by the script. I want to confirm if the right username is used by the script at this stage.

Also with gateway.php, find:

$pop_connect = $pop3->connect();

and add the following line after this:

logging($pop3->showlog());

This will show the entire pop3 connection log. No fix at this stage, just need to find out the reason behind this first.

Sorry for late response, I was away for few days.
Here's what I got after adding those lines
"...pop3 gateway

Gateway version 2.1.0 1 group(s) gatewayed. =========USER Name: yamner\******==========+OK Microsoft Exchange 2000 POP3 server version 6.0.6249.0 (dl360mail3.yamner.com) ready. USER yamner\****** -ERR Protocol error. Bad User Name!Retrieving Protocol E-mails from the '209.178.209.17' pop3 server ..."

I had to hide a user name, but real log shows correct one. Also, as you can see, this time I used external IP for pop server - different isp than board is hosting on...

trackpads 07-06-2004 06:00 PM

What is the maximum characters that we can put in the Killfile exclude field? I think I ran out already, is there a way to expand it?

Thanks again!

-Jason

kall 07-07-2004 07:40 AM

Whoooops.

When upgrading to 3.0.2, don't forget that the script will repost all of the threads already in your selected forum.

*starts composing apology emails*

KevinM 07-07-2004 09:44 AM

Quote:

Originally Posted by trackpads
What is the maximum characters that we can put in the Killfile exclude field? I think I ran out already, is there a way to expand it?

It's limited to 128 characters (which is what the original scripts default settings are), and, like yourself I found it too small.

Run the following sql query and you can have up to 64000 characters (give or take!)

PHP Code:

ALTER TABLE `nntp_settingsCHANGE `value` `valueMEDIUMTEXT DEFAULT NULL  

It's possible that in future upgrades of gateway.php the script may revert back to the original settings (as it auto-installs), so if there are any future gateway updates that you install you will have to run this query again after installing (and keep a copy of what's in the killfile beforehand as this may be erased).

kall 07-07-2004 10:12 AM

And here's what one nice person told me:

Quote:

News has a well-defined protocol (NNTP - RFC977 etc) and if you have a program which retrieves and/or send articles then it should retain the very important "Message-ID" header which each article contains. Then if it accidentally tried to post an old article it would get rejected because of the conflicting Message-ID (unique for each article). Otherwise it would generate a unique Message-ID for a new article and present it with the "IHAVE" nntp command.
*sighs*

AWS 07-07-2004 10:18 PM

Quote:

Originally Posted by kall
Whoooops.

When upgrading to 3.0.2, don't forget that the script will repost all of the threads already in your selected forum.

*starts composing apology emails*

Are you saying when you upgraded to 3.0.2 the gateway script sent all your posts to usenet from the usenet forums?

How can this happen?
You have to run gateway.php to upload new posts and it has the message id already set so duplicates shouldn't be uploaded. The only way I can see this happening is if the upgrade to 3.0.2 made all posts look as new posts or somehow the upgrade lost all id numbers in the db.

kall 07-07-2004 10:22 PM

Quote:

Originally Posted by AWS
The only way I can see this happening is if the upgrade to 3.0.2 made all posts look as new posts or somehow the upgrade lost all id numbers in the db.

*nods*

That's what happened, because I ended up doing the upgrade by installing afresh and importing all of the posts etc using Impex..obviously losing the columns that denoted the threads as being 'old'.


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.01515 seconds
  • Memory Usage 1,751KB
  • 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_php_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