Koozali.org: home of the SME Server

New mail server doesn't accept data

Offline ElFroggio

  • *
  • 262
  • +0/-0
New mail server doesn't accept data
« on: July 10, 2011, 04:00:09 PM »
I have setup a new mail server at: disruptive-tech-edge.com I think that I configured correctly, but obviously not. I'm trying to send an email and I get:

DATA not accepted from server:

Code: [Select]
Resolving hostname...
Connecting...
SMTP -> FROM SERVER:
220 collective.disruptive-tech-edge.com ESMTP
SMTP -> FROM SERVER:
250-disruptive-tech-edge.com Hi node-mec2.wormly.com [184.72.226.23]
250-PIPELINING
250-8BITMIME
250-SIZE 500000000
250 STARTTLS
MAIL FROM: syv@sqlhacks.com
SMTP -> FROM SERVER:
250 , sender OK - how exciting to get mail from you!
RCPT TO: jim@disruptive-tech-edge.com
SMTP -> FROM SERVER:
250 , recipient ok
Sending Mail Message Body...
SMTP -> FROM SERVER:
354 go ahead
SMTP -> FROM SERVER:
SMTP -> ERROR: DATA not accepted from server:
Message sending failed.

and from my sme server (which is working well), I get:

Code: [Select]
2011-07-09 14:13:49.470615500 new msg 42206932
2011-07-09 14:13:49.470616500 info msg 42206932: bytes 721 from <syv@sqlhacks.com> qp 31883 uid 453
2011-07-09 14:13:49.493956500 starting delivery 4897: msg 42206932 to remote jim@disruptive-tech-edge.com
2011-07-09 14:13:49.493959500 status: local 0/10 remote 1/20
2011-07-09 14:13:49.955289500 delivery 4897: failure: Sorry,_I_couldn't_find_a_mail_exchanger_or_IP_address._(#5.4.4)/
2011-07-09 14:13:49.955290500 status: local 0/10 remote 0/20
2011-07-09 14:13:49.961527500 bounce msg 42206932 qp 31885
2011-07-09 14:13:49.961558500 end msg 42206932

and here's the mx info:

Code: [Select]
Dig disruptive-tech-edge.com@dns1.easydns.com (64.68.192.10) ...
Authoritative Answer
 Query for disruptive-tech-edge.com type=255 class=1
  disruptive-tech-edge.com SOA (Zone of Authority)
        Primary NS: dns0.easydns.com
        Responsible person: zone@easydns.com
        serial:1310165175
        refresh:43200s (12 hours)
        retry:10800s (3 hours)
        expire:604800s (7 days)
        minimum-ttl:1800s (30 minutes)
  disruptive-tech-edge.com A (Address) 66.183.17.8
  disruptive-tech-edge.com MX (Mail Exchanger) Priority: 100 collective.disruptive-tech-edge.com
  disruptive-tech-edge.com NS (Nameserver) dns2.easydns.net
  disruptive-tech-edge.com NS (Nameserver) dns3.easydns.ca
  disruptive-tech-edge.com NS (Nameserver) dns1.easydns.com

Any idea on what's wrong? The mx looks like it's setup properly since they have negotiated the 1st part of the email.

Thanks

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: New mail server doesn't accept data
« Reply #1 on: July 10, 2011, 04:11:43 PM »
It looks like you need to create an 'A' entry for collective.disruptive-tech-edge.com, or change the MX record to return simply disruptive-tech-edge.com:
Code: [Select]
[root@sme ~]# nslookup -type=mx disruptive-tech-edge.com 4.2.2.1
Server:         4.2.2.1
Address:        4.2.2.1#53

Non-authoritative answer:
disruptive-tech-edge.com        mail exchanger = 100 collective.disruptive-tech-edge.com.

Authoritative answers can be found from:

[root@sme ~]# nslookup collective.disruptive-tech-edge.com. 4.2.2.1
Server:         4.2.2.1
Address:        4.2.2.1#53

Non-authoritative answer:
*** Can't find collective.disruptive-tech-edge.com.: No answer



Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: New mail server doesn't accept data
« Reply #2 on: July 10, 2011, 07:19:15 PM »
It looks like you need to create an 'A' entry for collective.disruptive-tech-edge.com, or change the MX record to return simply disruptive-tech-edge.com

The MX record can just be deleted.

This DNS issue however doesn't explain the originally reported "DATA not accepted from server". I don't know where that message is from, but I don't think it's SME server.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: New mail server doesn't accept data
« Reply #3 on: July 11, 2011, 02:02:40 PM »
I notice that you have now set up multiple MX records for this domain:

Code: [Select]
;; ANSWER SECTION:
disruptive-tech-edge.com. 1800 IN MX 200 mx-caprica.easydns.com.
disruptive-tech-edge.com. 1800 IN MX 100 collective.disruptive-tech-edge.com.

I'd advise you not to do this. Backup MX is not necessary (unless your server will be off-Net for long periods of time), and will make it harder for you to keep spam out of your system. You are also more likely to lose mail this way (if the backup MX is not configured correctly).