On 4/23/05, jim lawrence <fedorajim@xxxxxxxxx> wrote: > On 4/23/05, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote: > > Am So, den 24.04.2005 schrieb jim lawrence um 1:20: > > > > > > This is what I decided to do > > > > I created a comment page that a person can fill in the required fields. > > > > When they hit the submit button, it calls the mailform.php script that I have. > > > > It then gives me a message stating that the message has been sent. I > > > > check the inbox of the email account and there is no messages > > > > I'm using a gmail account for the messages to go to > > > > > > > > I have attached the code that I'm using > > > > the html doc has a simple name, email, and comment box > > > > see www.fedorajim.homelinux.com/pages/comment.html > > > > > Jim Lawrence > > > > SELinux is active on your host? You then very certainly see avc / audit > > messages in the syslog (var/log/messages) from formmail attempts. > > > > Alexander > > > > -- > > Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 > > legal statement: http://www.uni-x.org/legal.html > > Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp > > Serendipity 01:31:46 up 11 days, 22:12, load average: 1.71, 0.55, 0.30 > > > > > > > So you must be talking about this then ? > Quote > Apr 23 19:39:08 localhost kernel: audit(1114299548.477:0): avc: > denied { execute } for pid=8662 exe=/usr/sbin/httpd name=bash > dev=hdb2 ino=572413 scontext=root:system_r:httpd_t > tcontext=system_u:object_r:shell_exec_t tclass=file > > I tried to submit a comment at that time > > SElinux is enabled What setting do i need to alter for this to work? > > -- > > Jim Lawrence > Registered Linux User: #376813 > ******************************************************** > When I'm feeling down, I like to whistle. > It makes the neighbor's dog run to the end of his chain and gag himself. > ************************************ > One other question Do i need to edit the etc/mail/access file ? if so, what to? is the ok ? # # by default we allow relaying from localhost... localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY -- Jim Lawrence Registered Linux User: #376813 ******************************************************** When I'm feeling down, I like to whistle. It makes the neighbor's dog run to the end of his chain and gag himself. ************************************