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)

lierduh 06-30-2004 12:02 AM

Quote:

Originally Posted by john_rsd
After looking at the messages retreived from the pop3 mailbox on a different account to the one used for gatweway.php i noticed that there was a few messages originally in HTML and with gif as attachments.

Could the above error be an issue with trying to insert the attachment?

Attachments are usually frowned upon on mailing lists which is why I failed to notice it when making my last post.

Is there a quick fix to simply drop attachments completely?

Are you using the original gateway.php or you have installed Kevin's mini-hacks? Not easy to find the problem if we are not taling about the same script. Kevin has re-written the attachment routine which I will include with next version.

alesis404 06-30-2004 05:52 AM

Hello, in the read me you mention to change this in the "nav" template if you would like usenet posts from not showing up in new postings

Code:

Find:
<td class="vbmenu_control"><a
href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a></td>

Change it to:

<td class="vbmenu_control"><a
href="search.php?$session[sessionurl]do=getnew&exclude=22,23,24,25,26,27">$vbphrase[new_posts]</a></td>

I have searched my *nav* template and the closet match looks like this

Code:

<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
*Perhaps my templates are newer than when this was released? Can someone please confirm if the code for editing "nav" template has indeed changed ,thanks.

john_rsd 06-30-2004 07:12 AM

Quote:

Originally Posted by lierduh
Are you using the original gateway.php or you have installed Kevin's mini-hacks? Not easy to find the problem if we are not taling about the same script. Kevin has re-written the attachment routine which I will include with next version.

Sorry for missing information .

I used the original gateway.php from the first post.

I added Kevins mod for thread by subject. The forum is a test one so does not have users accessing at same time as script runs. Script was run directly from browser, the forums only content is the messages imported from the mailing list. Max 20 messages per day, max 10-15 messges per batch.

lierduh 06-30-2004 10:34 AM

Quote:

Originally Posted by alesis404
Hello, in the read me you mention to change this in the "nav" template if you would like usenet posts from not showing up in new postings



Code:

<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
*Perhaps my templates are newer than when this was released? Can someone please confirm if the code for editing "nav" template has indeed changed ,thanks.

This is the right one. It used to be "new_posts", the latest vB3 has changed to "new_posts_nav".

alesis404 06-30-2004 10:40 AM

Thank's lierduh!

chopperp1 06-30-2004 11:55 AM

Thanks for quick reply.
I already tried telnet from webserver- no problems. I used FQDN because we host our internal dns servers, anyway I get same error when I specify by IP.
__________________________________________________ _________________
+OK Microsoft Exchange 2000 POP3 server version 6.0.6249.0 (dl360mail3.yamner.co
m) ready.
+OK
+OK User successfully logged on.
+OK 21 32830
__________________________________________________ __________________

Is there anything else I should look for?
Thx

lierduh 06-30-2004 12:30 PM

Quote:

Originally Posted by john_rsd
Sorry for missing information .

I used the original gateway.php from the first post.

I added Kevins mod for thread by subject. The forum is a test one so does not have users accessing at same time as script runs. Script was run directly from browser, the forums only content is the messages imported from the mailing list. Max 20 messages per day, max 10-15 messges per batch.

I have merged KevinM's attachment routine into the gateway.php. Please try out.

You now need to run

http://forums.yourdomain.com/gateway.php?debug=1

Without the debug=1, the script won't output anything on the screen.

lierduh 06-30-2004 12:37 PM

Quote:

Originally Posted by chopperp1
Thanks for quick reply.
I already tried telnet from webserver- no problems. I used FQDN because we host our internal dns servers, anyway I get same error when I specify by IP.
__________________________________________________ _________________
+OK Microsoft Exchange 2000 POP3 server version 6.0.6249.0 (dl360mail3.yamner.co
m) ready.
+OK
+OK User successfully logged on.
+OK 21 32830
__________________________________________________ __________________

Is there anything else I should look for?
Thx

Please include the exact letters you typed during the telnet session and the response the server returned.

chopperp1 06-30-2004 12:50 PM

Quote:

Originally Posted by lierduh
Please include the exact letters you typed during the telnet session and the response the server returned.

+OK Microsoft Exchange 2000 POP3 server version 6.0.6249.0 (dl360mail3.yamner.co
m) ready.
+OK
USER <domain>\<user>
PASS <password>
+OK User successfully logged on.
+OK 21 32830

I also tried forward slash or user@domain.com - didn't work

lierduh 06-30-2004 01:04 PM

Quote:

Originally Posted by chopperp1
+OK Microsoft Exchange 2000 POP3 server version 6.0.6249.0 (dl360mail3.yamner.co
m) ready.
+OK
USER <domain>\<user>
PASS <password>
+OK User successfully logged on.
+OK 21 32830

I also tried forward slash or user@domain.com - didn't work

How long is <domain>\<user> ?

The user name field is limited to 32 characters. If you need longer, you can modify the database to increase the char length.

If you can access the DB directly, eg. using phpmyadmin, check what exactly is stored in the DB for the user name.

Looks like it is either the length or the "\" causing the issue.


All times are GMT. The time now is 10:50 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.01909 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)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