| Author |
Message |
angloswede New Member


Joined: Feb 10, 2007 Posts: 15
|
Posted:
Wed Dec 05, 2007 10:04 am |
|
Hi,
After some time of having the e-mail fuction disabled, I thought I'd better get round to fixing it
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:
To:
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:
Sorry for the long post
Thanks
Mark |
|
|
|
 |
xblader Client

Joined: Aug 17, 2006 Posts: 28
|
Posted:
Wed Dec 05, 2007 10:35 am |
|
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 |
|
|
|
 |
angloswede New Member


Joined: Feb 10, 2007 Posts: 15
|
Posted:
Wed Dec 05, 2007 10:45 am |
|
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 Client

Joined: Aug 17, 2006 Posts: 28
|
Posted:
Thu Dec 06, 2007 9:01 am |
|
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 New Member


Joined: Feb 10, 2007 Posts: 15
|
Posted:
Fri Jan 04, 2008 2:59 am |
|
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. |
|
|
|
 |
|
|
|
|