Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] Home Mail Server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Mon May 01, 2006 6:26 pm    Post subject: [RESOLVED] Home Mail Server Reply with quote

Hi,

im having a real bad moment of understanding how to setup my home mail server, I am just bootstrapping as we speak. I have a DSL connection with a static IP plus a router with NAT/PAT. Do I configure my server with a internal IP, setup PAT for SMTP, and point the MX record of my domains to the external static IP ? It would be great to run DNS on my server, but the domains are with my ISP so would probably let them handle secondary SMTP.

Does this sound right ?

TIA


Last edited by uxbod on Mon May 01, 2006 9:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
monkeyboy
n00b
n00b


Joined: 18 Apr 2002
Posts: 29
Location: Denver

PostPosted: Mon May 01, 2006 7:02 pm    Post subject: Reply with quote

My recommendation would be to put your mail server on your internal network with an internal ip and do a port forward on port 25 (smtp) and 110, 143 (pop and imap) if you want them. Then the only services exposed to the internet are the ones you forward through your firewall. You will then want your MX record pointing to your external IP.

If you want to run DNS yourself, you should be able to do that on the same server with an internal IP address, you'll just need to forward port 53 to your box so the rest of the world and query your DNS. You may also want to have seperate response files for internal clients (resolve to internal network numbers) and external clients (resolve to public ips).
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Mon May 01, 2006 7:14 pm    Post subject: Reply with quote

Hi.

monkeyboy already replied to your question. I just want to recomend you use POPS and IMAPS that run on ports 995 and 993. If you want to, you can also use SMTP+TLS.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Mon May 01, 2006 9:45 pm    Post subject: Reply with quote

Thanks both :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum