Problems with mail delivery
  • Hello!

    I have a VPS on intovps and I'm very satisfied with it but I have one issue with sending e-mails which I'm unable to solve. I will submit a ticket also, but I'm posting it here because some of other users may know the solution.

    The problem is when I send e-mails to Gmail addresses. I receive the following error:


    The mail server could not deliver mail to xxxxxx@gmail.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.

    ------ This is a copy of the message, including all the headers. ------

    Return-path:
    Received: from 78-2-100-2.adsl.net.t-com.hr ([78.2.100.2] helo=AttilioPC)
    by one.mediadirect.hr with esmtpa (Exim 4.69)
    (envelope-from )
    id 1ReT4m-00010u-Fp
    for xxxxxx@gmail.com; Sat, 24 Dec 2011 15:59:56 +0100
    Message-ID: <18BD6DCBD15C4CB88B827AADC9EF8595@AttilioPC>
    From: "Attilio Pessi"
    To: =?iso-8859-2?Q?Marija_=C6avar?=
    References: <55E6DF443BCF4525A463272754A1C816@AttilioPC>
    In-Reply-To:
    Subject: xxxxxxxxx
    Date: Sat, 24 Dec 2011 15:59:57 +0100
    Organization: Media Direct
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_0017_01CCC255.15B2A660"
    X-Priority: 3
    X-MSMail-Priority: Normal
    Importance: Normal
    X-Mailer: Microsoft Windows Live Mail 14.0.8089.726
    X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726


    I can normally send e-mails to other domains. I have noticed this problem only with Gmail so far.

    Any suggestions or solutions to this problem?

    Thanks and best regards,

    Attilio Pessi
  • Forgot to mention that I'm running CENTOS 5.7 i686 and WHM 11.30.5 (build 3).
  • Based on the error the recipient is not valid.

    On how many gmail email addresses have you received the error?

    Can you send the email to one of your gmail addresses that you know it's valid (create one for test if you don't have one)?

  • The recipient is valid, I get this error for every e-mail that I send to any Gmail user. When I use my ISP's SMTP, the mail is delivered normally.
  • Is there some mail server log entry, maybe a link with some more info regarding the error?
  • How to access the mail server log? Thanks.
  • Logs are usually found in /var/log and the file name depends on the mail server you're using.
  • Hello,

    apessi wrote: "When I use my ISP's SMTP, the mail is delivered normally."

    Might it be a problem with SPF (or DKIM)? You might not be allowed to send mails from you[at]yourISP[dot]com from _your_ server according to your ISP's SPF settings.

    You can check your ISP's SPF record with:

    host -t SPF yourISP[dot]com

    or

    host -t TXT yourISP[dot]com

    Best wishes for 2012!
    Wolfgang
  • Also send a email to check-auth@verifier.port25.com in order to check the email server settings (SPF+Domain Keys+DKIM) .
  • I have created TXT records, and here is a reply that I got from check-auth@verifier.port25.com


    This message is an automatic response from Port25's authentication verifier
    service at verifier.port25.com. The service allows email senders to perform
    a simple check of various sender authentication mechanisms. It is provided
    free of charge, in the hope that it is useful to the email community. While
    it is not officially supported, we welcome any feedback you may have at
    .

    Thank you for using the verifier,

    The Port25 Solutions, Inc. team

    ==========================================================
    Summary of Results
    ==========================================================
    SPF check: pass
    DomainKeys check: neutral
    DKIM check: neutral
    Sender-ID check: pass
    SpamAssassin check: ham

    ==========================================================
    Details:
    ==========================================================

    HELO hostname: one.mediadirect.hr
    Source IP: 46.102.245.164
    mail-from: info@mediadirect.hr

    ----------------------------------------------------------
    SPF check details:
    ----------------------------------------------------------
    Result: pass
    ID(s) verified: smtp.mailfrom=info@mediadirect.hr
    DNS record(s):
    mediadirect.hr. SPF (no records)
    mediadirect.hr. 300 IN TXT "v=spf1 a mx ip4:46.102.245.164 ip4:195.29.150.5 ip4:195.29.150.135 ?all"
    mediadirect.hr. 300 IN A 46.102.245.164

    ----------------------------------------------------------
    DomainKeys check details:
    ----------------------------------------------------------
    Result: neutral (message not signed)
    ID(s) verified: header.From=info@mediadirect.hr
    DNS record(s):

    ----------------------------------------------------------
    DKIM check details:
    ----------------------------------------------------------
    Result: neutral (message not signed)
    ID(s) verified:

    NOTE: DKIM checking has been performed based on the latest DKIM specs
    (RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
    older versions. If you are using Port25's PowerMTA, you need to use
    version 3.2r11 or later to get a compatible version of DKIM.

    ----------------------------------------------------------
    Sender-ID check details:
    ----------------------------------------------------------
    Result: pass
    ID(s) verified: header.From=info@mediadirect.hr
    DNS record(s):
    mediadirect.hr. SPF (no records)
    mediadirect.hr. 300 IN TXT "v=spf1 a mx ip4:46.102.245.164 ip4:195.29.150.5 ip4:195.29.150.135 ?all"
    mediadirect.hr. 300 IN A 46.102.245.164

    ----------------------------------------------------------
    SpamAssassin check details:
    ----------------------------------------------------------
    SpamAssassin v3.3.1 (2010-03-16)

    Result: ham (-1.8 points, 5.0 required)

    pts rule name description
    ---- ---------------------- --------------------------------------------------
    -2.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain
    -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
    [score: 0.0000]
    0.4 MIME_HTML_MOSTLY BODY: Multipart message mostly text/html MIME
    0.0 HTML_MESSAGE BODY: HTML included in message
    2.3 EMPTY_MESSAGE Message appears to have no textual parts and no
    Subject: text

    ==========================================================
    Explanation of the possible results (from RFC 5451)
    ==========================================================


    ==========================================================
    Original Email
    ==========================================================

    Return-Path:
    Received: from one.mediadirect.hr (46.102.245.164) by verifier.port25.com id hvm7u011u9cq for ; Fri, 30 Dec 2011 05:18:08 -0500 (envelope-from )
    Authentication-Results: verifier.port25.com; spf=pass smtp.mailfrom=info@mediadirect.hr
    Authentication-Results: verifier.port25.com; domainkeys=neutral (message not signed) header.From=info@mediadirect.hr
    Authentication-Results: verifier.port25.com; dkim=neutral (message not signed)
    Authentication-Results: verifier.port25.com; sender-id=pass header.From=info@mediadirect.hr
    Received: from 78-2-123-109.adsl.net.t-com.hr ([78.2.123.109] helo=AttilioPC)
    by one.mediadirect.hr with esmtpa (Exim 4.69)
    (envelope-from )
    id 1RgZXL-0006NK-11
    for check-auth@verifier.port25.com; Fri, 30 Dec 2011 11:18:07 +0100
    Message-ID: <6D8A78B4839B479986F54982C5E005C0@AttilioPC>
    From: "Attilio Pessi"
    To:
    Subject:
    Date: Fri, 30 Dec 2011 11:18:15 +0100
    Organization: Media Direct
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_0007_01CCC6E4.B9C1A2E0"
    X-Priority: 3
    X-MSMail-Priority: Normal
    Importance: Normal
    X-Mailer: Microsoft Windows Live Mail 14.0.8089.726
    X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - one.mediadirect.hr
    X-AntiAbuse: Original Domain - verifier.port25.com
    X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
    X-AntiAbuse: Sender Address Domain - mediadirect.hr

    This is a multi-part message in MIME format.

    ------=_NextPart_000_0007_01CCC6E4.B9C1A2E0
    Content-Type: text/plain;
    charset="windows-1250"
    Content-Transfer-Encoding: quoted-printable


    ------=_NextPart_000_0007_01CCC6E4.B9C1A2E0
    Content-Type: text/html;
    charset="windows-1250"
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    http-equiv=3DContent-Type>

    15px"=20
    id=3DMailContainerBody leftMargin=3D0 topMargin=3D0 =
    CanvasTabStop=3D"true"=20
    name=3D"Compose message area">
     


    ------=_NextPart_000_0007_01CCC6E4.B9C1A2E0--




    Any suggestions?

    Thanks,

    Attilio
  • The problem was solved after server reboot ;)
    Thanks for assistance.

    I wish Happy New Year to all of you!

    Best regards,

    Attilio Pessi
    www.mediadirect.hr
  • Great. Next time check your mail server logs in /var/log.
  • If anyone has an issue setting up your email, you can send an email to mailtest@unlocktheinbox.com, it works similar to the port 25 one. Except that it gives you more information on how to fix it.