[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 946
  • Last Modified:

CentOS 5 Email Accounts

Hello,

How do I go about setting up a mail server on a server running CentOS 5?  I need SMTP and POP access and the ability to create several email accounts.

Thanks.
0
RAH104
Asked:
RAH104
  • 5
  • 4
2 Solutions
 
fosiul01Commented:
There are couple of mail server you can install for this task

examp : sendmail, postfix, qmail

i work on sendmail and i always follow this link

http://www.howtoforge.com/howto_sendmail_smtp_auth_tls
0
 
Rance_HallCommented:
Ive used sendmail only in that some websites Ive used need to find the sendmail binary to send messages.

Ive read about exim and postfix

I finally decided on qmail

qmail does not have a package format, and you have to install it from source, but because everyone else has to install qmail from source as well, I find that going to another server on another distro that qmail works just like the one on the first server and first distro.  This has big advantages.

my vote is qmail, but its no easy deal, you'll need to study and learn, but then you should be doing that anyway for something as complicated as an MTA server.

R
0
 
RAH104Author Commented:
Remember I need an easy solution which covers both POP3 and SMTP.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
fosiul01Commented:
ok if you need easy then go for sendmail, if you dont need to check email from outlook then you dont need sendmail with Tls support, just sendmail would be enough

let me sent you some easy link, then i will go through with you
0
 
RAH104Author Commented:
I think the client expects it to work with Outlook.  Please post the link.
0
 
fosiul01Commented:
ok if client want to work with outlook then you should of consider Tls

reason : when outlook will try to connect to mailserver, it will sent user authentication as plain text format, and it would be serious security problem because password will go over net as plain text.
i would never allow user to access my mail server as plain text format

for easy understanding : http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/sendmail.htm

but the link i have provided before
http://www.howtoforge.com/howto_sendmail_smtp_auth_tls

its a copy and past tutorial, you just have to carefully copy all the command and past it on command line .

0
 
RAH104Author Commented:
After everything is installed and configured how does one create the actual email account?
0
 
fosiul01Commented:
its easy

create the user in the system, then add the user name is /etc/mail/aliases

then run this command : make aliases

if you are not comfortable with command
then install webmin ( it has nice interface to work with sendmail)

ohh another thing, you need to install dovecot to allow user to download email from mailserver

best software is dovecot which will work as pop3

0
 
RAH104Author Commented:
Excellent information and references - thank you.
0
 
fosiul01Commented:
thanks,
let me know if you want more information.

but one thing i will say: if you dont secure your server in first night, following day when you will wake up you will see  your server is in block list !! it happended with me before. so before putting this in public , make sure its not open realy.

good luck
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now