LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-16-2008, 10:17 PM   #1
hirts123
Member
 
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Rep: Reputation: 15
mailserver


Hello,

Is it possible to setup a mail server from home using like a dynamic dns service?
 
Old 03-16-2008, 11:35 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
The short answer is yes. The longer answer is that it depends on how your ISP handles port 25.

If they block inbound traffic to port 25, you need to see if your DNS provider can forward traffic to another port on your box and then you need to forward it to your sendmail/postfix, etc. If they block outbound traffic, you'll need to relay through their SMTP server.
 
Old 03-17-2008, 12:44 PM   #3
slozzy
Member
 
Registered: Mar 2008
Location: Edmonton
Distribution: Centos 5.2
Posts: 31

Rep: Reputation: 15
mail server at home?

When your IP does change, mail can get held up for a while obviously. Also, unless your users download their mail or don't care about it, it's sitting on that computer in the corner. With a little maintenance it should be fine.

In my case, my ISP blocks port 25. If yours does as well, you'll know that you can't just go and install postfix or a mailserver with lots of default settings.

My hoster allows relaying via port 3535. So I'm trying to configure the relaying and SMTP AUTH but having a tough time.
 
Old 03-17-2008, 04:33 PM   #4
hirts123
Member
 
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Original Poster
Rep: Reputation: 15
I was told that I couldn't do mail using dyndns service that I would have to get a real domain name and also I would have to run dns on my home box.My current Domain name from dyndns is whateverIwant.kicks-ass.org, since I just have a subdomain and don't own the domain kicks-ass.org that mail wouldn't work.Could anyone explain this further? I understand it has something to do with how DNS resolves mail servers, 1st it resolves .org then kicks-ass. and since I don't actually own kicks-ass.org but a sub domain of it , at that point things would break?
 
Old 03-17-2008, 05:32 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
DNS resolves domains to IP addresses that way, not MX records. For a new query it looks up which server is authoritative for .org, queries that server for the server that is authoritative for kicks-ass.org, queries that server for the server that is authoritative for whateverIwant.kicks-ass.org and queries that server for whateverIwant.kicks-ass.org's MX record.

I don't see why you couldn't run your own mail server with that set up as long as the MX record for whateverIwant.kicks-ass.org points to you.

If that's not correct, I'd like to hear more info about it from some of the people here who know more about DNS.
 
Old 03-17-2008, 10:57 PM   #6
hirts123
Member
 
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Original Poster
Rep: Reputation: 15
I don't think I can just create an MX record with DynDns, I think I might have to pay for something.
 
Old 03-18-2008, 01:03 AM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
If it's with DynDNS I think you're right. I have custom accounts with them for my domains so that I can set MX records for my domains.
 
Old 03-18-2008, 03:49 AM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Don't forget the Reverse DNS record for your mail server.

This is the thing that trips people up the most when trying to run a mail server on a Dynamic IP Address.

Most SPAM checkers (SORBS et al) check the PTR record for the IP address, and may SPAM list you if it doesn't match your MX record. For example, my mail server is mail.iball.id.au, so my IP address (I have a static one) must have a PTR record pointing at mail.iball.id.au.

It will make your life much easier if you can get a Static IP address. Speak to your ISP - they may offer this service.

--Ian

OT: Why ISPs insist on running Dynamic IPs on DSL services is beyond me. Most DSL customers are connected 24x7, so they don't gain any benefit and can't over-subscribe their IP pool by much, so whats the point?
 
Old 03-18-2008, 05:34 AM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Re: IBall's note, you can always use your ISP's smtp server to relay your outgoing mail to avoid the problems he raises if you can't get a static IP
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailserver... roalds1971 SUSE / openSUSE 2 08-02-2006 08:37 AM
MailServer Help nixinbarrie Linux - Networking 3 04-22-2004 12:51 PM
mailserver on fd slam Linux - Software 3 06-30-2003 06:00 PM
got mailserver? fractilian Linux - Software 2 06-28-2003 03:56 PM
About Mailserver RKris Linux - Software 1 08-23-2002 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration