Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Howto: Enable SMTP for vB 3.0.2/3
Zachery's Avatar
Zachery
Join Date: Jul 2002
Posts: 11,440

 

Ontario, Canada
Show Printable Version Email this Page Subscription
Zachery Zachery is offline 07-16-2004, 10:00 PM

I am putting this in here once it has been confirmed working ill ask it to be moved.

I offer no support, enabling SMTP will be considered hacking, thus why it is here.

Thanks to Chris on the vB team for the help :0
Attached Files
File Type: txt smtp.txt (691 Bytes, 697 views)
Reply With Quote
  #102  
Old 11-29-2005, 07:12 PM
code-frog's Avatar
code-frog code-frog is offline
 
Join Date: Oct 2004
Location: Boise, ID
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MyIS_Jordan
My mail server requires Authentication too. Server is linux fedora core 3 (i think).
Do you buy chance know which mail server you are using and if it's configured properly to receive relay requests?

What type of server is vBulletin running on?

I've built up 3 new Windows 2003 servers and 2 Linux servers for clients (not my licenses for vB but client licenses) and it's worked like a charm.

Can you relay to this server using Outlook for example?

I'll try to help best I can... This is a rather mysterious issue though...
Reply With Quote
  #103  
Old 11-29-2005, 07:20 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind!

I fixed it!

I looked at the forum of a friend who has the fix working. I looked at his files, tried something and it worked.

Here's what i did:

Code:
In functions.php

Find:

if (true) // will eventually use $vboptions to determine this

Change To:

if (false) // will eventually use $vboptions to determine this
I know the instructions of the smtp fix say it should be the other way around, but this worked for me (and my friends forum which has extremely heavy traffic).
Reply With Quote
  #104  
Old 11-29-2005, 07:37 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MyIS_Jordan
Nevermind!

I fixed it!

I looked at the forum of a friend who has the fix working. I looked at his files, tried something and it worked.

Here's what i did:

Code:
In functions.php

Find:

if (true) // will eventually use $vboptions to determine this

Change To:

if (false) // will eventually use $vboptions to determine this
I know the instructions of the smtp fix say it should be the other way around, but this worked for me (and my friends forum which has extremely heavy traffic).
Could just upgrade to 3.5
Reply With Quote
  #105  
Old 11-29-2005, 08:14 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not going to happen.

My forum is hacked to death (90+ hacks), and unless all those hacks are ported over to 3.5, i wont upgrade.
Reply With Quote
  #106  
Old 11-29-2005, 08:50 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd hate to be your webhost.
Reply With Quote
  #107  
Old 11-30-2005, 03:22 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why?

The forum isint that slow, its not slower than phpbb. Also 70% of the hacks i installed are administrative/optimization.
Reply With Quote
  #108  
Old 06-12-2008, 04:43 PM
GrowReport's Avatar
GrowReport GrowReport is offline
 
Join Date: Jan 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work for 3.7?

The terms you say to look for are not part of the functions.php in that version.

mail.php is class_mail.php in my new version.

is it safe to assume that those are the same pages just different names? the code was in the mail page and I could modify as described.

But for the function.php page there was nothing like what everyone says to search for?

"if (false) // will eventually use $vboptions to determine this" This search phrase is not in functions.php

Anyone know what the phrase was changed to?
Reply With Quote
  #109  
Old 06-12-2008, 05:57 PM
ALcorn ALcorn is offline
 
Join Date: Oct 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrowReport View Post
will this work for 3.7?
Why do you need this hack? vBulletin v.3.7.x support SMTP natively.
Reply With Quote
  #110  
Old 06-12-2008, 06:10 PM
GrowReport's Avatar
GrowReport GrowReport is offline
 
Join Date: Jan 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ALcorn View Post
Why do you need this hack? vBulletin v.3.7.x support SMTP natively.

I was looking for something that worked.

because it's not working right now.

I get this error message:
"Warning: 501 Unexpected response from SMTP server during FROM address transmission in [path]/includes/class_mail.php on line 586"

--------------- Added [DATE]1213297902[/DATE] at [TIME]1213297902[/TIME] ---------------

I get that from the Diagnostics under Maintance to test SMTP.

I know the settings are correct because my Outlook can connect with the same settings and send mail.
Reply With Quote
  #111  
Old 06-12-2008, 06:25 PM
ALcorn ALcorn is offline
 
Join Date: Oct 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GrowReport, why not posting your question to the official VB support?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09178 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete