The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New domain - not sending emails - spam score 1

Discussion in 'E-mail Discussions' started by Filip Muller, Apr 18, 2016.

  1. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    hello everybody,

    i own a vps and already hosting another website on it since 5-6 years, wich has 4 email adresses set up with a gmail account (which works flawless - all emails received and sent are delivered)

    i have a problem after i just set up a brand new domain (bought it yesterday) i've set up the gmail account, i can receive emails, but i cannot send emails at all, they are by default marked with spam score 1, and i get Connection timed out

    i've set it up exactly like my other website (i have DKIM and SPF enabled) but it doesnt work as expected.

    attached is a printscreen from the track delivery screen from the new domain im tryin to set up.

    if anyone has an idea of what i could do, i would very much appreciate it.

    thank you in advance,

    Filip
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know the output from /var/log/exim_mainlog for one of these messages? EX:

    Code:
    exigrep user@gmail /var/log/exim_mainlog
    Thank you.
     
  3. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    thank you very much for your reply, here is [Removed - Please Add to thread in CODE tags]
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    yes, here it is:

    Code:
    root@uvps [~]# exigrep user@gmail /var/log/exim_mainlog
    [Removed]
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please post just the output that's relevant to the specific error message, as opposed to the entire output from the command. Ensure you replace actual email addresses and domain names with examples.

    Thank you.
     
  7. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    done

    Code:
    2016-04-18 18:31:07 1asB8j-0000ej-Lm H=mail-lf0-f48.google.com 209.85.215.48]:32962 Warning: "SpamAssassin as cpaneleximscanner detected OUTGOING smtp message as NOT spam (1.0)"
    2016-04-18 18:31:07 1asB8j-0000ej-Lm <= user@mynewdomain.com H=mail-lf0-f48.google.com [209.85.215.48]:32962 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128  CV=no A=dovecot_plain:user@mynewdomain.com S=1386 id=CAJP57aQQm673ZX+yWVBmWi1gK0s A4EO-u-Jgemtsh=EmvTZJFA@mail.gmail.com T="dfgsdf" for user@gmail.com
    2016-04-18 18:31:07 1asB8j-0000ej-Lm SMTP connection outbound 1460993467 1asB8j- 0000ej-Lm mynewdomain.com user@gmail.com
    2016-04-18 18:32:10 1asB8j-0000ej-Lm H=alt2.gmail-smtp-in.l.google.com [173.194. 72.26] Connection timed out
    2016-04-18 18:32:10 1asB8j-0000ej-Lm == user@gmail.com R=dkim_lookuph ost T=dkim_remote_smtp defer (110): Connection timed out
    2016-04-18 18:54:38 1asB8j-0000ej-Lm removed by root
    2016-04-18 18:54:38 1asB8j-0000ej-Lm Completed
    im sorry im not an experienced server administrator, i had whm preinstalled on the vps from the start, so didnt get the chance to get much into console
     
  8. ssfred

    ssfred Well-Known Member

    Joined:
    Jan 6, 2012
    Messages:
    62
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello

    Do you experience issues to send mails to any other domain or just for Gmail? The log indicates SMTP connection time out issue to the destination server which a common characteristics of firewall blocking . Please check and ensure that your firewall is configured to accept both ingress and egress connections for ports 25,465,587. SA score of 1 is quite normal and there is nothing to worry about it.
     
  9. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    hello ssfred, thank you very much for your reply,

    yes, i experience also for Yahoo mails. regarding the firewall, i dont have any firewall installed (but i do have clamav)

    after 24h, i receive an email stating this:

    Code:
    This message was created automatically by mail delivery software.
    A message that you sent has not yet been delivered to one or more of its
    recipients after more than 24 hours on the queue on uvps.dabigstash.com.
    
    The message identifier is:     1asK7h-00075s-HK
    The date of the message is:    Tue, 19 Apr 2016 04:06:37 +0300
    The subject of the message is: test
    
    The address to which the message has not yet been delivered is:
    
      user@gmail.com
    
    No action is required on your part. Delivery attempts will continue for
    some time, and this warning may be repeated at intervals if the message
    remains undelivered. Eventually the mail delivery software will give up,
    and when that happens, the message will be returned to you.
    
    Action: delayed
    Final-Recipient: rfc822;user@gmail.com
    Status: 4.0.0
    
    with an attached "noname" file, containing this:

    Code:
    Return-path: <contact@mynewdomain.com>
    Received: from mail-lf0-f42.google.com ([209.85.215.42]:34482)
        by myvpsdomain.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
        (Exim 4.86_1)
        (envelope-from <contact@mynewdomain.com>)
        id 1asK7h-00075s-HK
        for user@gmail.com; Tue, 19 Apr 2016 04:06:40 +0300
    Received: by mail-lf0-f42.google.com with SMTP id j11so1537702lfb.1
            for <user@gmail.com>; Mon, 18 Apr 2016 18:06:37 -0700 (PDT)
    X-Gm-Message-State: AOPr4FXoikbSIlsDpgLAzsppUJ1kbz/BkxXSYCb/5ZjrpbdRvjKPxPZaNNdlCfCIgB/IpRil4S/pDZqU1Gk+cA==
    MIME-Version: 1.0
    X-Received: by 10.112.198.166 with SMTP id jd6mr87535lbc.12.1461027997443;
    Mon, 18 Apr 2016 18:06:37 -0700 (PDT)
    Received: by 10.25.26.133 with HTTP; Mon, 18 Apr 2016 18:06:37 -0700 (PDT)
    Date: Tue, 19 Apr 2016 04:06:37 +0300
    X-Gmail-Original-Message-ID: <CAJP57aRdz8gc5o3EiPe1EMDmS+aDawjfL4zCMSr5roeSSiXc8w@mail.gmail.com>
    Message-ID: <CAJP57aRdz8gc5o3EiPe1EMDmS+aDawjfL4zCMSr5roeSSiXc8w@mail.gmail.com>
    Subject: test
    From: Grime Ting <contact@mynewdomain.com>
    To: Name <user@gmail.com>
    Content-Type: multipart/alternative; boundary=001a11c2ac90cb705a0530cc1624
    X-OutGoing-Spam-Status: No, score=1.0
     
  10. ssfred

    ssfred Well-Known Member

    Joined:
    Jan 6, 2012
    Messages:
    62
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello

    The mail delayed messages are just notifications about the presence of an undelivered mail in the queue. The system will retry for mail delivery at specified intervals before marking it as frozen. There is nothing to be concerned about it.

    Since the default firewall is not configured for these ports and you experience the mail delivery issue for multiple domains, I strongly believe that its a firewall related issue. Please execute the below commands from your server and check if you are able to connect
    telnet smtp.gmail.com 25
    telnet smtp.gmail.com 587
    telnet smtp.gmail.com 465

    If you fail to get connected to the ports, check the same after turning off the firewall.

    Running a server without any firewall is a great security risk. In my view CSF is quite efficient and is easy to manage. There are other softwares which serves the purpose. Please install and configure any of them for a secure hosting environment.
     
  11. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    hello ssfred, thank you very much for takin the time to help me out, here are the results:

    Code:
    root@uvps [~]# telnet smtp.gmail.com 25
    Trying 173.194.65.108...
    telnet: connect to address 173.194.65.108: Connection timed out
    Trying 173.194.65.109...
    telnet: connect to address 173.194.65.109: Connection timed out
    Trying 2a00:1450:4013:c00::6c...
    telnet: connect to address 2a00:1450:4013:c00::6c: Network is unreachable
    this is weird, because the other day i ran this command for port 25 and it gave me "this port canot be used for spam" (or something like this) message

    Code:
    root@uvps [~]# telnet smtp.gmail.com 587
    Trying 173.194.65.108...
    Connected to smtp.gmail.com.
    Escape character is '^]'.
    220 smtp.gmail.com ESMTP g78sm14286365wme.21 - gsmtp
    this 587 just stops here, i had to manually quit after about 15 minutes

    Code:
    root@uvps [~]# telnet smtp.gmail.com 465
    Trying 173.194.65.108...
    Connected to smtp.gmail.com.
    Escape character is '^]'.
    Connection closed by foreign host.
    the results are the same before and after clamav disabled

    also, spamassassin is all set on default values

    regarding the firewall, yes, i am aware of that, i will install CSF today

    thank you again for the reply, hope i will manage to fix this
     
  12. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    apparently my port 25 is blocked by my ISP, had no idea because 2 email accounts used on my primary website work (sending and receiving emails) and im also using them with google gmail, but this new email doesnt send emails from webmail or from google, although i've set it up the same as the other 2 emails..

    i changed to port 587 in WHM > Service Configuration > Service Manager - exim on another port, ticked both boxes but same "connection timed out" error

    is there any workaround on this?
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Port 587 is already enabled by default. Please try using an alternate port (e.g. 26) and let us know if that makes a difference. Also, to clarify, do you mean the ISP for your workstation, or are you referring to your hosting provider/data center?

    Thank you.
     
  14. Filip Muller

    Filip Muller Member

    Joined:
    Apr 18, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    Hi Michael

    (meanwhile i submitted a ticket because it drives me nutz xD, a colegue of yours is helping out right now)

    i tried 26, same result, only "connection timed out " and by ISP i mean the hosting company from which i got the vps
     
  15. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you post the ticket number here so we can update this thread with the outcome?

    Thank you.
     
Loading...

Share This Page