Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 28th, 2008, 06:38 PM
rach173 rach173 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 3 rach173 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m
Reputation Power: 0
Setup my own email server

Hello,

I have been doing a lot of reading, but still unsure about a few things regarding setting up an email server. I'm hoping someone can help answer a few questions.


Right now I have a test server setup with a dynamic IP. I plan to get a static IP.

I called my isp to ask about a static IP and they told they will create a PTR record and told me I will need to provide them with the FQDN.

I'm not sure what my FQDN is. How would determine what it is?

For example if I had a server named "mserver", full name "mserver.ach.local". A domain named www dot example dot com with Godaddy, with the following records:

A (Host)
Host --> Points To
@ --> 146.xxx.xxx.xx
mail --> 146.xxx.xxx.xx


CNAMES (Aliases)

Host --> Points To
mobilemail --> mobilemail-v01.prod.mesa1.secureserver.net
pda --> mobilemail-v01.prod.mesa1.secureserver.net
email --> email.secureserver.net
e --> mail.secureserver.net
webmail --> webmail.secureserver.net
pop --> pop.secureserver.net
smtp --> smtp.secureserver.net
www --> @
ftp --> @


MX (Mail Exchange)

Priority --> Host --> Goes To
0 --> @ --> mail.example.com



Some other questions I also had.


Can I delete those CNAMES records shown above?

Is a PTR and/or SPF record required?

Is a PTR and/or SPF record required if my server is setup to use a smarthost?

Reply With Quote
  #2  
Old March 30th, 2008, 09:17 AM
PWD's Avatar
PWD PWD is offline
Network Engineer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Location: 127.0.0.1
Posts: 707 PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 23 h 12 m 4 sec
Reputation Power: 190
What Server Platform...Exchange or Linux (Postfix, Sendmail, etc.) based?
The FQDN is the full hostname and domain of your server:
Quote:
mserver.ach.local

When you purchase your domain (if you haven't already purchased one), most mail server software will allow you to change the FQDN your mail server identifies itself as without physically changing the server or domain name on your LAN. (You don't want your mail server to identify itself as a .local domain). So let's say you but the domain, mydomain.com. You setup a host record of mail and your MX record points to mail.mydomain.com. You'll want your email server to advertise itself as mail.mydomain.com

DNS
Remember the role of DNS is to translate names to IP addresses. One of these is your PTR, or reverse DNS entry. This is controlled by your ISP. Nearly every receiving mail server will do some sort of checking to see if mail sent from your domain is legit. This includes checking your reverse DNS record; to see if your IP address resolves back to the FQDN of your server. Most SPAM comes from infected computers or PCs on dynamic IPs and improperly setup mail servers.

Host/SPF Records
I, personally, don't use CNAME records in my public DNS records. Mail records that resolve to CNAME entries usually score higher (and I believe is a violation of the RFC) in SPAM filters. I would ditch CNAME records and stick with host records.

SPF records are HIGHLY recommended. They essentially tell the Internet world legit email sent from your domain can come from 'this IP address' and/or 'this host' and are frequently checked by receiving MTAs. These are created as a text enry in your public DNS. There is a good online SPF record creator here:

SPF Project
Comments on this post
hiker agrees!
__________________
PWD
MCSE, MCSA, MCP, Security+

NEW Windows Administration Forum
Admin Source
Could REALLY, REALLY, REALLY use you and your issues!

Reply With Quote
  #3  
Old March 30th, 2008, 02:12 PM
rach173 rach173 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 3 rach173 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m
Reputation Power: 0
Thanks PWD for the help.


I'm using Exchange on SBS 2003.


So when setting up SBS, I should enter mail.mydomain.com as the FDQN.

When my ISP creates the PTR record, I will provide them mail.mydomain.com as the FDQN.

Reply With Quote
  #4  
Old March 30th, 2008, 03:04 PM
PWD's Avatar
PWD PWD is offline
Network Engineer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Location: 127.0.0.1
Posts: 707 PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 23 h 12 m 4 sec
Reputation Power: 190
If you haven't fully setup SBS yet, keep your local domain and your Internet Domain separate. When setting up your local domain, call it something like mydomain.local. Your Internet Domain, is the one you regsiter with a domain registrar.

To make your SMTP server advertise as mail.mydomain.com, do the following:

1) Go to Start => Programs => Microsoft Exchange => System Manager
2) When Echange System Manager opens up, expand 'Servers' => expand 'Your Server name' => expand 'Protocols' => expand 'SMTP'
3) Right click 'Default SMTP Virtual Server' and select 'Properties'
4) Click the 'Delivery' tab then click the 'Advanced' button toward the bottom.
5) In the 'Fully Qualified Domain Name' field enter 'mail.mydomain.com or what ever mail host record you set up in your public DNS.

Locally you will still summon your server by it's local name. You are simply changing what your SMTP server will identify itself as in the Internet world.

Domain Name
Noticing your Host and CNAME records is your first post, was your public domain name purchased through GoDaddy? This looks like the default entries in GoDaddy's total DNS Panel. They automatically give you mail, and a place to park your website. If so, you'll need to delete all of these and create your own host, MX and SPF records once you obtain your static IP. If you need help with that just let us know....

SBS 2003 Side Note
When installing SBS 2003 you need to define the local domain for which SBS will be authoritative for, in this example you would enter mydomain.com. A FQDN is hostname + domain and as we all remember computer name = hostname. Although the setup wizard asks for a domain name you may have registered with a registrar, I (and many other system administrators) have long kept local domains and Internet domains separate. So as a best practice, define your local domain for your local network and enter that into your setup wizard.

Last edited by PWD : March 30th, 2008 at 03:24 PM.

Reply With Quote
  #5  
Old April 2nd, 2008, 09:43 PM
rach173 rach173 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 3 rach173 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m
Reputation Power: 0
Thanks PWD for the help

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Setup my own email server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway