Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    14

    Default Adding Email Alias

    Hi all,

    If someone could help me with a question this would be great help...thanks.

    I'm looking at setting up a free web based email service where users can sign up and obtain a free email account as part of my usergroup portal.

    Can email alias' be added through a script? or can I only add them through CPanel?

    Your help is greatly appreciated.

    Tux

  2. #2
    Member
    Join Date
    Jul 2002
    Posts
    14

    Default

    No problems I worked it out.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    2

    Default ..the solution?

    I've just posted a new topic on a similar query...

    what was the solution for you?

  4. #4
    Member
    Join Date
    Jul 2002
    Posts
    14

    Default

    Its a combination of inserting a user into the etc/passwd and etc/shadow file and then creating a folder under mail

    This then allows the user to login to the email client.

  5. #5
    Member
    Join Date
    Feb 2002
    Posts
    150

    Default

    any chance of some more info on this?

    cheers
    Thanks for help

  6. #6
    Member
    Join Date
    Jul 2002
    Posts
    14

    Default

    What do you mean more info?

    I can't get any more specific.

    Under your home directory there will be a folder called etc under this is a passwd and shadow file, the shadow file will have the encrypted password.

    Under your home directory there will also be a folder called mail, you need to create the users name under this folder.

    e.g. if your users names is carperman then the folder will also be carperman

    E.g. mail/carperman

    Thats it.

    Good luck

    Tux

  7. #7
    Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    152

    Default

    he means more info like code examples or how the password file is encrypted, the way you explain it there could be loads of different ways to do it,
    anyway here is my code
    http://www.1337ster.com/newmailuser.phps
    dont forget to chmod the mail and etc directories so that you can edit the files and create a new mail directory
    hope this helps

  8. #8
    Member
    Join Date
    Jul 2002
    Posts
    14

    Default

    Well there you go!

  9. #9
    Member
    Join Date
    Feb 2002
    Posts
    150

    Default

    Thanks for replies, i was thinking more of an automated method of creating a webmail only user for one of my websites.

    User could signup via form which would create webmail user, account would then need to be authorised by admin.

    cheers
    Thanks for help

Similar Threads & Tags
Similar threads

  1. Adding a simple alias
    By Data 1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2009, 12:03 AM
  2. Adding an Alias to an account in httpd.conf that will survive a rebuild?
    By Kadence in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-04-2009, 05:03 AM
  3. Email Alias
    By odesia in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-23-2004, 09:48 AM
  4. email alias
    By cyberspirit in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-14-2004, 06:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube