Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 18th October 2009, 18:47
tuananh87vn tuananh87vn is offline
Member
 
Join Date: Sep 2009
Posts: 39
Thanks: 8
Thanked 0 Times in 0 Posts
Default postfix administration- using php to handle linux commands

hi,
firstly i'm not sure if this is the right place to put my question into, if not so can you help me move it to another box? thanks!

alright, i've just finished setting up my postfix email server on Debian with a HOWTO guide and now i'm going to create my own postfix administration application (web-based) using php

with the main purpose of managing domains and users, which are stored in mySql database, some useful web pages are expected to be created using php-- well, pushing and pulling data with php-mysql shouldn't be difficult tasks.

the problem is, however, when i create a new email account, in order to initialise the new maildir, i need to use some linux commands (mail, or telnet port 25) to send them a sort of welcome email, or used when we want to send broadcast message to all email accounts. my question is, how to use php to handle such these linux commands. i know php, i know some linux shell but i don't know how to use the former to control the latter

thanks in advance!

Last edited by tuananh87vn; 18th October 2009 at 18:54.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 11:03.


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