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.

Email not sending or Receiving

Discussion in 'E-mail Discussions' started by maccmiles, Nov 1, 2015.

  1. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    I have a rather clean install of Cpanel on CentOS 6.7 running on a VMware VM. Most of the settings are default, I have only tweaked the settings of things that I am familiar with.

    When I send an email either incoming or outgoing, I get an error a few days later stating delivery failure. I am regretfully using Optimum DynDNS Service to forward my domain to my IP Address.
    I have the following subdomains going through DynDNS to my IP
    srv1. (Other Server - Unrelated)
    webmail.
    cpanel.
    whm.
    www.
    cps. (hostname)
    mail.
    I have Port 80 and 25 turned on on my Modem, and i have the following ports open on my router pointing to the Cpanel Server (should be more than enough)
    6. cps whm 2087
    7. cps cpanel 2083
    8. cps ftp 20-21
    9. cps http 80
    10. cps webmail 2095
    11. cps Imap 143
    12. cps Imap SSL 993
    13. cps POP 110
    14. cps POP SSL 995
    15. cps SMTP 25
    16. cps SMTP SSL 465
    18 cps SSL 443
    My only Thoughts could be it must be software side I have looked at many forums and cannot seem to find the cause of my problem anywhere. Any Help / Suggestions would be more than appreciated.
     
    xaydunghoboi.net likes this.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    What's the specific delivery failure message that you receive? Do you notice any entries in /var/log/exim_mainlog related to the failure?

    Thank you.
     
  3. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please use a command such as "exigrep user@domain /var/log/exim_mainlog" to obtain the output in /var/log/exim_mainlog that matches up to the error message.

    Thank you.
     
  5. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    Output from console (removed domains and ips for security reasons)
    Code:
    Last login: Sun Nov  1 15:59:07 2015 from ipaddress
    [~]# exigrep user@domain /var/log/exim_mainlog
    2015-11-01 16:20:42 1Zt03O-0003YH-F7 <= user@domain H=(webmail.domain) [::1]:39935 P=esmtpa A=dovecot_login:user S=601 id=0e33e91d531c670b9674daa0598cef5d@domain T="email" for user@gmail.com
    2015-11-01 16:20:42 1Zt03O-0003YH-F7 SMTP connection outbound 1446412842 1Zt03O-0003YH-F7 domain user@gmail.com
    2015-11-01 16:22:50 1Zt03O-0003YH-F7 H=gmail-smtp-in.l.gmail.com [173.194.205.26] Connection timed out
    2015-11-01 16:22:50 1Zt03O-0003YH-F7 == user@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    2015-11-01 20:32:41 1Zt03O-0003YH-F7 H=gmail-smtp-in.l.gmail.com [173.194.205.27] Connection timed out
    2015-11-01 20:34:48 1Zt03O-0003YH-F7 H=alt3.gmail-smtp-in.l.gmail.com [64.233.166.26] Connection timed out
    2015-11-01 20:34:48 1Zt03O-0003YH-F7 == user@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    2015-11-01 20:34:48 1Zt03O-0003YH-F7 ** user@gmail.com: retry timeout exceeded
    2015-11-01 20:34:48 1Zt03O-0003YH-F7 Completed
    
    2015-11-01 20:34:48 1Zt41I-0005Uq-Qh <= <> R=1Zt03O-0003YH-F7 U=mailnull P=local S=1835 T="Mail delivery failed: returning message to sender" for user@domain
    2015-11-01 20:34:49 1Zt41I-0005Uq-Qh => user <user@domain> R=localuser T=local_delivery
    2015-11-01 20:34:49 1Zt41I-0005Uq-Qh Completed
    
    2015-11-01 10:33:10 1Zsud4-0004YK-Cg <= user@domain H=(webmail.domain) [::1]:45030 P=esmtpa A=dovecot_login:user S=623 id=e0c3ce7f0eae1ab02a6a98392f98e6ff@domain T="outgoing" for user@gmail.com
    2015-11-01 10:33:10 1Zsud4-0004YK-Cg SMTP connection outbound 1446391990 1Zsud4-0004YK-Cg domain user@gmail.com
    2015-11-01 10:35:17 1Zsud4-0004YK-Cg Spool file is locked (another process is handling this message)
    2015-11-01 10:35:18 1Zsud4-0004YK-Cg H=gmail-smtp-in.l.gmail.com [173.194.206.26] Connection timed out
    2015-11-01 10:35:18 1Zsud4-0004YK-Cg == user@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    2015-11-01 22:32:43 1Zsud4-0004YK-Cg ** user@gmail.com R=dkim_lookuphost T=dkim_remote_smtp: retry time not reached for any host after a long failure period
    2015-11-01 22:32:43 1Zsud4-0004YK-Cg Completed
    
    2015-11-01 22:32:43 1Zt5rP-0006MO-1r <= <> R=1Zsud4-0004YK-Cg U=mailnull P=local S=1898 T="Mail delivery failed: returning message to sender" for user@domain
    2015-11-01 22:32:43 1Zt5rP-0006MO-1r => user <user@domain> R=localuser T=local_delivery
    2015-11-01 22:32:43 1Zt5rP-0006MO-1r Completed
    
    2015-11-02 13:31:24 1ZtJt6-0004iT-Q6 <= <> R=1Zsv9S-0005m2-4S U=mailnull P=local S=2179 T="Warning: message 1Zsv9S-0005m2-4S delayed 24 hours" for user@domain
    2015-11-02 13:31:25 1ZtJt6-0004iT-Q6 => user <user@domain> R=localuser T=local_delivery
    2015-11-02 13:31:25 1ZtJt6-0004iT-Q6 Completed
    
    2015-11-03 14:33:16 1ZthKW-00083U-ON <= <> R=1Zsv9S-0005m2-4S U=mailnull P=local S=2184 T="Warning: message 1Zsv9S-0005m2-4S delayed 48 hours" for user@domain
    2015-11-03 14:33:17 1ZthKW-00083U-ON => user <user@domain> R=localuser T=local_delivery
    2015-11-03 14:33:17 1ZthKW-00083U-ON Completed
    
    2015-11-04 14:47:17 1Zu41d-0002wy-Do <= <> R=1Zsv9S-0005m2-4S U=mailnull P=local S=2184 T="Warning: message 1Zsv9S-0005m2-4S delayed 72 hours" for user@domain
    2015-11-04 14:47:17 1Zu41d-0002wy-Do => user <user@domain> R=localuser T=local_delivery
    2015-11-04 14:47:17 1Zu41d-0002wy-Do Completed
    
    2015-11-01 11:06:38 1Zsv9S-0005m2-4S <= user@domain H=(webmail.domain) [::1]:45268 P=esmtpa A=dovecot_login:user S=509 id=56214e5e2e3844355448fbb5062e2223@domain T="SDFsdfsdA" for user@otherdomain
    2015-11-01 11:06:38 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 11:30:39 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 12:30:34 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 13:32:41 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 14:43:19 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 16:30:40 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 19:30:34 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-01 23:47:32 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-02 05:31:24 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-02 13:31:24 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-02 21:31:24 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-03 05:33:17 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-03 14:33:16 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-03 22:46:20 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-04 06:47:17 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-04 14:47:17 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-04 22:47:17 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-05 06:47:20 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-05 11:47:20 1Zsv9S-0005m2-4S == user@otherdomain R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/otherdomain/mail/otherdomain/user/maildirsize
    2015-11-05 11:47:20 1Zsv9S-0005m2-4S ** user@otherdomain: retry timeout exceeded
    2015-11-05 11:47:20 1Zsv9S-0005m2-4S Completed
    
    2015-11-05 11:47:20 1ZuNh2-0003wA-Rv <= <> R=1Zsv9S-0005m2-4S U=mailnull P=local S=1748 T="Mail delivery failed: returning message to sender" for user@domain
    2015-11-05 11:47:21 1ZuNh2-0003wA-Rv => user <user@domain> R=localuser T=local_delivery
    2015-11-05 11:47:21 1ZuNh2-0003wA-Rv Completed
    
    
    
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Is this issue isolated to Google? You can verify if connections are rejected with a command such as:

    Code:
    telnet alt4.gmail-smtp-in.l.google.com 25
    If so, check to ensure there are no firewall rules on your system blocking access to Google. It's also possible that Google is blocking connections from your server, or that all outgoing connections over port 25 on your system are failing due to your provider blocking the port.

    Thank you.
     
  7. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    Code:
    Installed:
      telnet.x86_64 1:0.17-59.el7
    
    Complete!
    root@cps [~]# telnet alt4.gmail-smtp-in.l.google.com 25
    Trying 74.125.136.26...
    telnet: connect to address 74.125.136.26: Connection timed out
    Trying 2a00:1450:4013:c01::1a...
    telnet: connect to address 2a00:1450:4013:c01::1a: Network is unreachable
    root@cps [~]#
    
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, even though you have opened the ports in your firewall and router, it's still possible that your ISP has blocked outgoing connections over port 25. Please report this issue to your ISP or hosting provider and have them open port 25 (assuming it happens when testing any remote mail server).

    Thank you.
     
  9. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    Thank you, I toggled port 25 on my modem, and after the reboot, my incoming messages go through, but any outgoing messages are still being held up for some reason, It's been about 11 hours and no messages that I sent out from the server have arrived at their destination, nor have i received a mailman error receipt.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Is there any change to the output of the "telnet" command? If not, you still need to contact your hosting provider or ISP to report the issue.

    Thank you.
     
  11. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    Yes, I can successfully telnet into google
    Code:
    [~]# telnet alt4.gmail-smtp-in.l.google.com 25
    Trying 173.194.65.27...
    Connected to alt4.gmail-smtp-in.l.google.com.
    Escape character is '^]'.
    220 mx.google.com ESMTP x11si18908190wju.95 - gsmtp
    
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  13. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    yes, I am logged into my server running that command via ssh, messages from google to the server work, but messages from the server to google don't go through, I haven't received an error email from the server saying that the message was undeliverable, it just hasn't gone through as of yesterday evening.
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Is this only happening with Google at this point, or with any remote mail server? You may need to consult with Google directly if there's no bounce:

    Troubleshooting for bulk email senders - Gmail Help

    Thank you.
     
  15. maccmiles

    maccmiles Member

    Joined:
    Oct 25, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Conneticut
    cPanel Access Level:
    Root Administrator
    Ah, I see, All of my server notifications and messages have been marked as spam. Thank you very much.
     
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page