Email forwarding to external email addresses stop working

Oct 21, 2015
7
0
1
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,
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

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

Code:
exigrep [email protected] /var/log/exim_mainlog
Ensure you post the output in CODE tags and remove any domain/IP identifying details.

Thank you.
 
Oct 21, 2015
7
0
1
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 [email protected]m 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
 
Oct 21, 2015
7
0
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
Do you notice any output when running the "/scripts/check_cpanel_rpms" command?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
To update, the issue was addressed after rebuilding the Exim configuration file and forcing an update of cPanel.

Thank you.