Hi,

We host a website for a client who runs their own mailserver at their premises, so we have adjusted the MX record accordingly to direct incoming mail directly to their server. However, I notice in our mailserver logs that we are rejecting mail for their domain. The mail shouldn't be coming near our MX though. It's being rejected because the user accounts for the emails do not exist on our server (because they were created on the companies local server).

Here is a copy of an nslookup on the domain:

C:\>nslookup
Default Server: ns1.i-gate.net
Address: 58.69.254.140

> server 216.108.227.20
Default Server: serverpoint.com
Address: 216.108.227.20

> set q=all
> solentmotorgroup.co.uk
Server: serverpoint.com
Address: 216.108.227.20

solentmotorgroup.co.uk MX preference = 10, mail exchanger = solent02.gotadsl.co
.uk
solentmotorgroup.co.uk text =

"v=spf1 a mx ip4:216.108.227.20 ?all"
solentmotorgroup.co.uk internet address = 216.108.227.20
solentmotorgroup.co.uk
primary name server = ns1.snowweb.info
responsible mail addr = root.solentmotorgroup.co.uk
serial = 2008060400
refresh = 14400 (4 hours)
retry = 3600 (1 hour)
expire = 1209600 (14 days)
default TTL = 86400 (1 day)
solentmotorgroup.co.uk nameserver = ns1.snowweb.info
solentmotorgroup.co.uk nameserver = ns2.snowweb.info
solent02.gotadsl.co.uk internet address = 62.3.239.146
ns1.snowweb.info internet address = 216.108.227.20
ns2.snowweb.info internet address = 216.108.227.21
>

When I do a perform a mailserver test using an online tool eg: http://mxtoolbox.com/ and I test our customers domain (solentmotorgroup.co.uk) into their diagnostic tool, it connects to our mailserver at 216.108.227.20 instead of our customers at 62.3.239.146

The DNS information for solentmotorgroup.co.uk is below:

ftp A 216.108.227.20
localhost A 127.0.0.1
mail A 62.3.239.146
pop A 62.3.239.146
solentmotorgroup.co.uk. A 216.108.227.20
www A 216.108.227.20
www.mail A 62.3.239.146
solentmotorgroup.co.uk. NS ns1.snowweb.info.
solentmotorgroup.co.uk. NS ns2.snowweb.info.
solent02.gotadsl.co.uk. MX 10
solentmotorgroup.co.uk. TXT "v=spf1 a mx ip4:62.3.239.146 ?all"

Does anyone have any suggestions please?

Thanks in advance.

This is solved now :)

The MX record was wrong. It should have been:

www.mail 14400 IN A 62.3.239.146

instead of:

solentmotorgroup.co.uk. 14400 IN MX 10 solent02.gotadsl.co.uk.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.