Mails from root stay in mail queue

starofnight

Member
Sep 28, 2018
7
0
1
Iran
cPanel Access Level
Root Administrator
Hello
I set an email address in System Mail Preferences to forward emails from root to this address, but still email stay in the server mail queue. Please help in this issue cause I have loads of them.
 

starofnight

Member
Sep 28, 2018
7
0
1
Iran
cPanel Access Level
Root Administrator
Thanks for your reply
I tested it with a gmail account and I receive emails in my gmail account but the problem is that emails stay in the queue even after delivering in forwarded address.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @starofnight,

Can you let us know the output when clicking on "Force Delivery Of This Message" in WHM >> Mail Queue Manager? Ensure to paste the output in CODE tags and replace any real domain names and IP addresses with examples.

Thank you.
 

starofnight

Member
Sep 28, 2018
7
0
1
Iran
cPanel Access Level
Root Administrator
Code:
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1gc3Yi-0006Je-Fk
delivering 1gc3Yi-0006Je-Fk
LOG: MAIN
  Sender identification U=mailnull D=-system- S=mailnull
Connecting to [email protected] [forwarded IP address]:25 ... connected
  SMTP<< 220 forwardeddomain.example ESMTP Exim 4.90 Wed, 26 Dec 2018 10:57:39 +0330
  SMTP>> EHLO servername.example
  SMTP<< 250-forwardeddomain.example Hello servername.example [server IP]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250-AUTH PLAIN LOGIN
         250-STARTTLS
         250 HELP
  SMTP>> STARTTLS
  SMTP<< 220 TLS go ahead
LOG: MAIN
  [forwarded IP address] SSL verify error: depth=0 error=self signed certificate cert=/C=GB/ST=Someprovince/L=Sometown/O=none/OU=none/CN=localhost/[email protected]
LOG: MAIN
  [forwarded IP address] SSL verify error: certificate name mismatch: DN="/C=GB/ST=Someprovince/L=Sometown/O=none/OU=none/CN=localhost/[email protected]" H="forwardeddomain.example"
  SMTP>> EHLO servername.example
  SMTP<< 250-forwardeddomain.example Hello servername.example [server IP]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250-AUTH PLAIN LOGIN
         250 HELP
  SMTP>> MAIL FROM:<> SIZE=3594
  SMTP>> RCPT TO:<[email protected]>
  SMTP>> DATA
  SMTP<< 452 Space shortage, please try later
  SMTP<< 503 sender not yet given
  SMTP<< 503-All RCPT commands were rejected with this error:
         503-503 sender not yet given
         503 Valid RCPT command must precede DATA
LOG: MAIN
  H=forwardeddomain.example [forwarded IP address]: SMTP error from remote mail server after pipelined MAIL FROM:<> SIZE=3594: 452 Space shortage, please try later
  SMTP>> QUIT
  SMTP(close)>>
LOG: MAIN
  == [email protected] <[email protected]> R=dkim_lookuphost T=dkim_remote_smtp defer (-45) H=forwardeddomain.example [forwarded IP address]: SMTP error from remote mail server after pipelined MAIL FROM:<> SIZE=3594: 452 Space shortage, please try later
I have this message, I think the problem is lack of enough space in the forwarded email account.
 

starofnight

Member
Sep 28, 2018
7
0
1
Iran
cPanel Access Level
Root Administrator
Thanks for your reply
I also have another log as below
Code:
LOG: MAIN
  cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1gcVRg-0003ma-B8
delivering 1gcVRg-0003ma-B8
LOG: MAIN
  Sender identification U=root D=-system- S=root
Connecting to forwarded_domain [forwarded IP]:25 ... connected
  SMTP<< 220 forwarded_domain ESMTP Exim 4.90 Sat, 29 Dec 2018 09:08:26 +0330
  SMTP>> EHLO servername
  SMTP<< 250-forwarded_domain Hello servername [server IP]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250-AUTH PLAIN LOGIN
         250-STARTTLS
         250 HELP
  SMTP>> STARTTLS
  SMTP<< 220 TLS go ahead
LOG: MAIN
  [forwarded IP] SSL verify error: depth=0 error=self signed certificate cert=/C=GB/ST=Someprovince/L=Sometown/O=none/OU=none/CN=localhost/[email protected]
LOG: MAIN
  [forwarded IP] SSL verify error: certificate name mismatch: DN="/C=GB/ST=Someprovince/L=Sometown/O=none/OU=none/CN=localhost/[email protected]" H="forwarded_domain"
  SMTP>> EHLO servername
  SMTP<< 250-forwarded_domain Hello servername [server IP]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250-AUTH PLAIN LOGIN
         250 HELP
  SMTP>> MAIL FROM:<[email protected]> SIZE=1763
  SMTP>> RCPT TO:<forwarded email address>
  SMTP>> DATA
  SMTP<< 421 Unexpected failure, please try later
  SMTP<< 421 Unexpected failure, please try later
  SMTP<< 421 Unexpected failure, please try later
LOG: MAIN
  H=forwarded_domain [Forwarded IP address]: SMTP error from remote mail server after pipelined MAIL FROM:<[email protected]> SIZE=1763: 421 Unexpected failure, please try later
  SMTP>> QUIT
  SMTP(close)>>
LOG: MAIN
  == forwarded email address <[email protected]> R=lookuphost T=remote_smtp defer (-45) H=forwarded_domain [forwarded IP]: SMTP error from remote mail server after pipelined MAIL FROM:<[email protected]> SIZE=1763: 421 Unexpected failure, please try later
is this because lack of space too?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
SMTP<< 421 Unexpected failure, please try later
Hello @starofnight,

It's possible the error message relates to an issue with the remote mail server, where it's rejecting emails from your server. Do you receive this error when sending emails to a specific remote domain name, or is this happening across mail delivery attempts to multiple remote servers?

Thank you.