LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2006, 10:04 PM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Setting up email accounts manually


Hi guys,

till now I have set up email servers (Linux) using control panels like Plesk, Cpanel etc... but I want to know how to set up manually.. like how to set up alias email, set up pop email etc... set quotas etc... then follow by install webmail etc...

knowing these will go a long way in understanding how it works and also.. i'm looking to code my own email setup control panel. just email only (no need for plesk etc)

been searching online but not very helpful.. i guess i am searching in the wrong place or using the wrong search words. can someone point me to an online guide/tutorial to get me started?

Basically I am looking to create the following via the CLi:

- pop email
- alias email
- group email
- webmail software to link to the email account created
- emails for different domains

many thanks for your attention!
 
Old 04-17-2006, 03:20 PM   #2
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
This is a huge question. But for starters, you'd need to make clear which mail server you intend to use. After that, it might only be a matter of reading some man pages. I'm not familiar with Red Hat/Fedora package management and software collection, but there should be a reasonable front end for determining which software is installed and/or available.
 
Old 04-17-2006, 04:16 PM   #3
halitayarci
LQ Newbie
 
Registered: Nov 2004
Location: Istanbul
Distribution: Slackware 10.2
Posts: 19

Rep: Reputation: 0
you may use imp for your webmail client.
 
Old 04-17-2006, 05:02 PM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
If your using RHEL/Fedora/CentOS it's all pretty easy,

start dovecot
/etc/init.d/dovecot start

start postfix
/etc/init.d/postfix start

add users
useradd user1

edit the /etc/aliase file
user.one: user1

and there you have it a user and an alias.
 
Old 04-17-2006, 11:51 PM   #5
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
oooh ok.. then how do i specify what domain that user email is?
say if i want to use that particular server for email accounts for @domain1.com and @domain2.com?

I planning to do a front-end control panel via php so I figure I better know how to do it manually if i want to do the control panel....

please advice

probably use fedora or something... sendmail as the smtp?
 
Old 04-18-2006, 12:14 AM   #6
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well in that case your going to be looking at user virtual users/domains ... I've never really looked into using virtual users/domains before.

But one way you could do it is using LDAP, I have a how-to on setting up openldap on my website below, it has very good php interfaces built for it already, phpldapadmin, LAM and many more.

I've always been a bigger fan fo postfix than sendmail, but it's really whatever you like the most.
 
Old 04-19-2006, 02:49 AM   #7
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
hmmm ok... virtual users/domains
shall take note...


just wanna try to do an application to control my emails... but need to figure the underlying portion first
 
  


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
Evolution email accounts yuk Linux - Software 1 05-16-2005 08:32 PM
Email client that support HTTP email accounts tumana Linux - Software 6 04-29-2005 08:26 PM
Using mutt for two different email accounts spydrmn Linux - General 2 03-08-2005 07:16 AM
email accounts crazy diamond General 2 10-13-2004 08:02 AM
Email Accounts transfer hodfords Linux - General 0 10-15-2001 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:45 PM.

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