<div dir="ltr"><div>Hello list, ...</div><div><br></div>I have a simple test.php that uses the mail function to send a test email, used in an lxc-fedora-template based container.<div><br></div><div>When called from command line, it works fine, but when called over the web:</div>
<div><br></div><div><div>PHP Warning:  mail: failed to open stream: Permission denied in /var/www/html/test.php on line 7</div><div>Program mode requires special privileges, e.g., root or TrustedUser.</div></div><div><br clear="all">
<div>I was able to get rid of some error messages and to get mail return true by adding some permissions for the /var/spool directory, but not to get the mail out. ...</div><div>This seems to be hacking around, and I'm not sure this should be done this way. usually  full fedora has no such problems, do I miss some package possibly? Mail, sendmail, postfix - all installed, and working. </div>
<div><br></div><div><br></div><div>Anyone had similar issues with the fedora or other templates - and a solution, or suggestions?</div><div><br></div><div>Thank you - greetings.</div><div><br></div><div><br></div>-- <br><div dir="ltr">
<div style="text-align:left"><font size="4">Király </font><span style="font-size:large">István</span></div><div style="text-align:left"><font>+36 209 753 758</font></div><div style="text-align:left"><font><a href="mailto:LaKing@D250.hu" target="_blank">LaKing@D250.hu</a></font></div>
<div style="text-align:left"><a href="http://d250.hu" target="_blank"><img src="http://laking.d250.hu/lab.png"></a><br></div></div>
</div></div>