What does it takes to Build a Mail Server?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What does it takes to Build a Mail Server?
# 1  
Old 03-21-2013
Question What does it takes to Build a Mail Server?

Subject: What does it takes to build a mail server, its just for fun and learning.

Am bad at being techinical, so in short, how to create a gmail-like thing? I have a registered domain, and want to setup a mail server. Have a spare laptop that is running Ubuntu 12.04. What I need to know is, what books or websites or terms I should search so I get started on this. And what would be the sequence? I have looked up and SquirrelMail something comes up often. The thing is, I have seen its interface and it really sucks so I would appreciate if anyone can tell how to tweak such openware softwares for gmail kind of an interface, what language do I need to learn/master?

Background: I am intermediate at all *nix OS(es). Beginner's Level in MySQL. I can write short scripts in Shell. CCNA certified so pretty basic with Networking too. Professional experience of 2 years in Storage and Backup administration.
# 2  
Old 03-22-2013
Assuming you do not want to write one, there are many mail servers and most LINUX systems come with one installed. You need the domain's DNS records pointing to it so mail comes in, and an ISP outgoing mail server makes your life much simpler. The server needs a good matching A record for its PTR record as well as an MX. Setting Up Mail Server Records in the DNS
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 03-22-2013
Question

Thanks for your reply.

Sorry but what does "ISP mail server makes your life simpler" means? Am not doing any business or anything, is this just for learning. I've read that I need to have a static IP aswell for this? I was wondering in my wireless connection, IP doesn't change unless there is a connection lost or something. Would this thing work until the IP gets changed - I will find out. Thanks for the lead, i'll check it out. I went through Ubuntu Server forum, and they have a whole page about how to build an Email server, and from there I get to know that I would need a Web server too for hosting emails, right? One most important question remains, the tweaking of the interface of the webmail, what lanaguage do I need to go for?
# 4  
Old 03-25-2013
If you're using ubuntu, you are in luck. The ubuntu community documentation explains about setting up a mail server. It's not that easy. I set up a mail server, but every time I go back to change something it is somewhat confusing. I would document whatever you do in some personal readme files.

You normally need a static ip. But it may also work with DynDNS or similar service. I'm not sure. I use a static IP for a mail server I have at an ISP, but use the DynDNS to remotely connect to a windows PC where the IP address changes now and then.

https://help.ubuntu.com/community/MailServer you may have already seen. If not, start there.

I kind of doubt there is a language for tweaking the webmail interface. More likely some options you select. But the only way to know is to try it. Have a good time. I think it's a good project, lots of interesting details.
# 5  
Old 03-25-2013
Many ISPs provide an outgoing SMTP mail server, which you can chain to rather than working the DNS chain down to the right hosts and doing dialog for mail delivery. However, if nothing is relayed, then any mail server SW can deliver. Now, incoming mail can be in traditional mailboxes, but usually the mail is stored and delivered via IMAP or POP servers. If you are designing for large amounts of mail flow, large amounts of storage or huge numbers of users, there are optimizations for each of those to reduce their impact.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transfer file from a server takes long time

It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB. scp user1@serverA:/opt/setup/cash.zip . Output: cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA uname -a SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies

2. Red Hat

Login to server takes time

When I am trying to login to a server using Putty ssh from my windows xp machine it is taking too much time for login. My server name is http2 and when I enter this address into putty I immediately get login as: screen, but after I put my username root and enter the cursor moves downwards... (14 Replies)
Discussion started by: abhilashkrishn
14 Replies

3. Shell Programming and Scripting

mail command | takes 10 mins.

I'm trying to send a e-mail through a shell script using the mail command. TO=your_mail@gmail.c,my_mail@gmail.com mail -s "This is a mail" $TO < Message.txt I receive mail only after 15-20mins but if i specify on 1 email id, I get the mail in seconds. Why is this happening? (0 Replies)
Discussion started by: rocker_me2002
0 Replies

4. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

5. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

6. Shell Programming and Scripting

PHP Mail Script Takes Hours to Send emails

guys, i have a php script that i wrote that takes hours to send emails to recipients. i can't post the content of this script in here because the script contains some very important confidential information. so my question is, why is it that when the php script runs, it runs successfully, but... (3 Replies)
Discussion started by: SkySmart
3 Replies

7. Linux

it takes long time to login on server

Hi, I am trying to login using ssh on Red Hat Linux 5 server, The password appears immediately but after I enter the password it takes about 90 seconds to login completely. Please suggest what changes require? Regards, Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies
Login or Register to Ask a Question