Error with email notifications - Mantis 1.0.1
Moderators: Developer, Contributor
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
Error with email notifications - Mantis 1.0.1
I receive this error when Mantis attempts to send an email notification.
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to 192.168.1.102:25 (Permission denied)
I had migrated from an old Linux install and Mantis version 19.2 to a newer Linux with Mantis 1.0.1, I can't figure out why I receive the above error.
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to 192.168.1.102:25 (Permission denied)
I had migrated from an old Linux install and Mantis version 19.2 to a newer Linux with Mantis 1.0.1, I can't figure out why I receive the above error.
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
User Authentication
I can't seem to find where to define the name and password.
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
re:
Attempting to define those in my email variables of the config_inc.php file does something funny. After saving the changes all of the pages come up blank in the browser.Narcissus wrote:Assuming that the server requires a SMTP username and password, and that it is accepting connections from your Mantis server, you need to set $g_smtp_username and $g_smtp_password in your config_inc.php file.
Hope that helps!
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
phpmailer and php includes folder
Okay, after taking a break from this issue I am tackling it again.
It tells me to put the class.phpmailer.php and the class.smtp.php files in my php includes path from my php.ini file. However, my php.ini file includes path line is semi-coloned out. Also I searched my system and there is no include or includes directory anywhere, and attempting to make one and specifying it in my php.ini file causes my server pages not to respond or load.
Also please let me know if you want more information to better assist, this is killing me. Some additional info - php v5
Help!
It tells me to put the class.phpmailer.php and the class.smtp.php files in my php includes path from my php.ini file. However, my php.ini file includes path line is semi-coloned out. Also I searched my system and there is no include or includes directory anywhere, and attempting to make one and specifying it in my php.ini file causes my server pages not to respond or load.
Also please let me know if you want more information to better assist, this is killing me. Some additional info - php v5
Help!
Re: phpmailer and php includes folder
Our code handles this directly. threr's no need to add this.dsavercool wrote:Okay, after taking a break from this issue I am tackling it again.
It tells me to put the class.phpmailer.php and the class.smtp.php files in my php includes path from my php.ini file. However, my php.ini file includes path line is semi-coloned out. Also I searched my system and there is no include or includes directory anywhere, and attempting to make one and specifying it in my php.ini file causes my server pages not to respond or load.
I would suspect one of the following:
- the address or port is wrong,
- the address is not accessible (try to ping it),
- you can't make connections outside the web server (possibly if you are running SELinux)
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
RE: phpmailer and php includes folder
I'm able to browse the web on this machine and the mailserver I'm attempting to use is an internal server. I'm running Fedora Core 4 with the prepackaged version of PHP that came with it. The readme file in /core/phpmailer states that you should copy those files into those paths, are you saying it should have done that by itself?
Help!
Help!
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
Another tidbit
Receive this error when running the email test in the admin folder no matter what mail server I specify (I have a few to try)
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to 192.168.1.102:25 (Permission denied)
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to 192.168.1.102:25 (Permission denied)
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
Re
When attempting to run the command "telnet 192.168.1.102" it says connection refused. I'm diving deeper without wearing the correct gear here.
Any ideas?
Any ideas?
-
- Posts: 20
- Joined: 10 Apr 2006, 16:45
Re:
That worked, it said
Connected to 192.168.1.102
Ready to be Spoken to here
And it gave me a cursor
Also I have set SELinux=disabled in my selinux/config file
Connected to 192.168.1.102
Ready to be Spoken to here
And it gave me a cursor
Also I have set SELinux=disabled in my selinux/config file
Last edited by dsavercool on 27 Apr 2006, 20:14, edited 1 time in total.
OK, so that means that there's no network problems...
The error is coming from PHP itself, as it's being restricted in what it can do (not so much Mantis or PHPMailer).
Just out of curiosity, what distribution are you using? I just read here that Fedora uses SELinux which might need to be disabled.
Other than that, someone else might have a clue...
The error is coming from PHP itself, as it's being restricted in what it can do (not so much Mantis or PHPMailer).
Just out of curiosity, what distribution are you using? I just read here that Fedora uses SELinux which might need to be disabled.
Other than that, someone else might have a clue...