LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-25-2004, 04:39 PM   #1
mindfrost82
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 60

Rep: Reputation: 15
Best Webmail Client - Allows new user signup


I currently have apache setup for my webserver, and I have sendmail successfully configured, and pop3 access. Everything works great using an Email client.

What I am looking for is a webmail client that allows users to setup a new account on the email server. I had a server/webmail combo in Windows that allowed users to do this. I have been looking at alot of webmail clients, but I can't seem to find one that allows this. Of course I want it to look good too.

Any suggestions?
 
Old 08-26-2004, 05:13 PM   #2
mindfrost82
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: 15
Alright....well nobody responded to this...so here's another question. I have squirrelmail setup, and it works fine...not too pretty, but it gets the job done. I found a change_password plugin that will allow users to change their passwords.

So for now, anyone that wants an account has to email me, and I setup the account with the group "mail" and "/bin/false" so they can't use SSH and I create a default password.

What I want to know is, is there a way to do all of this through PHP? Like create a signup button, and use forms where they create a username and password, and PHP creates the account, sets the group, and the shell?
 
Old 08-30-2004, 02:58 PM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Well, if you have experience in PHP, the short answer is YES. There are 2 ways to do it. The easy way is to use shell commands, but let me tell you do not do it this way! You should do it programatically, but it still shouldn't be too difficult.
 
Old 08-30-2004, 03:27 PM   #4
mindfrost82
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: 15
I don't really know PHP too well. Would you mind explaining...or give me an example page?
 
Old 08-30-2004, 05:49 PM   #5
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
I wish I could. I followed the link in your sig and noticed you were using vBulletin on your page which may complicate things, I'm just guessing though. Alot depends on how you have vBulletin and Squirrelmail set up to do your authentication. If you even think about this, I would get a good reference manual or at least have a bookmark to the php.net reference section. I'm almost positive there is a function to do just about anything anyone would want. If you do your own research or get "in" with another vBulletin user you'll see it isn't too difficult, but it will take some study. Sorry I can't offer you more than that.
 
Old 08-30-2004, 06:49 PM   #6
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
I don't see whats wrong with doing this with shell commands.. If you can use perl, you just enclose any commands you want to execute in backticks, so the following would create a file with the string "hello" in it:

Code:
#!/usr/bin/perl

`echo 'hello' > somefile.txt`
While this method isn't very fast it should work just fine.
 
Old 08-30-2004, 06:55 PM   #7
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Giving a savy "cracker" direct access to a psuedo-shell is asking for trouble.
 
Old 08-30-2004, 07:33 PM   #8
mindfrost82
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: 15
Well for a perl script, I can't seem to get mod_perl configured for apache 1.3.x in Slackware 10.

If anyone could help me with this, I would appreciate it.
 
Old 08-30-2004, 08:30 PM   #9
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Don't use the command method, ghight is right. You'll have to code it yourself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Thin Client User Security banner Linux - General 1 04-07-2005 05:45 PM
PhpBB email signup help Ascis Linux - Newbie 2 08-17-2004 02:37 PM
Webmail client linuxpyro Linux - Software 8 08-04-2004 08:48 AM
open webmail error "Can't create your user directory! 7/mail (No such file or directo ko_zlynn Linux - Networking 1 12-21-2003 04:00 AM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 10:38 AM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration