On Mon, Oct 24, 2005 at 06:08:05PM +0100, Jonathan Wright wrote: > > That's fine for outgoing mail, but unless an MX record exists for the > internal server on a domain/subdomain, it's difficult to 'direct' > traffic from the outside in. > > The only other way I can think off is to test the server using either a > telnet port or a script from an off-site computer onto the new server.
No, it is very easy. All I had was a static IP from my service provider and a router with port 25 forwarded to an internal mail server host. To get the mail working all I had to do was create a domain name (using the free service at freedns.afraid.org) and point it at my static IP. I think it is possible to setup a MX record explicitly, but I have never bothered because so far everything that has tried to sent mail to it has worked fine defaulting to using the A record in the absence of a MX record. This mailing list is being delivered to my host using the address gentoo_at_skaro.afraid.org, and dig gives me the following output for the domain: penemunde usb # dig skaro.afraid.org ; <<>> DiG 9.2.5 <<>> skaro.afraid.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34970 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 7, ADDITIONAL: 7 ;; QUESTION SECTION: ;skaro.afraid.org. IN A ;; ANSWER SECTION: skaro.afraid.org. 60 IN A 195.157.127.247 ;; AUTHORITY SECTION: afraid.org. 86400 IN NS ns5.afraid.org. afraid.org. 86400 IN NS ns6.afraid.org. afraid.org. 86400 IN NS ns7.afraid.org. afraid.org. 86400 IN NS ns1.afraid.org. afraid.org. 86400 IN NS ns2.afraid.org. afraid.org. 86400 IN NS ns3.afraid.org. afraid.org. 86400 IN NS ns4.afraid.org. ;; ADDITIONAL SECTION: ns1.afraid.org. 1800 IN A 70.84.177.198 ns2.afraid.org. 1800 IN A 204.11.167.30 ns3.afraid.org. 1800 IN A 69.28.135.46 ns4.afraid.org. 1800 IN A 70.86.10.35 ns5.afraid.org. 1800 IN A 70.86.10.32 ns6.afraid.org. 1800 IN A 70.86.10.33 ns7.afraid.org. 3600 IN A 70.86.10.34 ;; Query time: 157 msec ;; SERVER: 203.27.41.5#53(203.27.41.5) ;; WHEN: Mon Oct 24 20:30:22 2005 ;; MSG SIZE rcvd: 288 Regards, DigbyT -- Digby R. S. Tarvin [EMAIL PROTECTED] http://www.digbyt.com -- gentoo-user@gentoo.org mailing list