Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN Security Issues
Author Message
rystan
New Member
New Member



Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Tue Apr 14, 2009 5:49 pm Reply with quote

On a relatively fresh install of RN (latest version available as of last week) when setting up the forums to send email you cannot use a smtp server and have it work.

I have created a send-only email account on my server, I input the host/username/password and enable smtp. I setup a small test group (3 users max) to test email functionality. I send a email to this group, and the the page blanks, nothing reaches my smtp server (monitoring logs realtime).

However if I remove the smtp YES, and just allow it to use the local sendmail function, it sends emails off just fine. of course from apache, which is a no no. (verfied through view source).

I don't think email should be sent from the site without being authenticated against a real user.

This self-same setup works perfectly on my old BonusNuke website.

Any Suggestions?

I will turn on debugging and see if anything pops up as well.
 
View user's profile Send private message
rystan







PostPosted: Tue Apr 14, 2009 6:11 pm Reply with quote

My god,

Never attempt to troubleshoot an smtp issue after 30+ hours without sleep.

Found the issue, it resides in /modules/Forums/includes/emailer.php

for some reason it requires the full path name (starting at /) to see the friggin smtp.php file.

I tried fixing it without using the full path name.. but it wouldn't take. this is the workaround I guess.

Blank mass mail page when sending via smtp:

line 207 of /modules/Forums/includes/emailer.php

find:
Code:


                        if ( !defined('SMTP_INCLUDED') )
                        {
                                include_once("modules/Forums/includes/smtp.php");
                        }

replace:

("modules/Forums/includes/smtp.php")

with your full path name

ie. ("/var/www/html/modules/Forums/includes/smtp.php")

sorry windows users, You're on your own on figuring out the full path name MS style.

Thank you for your time.
Rystan

"You are too encumbered to move!

Got to thinking. Would this be more of a php/pear setting issue?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN Security Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©