LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-30-2007, 10:21 PM   #1
esaym
Member
 
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Rep: Reputation: 32
Adding new email users through webpage


Ok I know this is possible. I have set up an email sever on debian with postfix and dovecot. I would like to know of any how to's or content management systems that will allow new email users to be added through a webpage. I don't really know how to program yet (I am working on it). I would like to be able to open my email server up to some friends but it would be nice if they could setup their name and password through a webpage...


Thanks!
 
Old 09-30-2007, 11:44 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
What commands to you use to create email users using postfix?

If you know that, then write a simple PHP script to get the username from a form, and pass that to the command that you would normally use.

I know that you want a ready made solution, but if you want to learn to program, it may be a good starter project

--Ian
 
Old 10-01-2007, 04:06 AM   #3
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
You are probably looking for something like "postfix admin"
 
Old 10-01-2007, 11:16 AM   #4
esaym
Member
 
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by IBall View Post
What commands to you use to create email users using postfix?

If you know that, then write a simple PHP script to get the username from a form, and pass that to the command that you would normally use.

I know that you want a ready made solution, but if you want to learn to program, it may be a good starter project

--Ian
Ah, good idea! I actually know a guy that does php too.


Quote:
Originally Posted by bmarx View Post
You are probably looking for something like "postfix admin"
Yea that looks like a great app. Not sure if I would want to allow an unknowledgeable user into it though and tell them to create there own email account
 
Old 10-01-2007, 04:59 PM   #5
esaym
Member
 
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Original Poster
Rep: Reputation: 32
While we are on the same subject, what is the best way to add non-virtual users? Right now I just make a user with this command
Code:
adduser --home /home/mail/*user --shell /sbin/nologin  *user
I am not too familiar with mysql so I have stayed away from virtual users and mail boxes. Is there anything wrong with using the line of code above for adding new users?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding users and email pecanman Linux - Newbie 4 01-14-2007 06:49 AM
adding sound to webpage matt_w_lambert Programming 8 01-19-2004 05:51 PM
Distro / C++ / programming / webpage design / webhosting / email hosting Jalalabee Linux - Newbie 8 11-19-2003 06:17 AM
Postfix mail server. (Adding a user from a webpage?) hawkpaul Linux - Software 6 05-30-2003 03:43 PM
Pushing a default webpage to users facroft General 0 07-23-2001 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration