[Wolves] Query on setup for receiving mail...

Ron Wellsted ron at wellsted.org.uk
Mon Jun 23 22:23:35 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Sweet wrote:
> Dave Morley wrote:
>> Finally I got mail out setup correctly :)
>>
>> But Ron how do I get mail in to work....?
>>
>> I got a subdomain of mail.davmor2.co.uk but I can only forward it to
>> http://whatever.address.is.needed however with 1and1 they do mail so I
>> can setup davmor2 at davmor2.co.uk and then forward somewhere but where do
>> I forward it?  Is it davmor2 at 1.1.1.1 wherer the 1's represent the ip
>> address my router is connected to?
> 
> I'm not sure I understand you correctly, but if you haven't already, set
> up an MX record for davmor2.co.uk which points to mail.davmor2.co.uk,
> then set up an A record in DNS which points mail.davmor2.co.uk at the IP
> address of your cable connection at home. This means that all mail for
> users on davmnor2.co.uk will be delivered to your home IP address.
> 
> On your home firewall, I would port forward port 25 (SMTP port) on to
> the LAN IP address of your mail server and Robert's yer mother's
> brother, no email address aliasing or forwarding. This assumes that
> Virgin Media allow inbound SMTP connections. Now when somebody sends
> email to bald.arsehole at davmor2.co.uk, it will be received by your home
> mail server, assuming you set up your home box to accept mail for that
> domain and that user. This is the most straightforward way, everything
> else is a workaround.
> 
> Otherwise, just leave all your DNS stuff as it is and forward the email
> address on to another address as you described, like a Gmail account or
> something, but I assume you want to run your own mail system which most
> if the fun. You can just forward to user at 1.2.3.4 but it's not very nice.
> There are other ways you could go, but it will just start to sound
> confusing with all of the different ways of doing things. So if none of
> the above meet your needs then we can start again.
> 
> Bravo on taking the plunge with all of this stuff btw, you will learn a
> hell of a lot. It can seem too much to take in when you start but it
> soaks in sooner or later. To do mail properly, you need to understand
> DNS and basic networking first, so I guess we can do a 5 minute primer
> at the next LUG meeting I attend if Ron hasn't covered it in one of his
> talks already.
> 
> Ad
> 

The only thing I have done different to the above is to use dyndns to
automatically maintain the correct IP for my public IP.

So for wellsted.org.uk the MX record points to wellsted.dyndns.org. It
is perfectly permissible to have an MX record pointing to a name outside
of the domain.

I use ddclient to update the dyndns servers with the correct IP address
(OK, it very rarely changes, my record was 2 - 3 years without a change,
it only changed last time I replaced my firewall).


- --
Ron Wellsted
ron at wellsted.org.uk http://www.wellsted.org.uk
N 52.567623, W 2.136111 Linux Counter No. 202120
Ekiga: 645022
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBSGAURktP/KMNOfRbAQJJ7ggAt7sBvqIvHj3T3hQW0+6gq/l/A972OLhv
LPPIq2Kf4zs+zrLgR/P/lGKiNWGzTwlx8vk0ZqVryKCETk+v4VaXVgrhuBIj7FAC
kIVlRVjgfnbt4ikHjHyQ083CyRIwnbAeMOMoeav5j8o6KZvHfllhnI0rWIUH1sLt
1mdiG/L0pmiD/NYUFxvKSc5+brYPVWAtOIPkqtJJNyjDO4I565xaRWJ4rXlusGpv
7JhxoXO/TaArYyEXi9CGXJ8jJLVSVv5Lr5CyWhReduuetvI/mSeq/XNSYujAxxtp
7b5kBYVypwVYQqxTf6n3pGTKtPrcSo1HaH4egk4+KlsONXC4uptdqg==
=soV0
-----END PGP SIGNATURE-----




More information about the Wolves mailing list