glenelkins Posted August 5, 2006 Share Posted August 5, 2006 HiIm interested in knowing how to setup, delete etc email addresses on a server, such as web hosting control panels work. Like cPanel etc Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 5, 2006 Share Posted August 5, 2006 Cpanel, its easyclick MailThen Manage mail or somethingthen type the first part of the email, then choose the domain from the drop downThen a passwordemail account created Quote Link to comment Share on other sites More sharing options...
glenelkins Posted August 7, 2006 Author Share Posted August 7, 2006 HiI dont think I explained myself properly here. I mean I want to create a PHP script to function as the cpanel email creation script Quote Link to comment Share on other sites More sharing options...
tomfmason Posted August 7, 2006 Share Posted August 7, 2006 it depends on what os and what mail server you are using. Quote Link to comment Share on other sites More sharing options...
glenelkins Posted August 7, 2006 Author Share Posted August 7, 2006 HiLets just say we use a standard linux box Quote Link to comment Share on other sites More sharing options...
tomfmason Posted August 7, 2006 Share Posted August 7, 2006 Now that would depend , once again, on the os. If you are using Fedroa you need to be aware of the restraints on Program Execution Functions. Here is a quote from the manual on this issue.[quote author=The manual]When using Red Hat Fedora, beware of Security Enhanced Linux, SELinux. Quoted from Red Hat: "The security goal is to make sure that Apache HTTP is only reading the static Web content, and not doing anything else such as writing to the content, connecting to database sockets, reading user home directories, etc."These limitations include, among many other things, using exec to run external applications that happen to use sockets (or maybe access some files) such as HylaFAX "faxstat" as invoked from nweb2fax recvq.php and sendq.php.For debugging, one could try running such commands using PHP Shell (see http://mgeisler.net/php-shell/) which might fail while execution from the real command line (as Unix user apache or httpd) yields no problem whatsoever. See /var/log/messages for any denials due to the SELinux policy. To disable it:- System, Administration, Security Level and Firewall- open the SELinux tab- click the Transition tree- check Disable SELinux protection for Apache HTTP- execute /etc/init.d/httpd restartSee also http://fedora.redhat.com/docs/selinux-faq/ and http://php.net/results.php?q=selinux&p=wholesite [/quote] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.