Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
angloswede
Hangin' Around



Joined: Feb 10, 2007
Posts: 27

PostPosted: Wed Dec 05, 2007 10:04 am Reply with quote

Hi,
After some time of having the e-mail fuction disabled, I thought I'd better get round to fixing it Embarassed
The problem I have is that I can't send activation mails etc.

I'm running my own setup. Linux Fedora Core 8, LAMMP (XAMMP), RavenNuke 2.10.01, Nuke Sentinel 2.5.14, Axigen Mail Server.

Basically I need to get Axigen and the web server to work together?
Axigen works fine - sorted that out this morning.

Within the php.ini file:
For Unix only. You may supply arguments as well (default: "sendmail -t -i).
sendmail_path = /opt/axigen/bin/sendmail -t -i

I tested the sendmail link first to make sure it worked.
I created a text file with some basic headers and had sendmail send it.

test.txt containing...
Code:
From: [ Only registered users can see links on this board! Get registered or login! ]
To: [ Only registered users can see links on this board! Get registered or login! ]
Subject: Test message
This is a test message

Then I send it via the sendmail command.
Code:
/opt/axigen/bin/sendmail -t < test.txt

All was well.
Where am I going wrong?
This is what I have for configuration settings:

Image

Sorry for the long post
Thanks
Mark
 
View user's profile Send private message
xblader
Client



Joined: Aug 17, 2006
Posts: 28

PostPosted: Wed Dec 05, 2007 10:35 am Reply with quote

Activition e-mails can be sent without the SMTP settings being enabled within the phpbb admin area, the problem you are most likley having is that your mail server is not configured properly. You should have httpd, sendmail and php installed with Fedora core as default so you should not also need LAMMP.

The best thing i can suggest without looking at your server is to check the error logs for the site, you should find them in the following directory. /var/log/httpd/error_log
 
View user's profile Send private message
angloswede







PostPosted: Wed Dec 05, 2007 10:45 am Reply with quote

Hi xblader
Thanks for your reply.
I had to uninstall sendmail because there where running issues with axigen (uses the same port, unable to boot up on start up).
The reason I used XAMMP was because it's an Apache distribution containing MySQL, PHP and Perl, plus it is so easy to setup and use.

I have tried just now to send e-mails without the SMPT settings being enabled - no joy.

After trawling through the error log, I found the following:
sh: /usr/sbin/sendmail: No such file or directory

No wonder, the path to the sendmail is:
/opt/axigen/bin/sendmail

I edited the mail.php located in /opt/lampp/lib/php
Are there any such files within the RavenNuke folders that I need to edit as well (trying to search through them all now)?

Thanks
Mark
 
xblader







PostPosted: Thu Dec 06, 2007 9:01 am Reply with quote

the other thing i can suggest is to setup a simple mail form with PHP, then if the e-mail does not get sent to that address look at the httpd error logs and see what error it has given you, also the arguments for axigen mail server may not be the same as sendmail arguments. Have you tried it without arguments?
 
angloswede







PostPosted: Fri Jan 04, 2008 2:59 am Reply with quote

I looked through the error logs and it all relates to my ISP.
My ISP refuses to 'relay' messages
I have contacted them and their response is a simple 'tough, hard luck' (& a happy new year to you as well I thought.....)
Apparently quite a few Swedish ISP's do this.

On the same computer I have a seperate partition with windows xp installed running Xampp, as another test bed. When I edit the mail settings I am able to use my ISP mail to send out activation emails etc. 1-0 to the little guy.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 ©