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 forwarding to external email addresses stop working

Discussion in 'E-mail Discussions' started by Dmitri Pritsker, Oct 21, 2015.

  1. Dmitri Pritsker

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    • CENTOS 6.7 x86_64 standard
    • WHM 11.52.0 (build 17)
    • Looks like starting Ocotober 19th , 2015 our email forwarding to external addresses stop working. Internal addresses forwarding still works. Maybe the recent update cause the issue?
    • Bounced back email :
    • (ultimately generated from **** 'hr-jobs @ example.com)
      check_mail_permissions failed to complete or set a status
    • Any ideas? I do not think we have changed anything on our end - it was working fine for years.
    • THanks,
     
    #1 Dmitri Pritsker, Oct 21, 2015
    Last edited by a moderator: Oct 21, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

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

    Code:
    exigrep user@domain /var/log/exim_mainlog
    Ensure you post the output in CODE tags and remove any domain/IP identifying details.

    Thank you.
     
  3. Dmitri Pritsker

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    thank you for the reply. Again, please note that we had no issue prior to October 19th. 2015.

    See below requested:

    Code:
    2015-10-22 14:08:10 1ZpKHa-00050C-HQ <= ****@rogers.com H=nm46-vm6.bullet.mail.ne1.yahoo.com [98.138.121.**]:51921 P=esmtps X=TLSv1:AES128-SHA:128 CV=no S=8692 id=2013317483.1656124.1445537071090.JavaMail.yahoo@mail.yahoo.com T="Re: test forwarding from rogers" for ***@incomr****
    2015-10-22 14:08:10 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ZpKHa-00050C-HQ
    2015-10-22 14:08:10 SMTP connection from nm46-vm6.bullet.mail.ne1.yahoo.com [98.138.121.86]:51921 closed by QUIT
    2015-10-22 14:08:10 1ZpKHa-00050C-HQ failed to expand condition "${if and{{bool_lax{NULL}}{bool_lax{${perl{check_mail_permissions}}}}}}" for check_mail_permissions router: Undefined subroutine &main::get_relayhosts_entry called at /etc/exim.pl.local line 2198.
    inside "and{...}" condition
    2015-10-22 14:08:10 1ZpKHa-00050C-HQ ********@rogers.com (***@inco***) <***@***> R=enforce_mail_permissions: check_mail_permissions failed to complete or set a status
    2015-10-22 14:08:10 1ZpKHa-00050C-HQ => test123 <***@****> R=virtual_user T=virtual_userdelivery
    2015-10-22 14:08:10 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1ZpKHa-00050C-HQ
    2015-10-22 14:08:10 1ZpKHa-00050u-PC <= <> R=1ZpKHa-00050C-HQ U=mailnull P=local S=10048 T="Mail delivery failed: returning message to sender" for ****@rogers.com
    2015-10-22 14:08:10 1ZpKHa-00050C-HQ Completed
    2015-10-22 14:08:10 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ZpKHa-00050u-PC
    2015-10-22 14:08:11 1ZpKHa-00050u-PC => *****@rogers.com R=dkim_lookuphost T=dkim_remote_smtp H=mx-rogers.mail.am0.yahoodns.net [98.139.214.***] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 ok dirdel"
    2015-10-22 14:08:11 1ZpKHa-00050u-PC Completed
    
    
     
  4. uktradergb

    uktradergb Registered

    Joined:
    Oct 22, 2015
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    i think its because they removed Courier and now using dovecot only :(
     
  5. Dmitri Pritsker

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Do you know what do I need to do to be able to forward to external addresses? Forwarding to external addresses only work when sending email from internal address. Internal forwarding work no problem. Please advise.

    cPanelMichael - do you have a suggestion?

    Thank you.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Do you notice any output when running the "/scripts/check_cpanel_rpms" command?

    Thank you.
     
  7. Dmitri Pritsker

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    I executed that command and didn't return any output. it just finished no output.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. Dmitri Pritsker

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    toronto
    cPanel Access Level:
    Root Administrator
    Support ticket id is: 7353313. Thanks,
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page