HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Ispconfig + FC4 + mail function (http://www.howtoforge.com/forums/showthread.php?t=2599)

vocoder 18th February 2006 15:53

Ispconfig + FC4 + mail function
 
Hi to all.
I just installed the ispconfig in a fedore core 4 server following The Perfect Setup - Fedora Core 4 tutorial.

All the operations looks working perfect except the mail() function. In one of my clients i have a formail script. When i try to submit the form i dont take an error message but i never receipt the mail.

Can anyone help me please;

P.S. In the Comment viewing options of The Perfect Setup - Fedora Core 4 tutorial i read the following :
Quote:

The problem is not with your MTA (Postfix) or any other steps outlined in this HowTo but most probably with FC4's implementation of SELinux which disallows your webserver (Apache?) to use the Postfix sendmail binary (for security reasons). This is a common problem with PHP's mail() function, Apache and SELinux.
But i did not understood maybe because i am a linux dummy.

thank you very much

falko 18th February 2006 16:35

Did you enable SELinux when you installed FC4? Then you should disable it as described on this page: http://www.howtoforge.com/forums/sho...?t=2409&page=2
and try again.

vocoder 24th February 2006 13:37

Thank you Falco , i will try it.

Best rewards,
Kostas

vocoder 9th March 2006 09:17

Goodmorning.

Dear Falco i disable the SELINUX but i have the same problem.
Any idea?

Thank you very much,
Kostas

till 9th March 2006 09:48

Is this a PHP or perl formmail script? Do you get any errors in your mail log?

vocoder 9th March 2006 10:18

it is a php formmail script which in other servers play perfect! No i dont get any errors in my mail log

falko 9th March 2006 10:46

What's in /etc/sysconfig/selinux? Did you reboot your system after the changes?

vocoder 9th March 2006 13:07

Yes i restarted my system twice.

The file is the following :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Thank you,
Kostas

falko 9th March 2006 22:59

Does the MX record of the recipient domain point to the right server?

vocoder 10th March 2006 08:31

Yes i am tried many reciptients :(


All times are GMT +2. The time now is 09:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.