last day (15 days later) » 

02:02
0
A: How can I set up my server to also be a mail server?

ionFishApache is specifically a web server. And since it runs on port 80, you can use any other ports you like for other services. For example, you can install a DNS server like BIND which will occupy port 53. In your case of a mail server, you can install PostFix among others [link]. Setting up a mail ...

Which one would you recommend for simple, secure setup, DoveCot or PostFix?
For beginners, definitely DoveCot. As you'll notice with PostFix, it has many many more configuration options. You can try both, even. But for you, I recommend DoveCot.
DoveCot includes IMAP and SMTP right?
DoveCot has IMAP but you will need to find another authentication daemon for SMTP. PostFix is a good choice for it, tutorial here: exratione.com/2012/05/….
Will hostname mail.example.com mess with apache2 at all?
02:02
Not at all; your DNS records are set on the domain's name servers (or your DNS server if you operate one). They simply resolve domain names into IP addresses which allows people and computers both to find your server. Your Apache server wouldn't even know that there is another subdomain.
That tutorial looks good, I'll try it in a second, but it has nothing in it about DNS records. What CNAME's should I change and should I change the MX's?
Woah this chat is cool
You should first read how mail delivery works; CNAME records would be added of your choice (mail.domain.com or smtp.domain.com etc.) And you'd likely want to use A-Records since you should already be using an IP address that does not change. Dynamic IPs can complicate some mail delivery if it changes but the DNS record is cached elsewhere. Your MX records will be only for if you want to use mail on your domain (receiving mail).
I want to be able to set up email to my server from the mail app on my computer from a remote host, like when you set up gmail you use imap.google.com and smtp.google.com
And what do you mean if I want to use mail on my domain?
And why would I use A-records? Wouldn't I just make an a record "@ 123.456.789.123" and then cname records like "mail @"
02:37
Because the server you use to send mail does not require any modifications to your domain, whereas you need to set up records to receive mail on your domain. I was only suggesting to use A-records for your mail subdomain because you should give it a static IP and it will also save a few fractions of a second of lookup time. Instead of resolving mail >> subdomain >> IP, it would go mail >> IP.
So I should set my MX entry to "0 @ mail.mysite.com"
You'd want to set your mail server up FIRST.
Does it make a difference which order I do those in?
 
1 hour later…
04:06
Hey are you still there?
got a quick question
Yeah I was about to go to bed. Click my username, go to my homepage, click the contact page and then drop me a message. I will respond tomorrow.

last day (15 days later) »