Jump to content


Photo

Question about controling server email accounts


  • Please log in to reply
5 replies to this topic

#1 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 05 August 2006 - 11:30 PM

Hi

Im interested in knowing how to setup, delete etc email addresses on a server, such as web hosting control panels work. Like cPanel etc
http://thewebsolutionprovider.com - A Solution For Everything Web!

#2 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 05 August 2006 - 11:43 PM

Cpanel, its easy
click Mail
Then Manage mail or something
then type the first part of the email, then choose the domain from the drop down
Then a password
email account created
Tell me the problem, I will try tell you the solution

#3 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 07 August 2006 - 09:56 AM

Hi

I dont think I explained myself properly here. I mean I want to create a PHP script to function as the cpanel email creation script
http://thewebsolutionprovider.com - A Solution For Everything Web!

#4 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 07 August 2006 - 10:24 AM

it depends on what os  and what mail server you are using.

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#5 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 07 August 2006 - 10:35 AM

Hi

Lets just say we use a standard linux box
http://thewebsolutionprovider.com - A Solution For Everything Web!

#6 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 07 August 2006 - 10:56 AM

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.

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 restart

See also http://fedora.redhat...cs/selinux-faq/ and http://php.net/resul...nux&p=wholesite


Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users