SMTP server not sending out any emails

16,934

The error code (5.3.5) refers to a configuration inconsistency that might cause the mail server to loop an email back to itself.

Do you already host an Exchange organization on the server? Or maybe host gmx.com. as a stub zone in your local DNS server?

Share:
16,934

Related videos on Youtube

Naveenprasath Paranthaman
Author by

Naveenprasath Paranthaman

Updated on September 18, 2022

Comments

  • Naveenprasath Paranthaman
    Naveenprasath Paranthaman over 1 year

    I've installed SMTP service on Windows Server 2008.

    I'm attempting to send emails, however none get delivered. I've scoured logs for a long time, and have solved a few errors.

    Currently all emails dropped in the pickup folder are being sent to the badmail folder. The error in the logs is:

    Message delivery to the remote domain 'scirra.com' failed for the following reason: Unable to deliver the message because the destination address was misconfigured as a mail loop.
    

    I also downloaded and ran SMTPDiag.exe which gives the following error:

    enter image description here

    Can anyone help me solve this issue? I'm completely stuck, I've offered to pay our host to fix it but they insist it's all setup correctly. I have a feeling it might be a misconfigured DNS record? I'm not really sure. Thanks for any help.

    Here's our DNS info it it helps at all? http://www.intodns.com/scirra.com

    Edit, more info

    I drop the following file into my pickup folder:

    to:[email protected]
    from:[email protected]
    subject:This is a test.
    
    this is a test.
    

    The gmx address is a temp one I've set up for tests. 3 entries pretty much immediately appear in our badmail folder:

    .bad file

    From: [email protected]
    To: [email protected]
    Date: Sun, 26 Feb 2012 20:12:47 +0000
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
        boundary="9B095B5ADSN=_01CCF45544F0D21F00000011WIN?MT04GJ7U5CB."
    X-DSNContext: 7ce717b1 - 1378 - 00000002 - C00402CF
    Message-ID: <[email protected]>
    Subject: Delivery Status Notification (Failure)
    
    This is a MIME-formatted message.  
    Portions of this message may be unreadable without a MIME-capable mail program.
    
    --9B095B5ADSN=_01CCF45544F0D21F00000011WIN?MT04GJ7U5CB.
    Content-Type: text/plain; charset=unicode-1-1-utf-7
    
    This is an automatically generated Delivery Status Notification.
    
    Delivery to the following recipients failed.
    
           [email protected]
    
    
    
    
    --9B095B5ADSN=_01CCF45544F0D21F00000011WIN?MT04GJ7U5CB.
    Content-Type: message/delivery-status
    
    Reporting-MTA: dns;WIN-MT04GJ7U5CB.DNSS
    Received-From-MTA: dns;WIN-MT04GJ7U5CB.DNSS
    Arrival-Date: Sun, 26 Feb 2012 20:12:47 +0000
    
    Final-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.3.5
    
    --9B095B5ADSN=_01CCF45544F0D21F00000011WIN?MT04GJ7U5CB.
    Content-Type: message/rfc822
    
    Received: from mail pickup service by WIN-MT04GJ7U5CB.DNSS with Microsoft SMTPSVC;
         Sun, 26 Feb 2012 20:12:47 +0000
    to:[email protected]
    from:[email protected]
    subject:This is a test.
    Message-ID: <[email protected]>
    X-OriginalArrivalTime: 26 Feb 2012 20:12:47.0741 (UTC) FILETIME=[02119AD0:01CCF4C3]
    Date: 26 Feb 2012 20:12:47 +0000
    
    this is a test.
    
    
    --9B095B5ADSN=_01CCF45544F0D21F00000011WIN?MT04GJ7U5CB.--
    

    .bdp

    Can't tell anything useful from contents of this file

    .bdr

    Unable to deliver this message because the follow error was encountered: "This message is a delivery status notification that cannot be delivered.".
    
    The specific error code was 0xC00402C7.
    
    
    The message sender was <>.
    
    
    The message was intended for the following recipients.
        [email protected]
    

    Telnet Test

    These are the commands I enter into Telnet (responses are in asterix)

    telnet localhost 25
    helo www.scirra.com
    **250 WIN-MT04GJ7U5CB.DNSS Hello [127.0.0.1]**
    mail from:[email protected]
    **250 2.1.0 [email protected] OK**
    rcpt to:[email protected]
    **250 2.1.5 [email protected]**
    data
    **354 Start mail input; end with <CRLF>.<CRLF>**
    subject: testing email
    
    testing email content
    
    .
    **250 2.6.0 <[email protected]> Queued mail for delivery**
    

    This creates a badmail file:

    From: [email protected]
    To: [email protected]
    Date: Sun, 26 Feb 2012 20:20:32 +0000
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
        boundary="9B095B5ADSN=_01CCF45544F0D21F00000013WIN?MT04GJ7U5CB."
    X-DSNContext: 7ce717b1 - 1378 - 00000002 - C00402CF
    Message-ID: <[email protected]>
    Subject: Delivery Status Notification (Failure)
    
    This is a MIME-formatted message.  
    Portions of this message may be unreadable without a MIME-capable mail program.
    
    --9B095B5ADSN=_01CCF45544F0D21F00000013WIN?MT04GJ7U5CB.
    Content-Type: text/plain; charset=unicode-1-1-utf-7
    
    This is an automatically generated Delivery Status Notification.
    
    Delivery to the following recipients failed.
    
           [email protected]
    
    
    
    
    --9B095B5ADSN=_01CCF45544F0D21F00000013WIN?MT04GJ7U5CB.
    Content-Type: message/delivery-status
    
    Reporting-MTA: dns;WIN-MT04GJ7U5CB.DNSS
    Received-From-MTA: dns;www.scirra.com
    Arrival-Date: Sun, 26 Feb 2012 20:19:43 +0000
    
    Final-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.3.5
    
    --9B095B5ADSN=_01CCF45544F0D21F00000013WIN?MT04GJ7U5CB.
    Content-Type: message/rfc822
    
    Received: from www.scirra.com ([127.0.0.1]) by WIN-MT04GJ7U5CB.DNSS with Microsoft SMTPSVC(7.5.7601.17514);
         Sun, 26 Feb 2012 20:19:43 +0000
    subject: testing email
    From: [email protected]
    Bcc:
    Return-Path: [email protected]
    Message-ID: <[email protected]>
    X-OriginalArrivalTime: 26 Feb 2012 20:20:22.0045 (UTC) FILETIME=[10DAE4D0:01CCF4C4]
    Date: 26 Feb 2012 20:20:22 +0000
    
    testing email content
    
    
    
    --9B095B5ADSN=_01CCF45544F0D21F00000013WIN?MT04GJ7U5CB.--
    
  • Naveenprasath Paranthaman
    Naveenprasath Paranthaman about 12 years
    I'm not really sure what Exchange organisation is I'm afraid :( All I'm trying to do is get our server to send emails so our website can send emails for forgotten passwords, newsletters etc. Currently we use google apps to receive email for address [email protected], we just want now to set our own SMTP server to send emails to people now but they always fail and don't send. We can't use google apps to send mail as we exceed their limits.
  • Mathias R. Jessen
    Mathias R. Jessen about 12 years
    Try changing the DNS servers used by the server. For example to googles public DNS: code.google.com/speed/public-dns
  • Mathias R. Jessen
    Mathias R. Jessen about 12 years
    @TomGullen The SPF record could very well affect it (which was one of the reasons i suggested you updated it) ;-)
  • Naveenprasath Paranthaman
    Naveenprasath Paranthaman about 12 years
    Ok I've deleted the SPF for now to see if it's the reason, I guess I have to wait a few hours for these changes to work
  • Mathias R. Jessen
    Mathias R. Jessen about 12 years
    you'll have to wait up to 7200 seconds = 2 hours