Skip to main content

Test Email filter error

Comments

7 comments

  • cPanelMichael
    Hello, I'm currently unable to reproduce this issue on a test system running cPanel version 66. It's possible this stems from an invalid filter rule configured for the affected account. Could you open a support ticket so we can take a closer look? Thank you.
    0
  • EneTar
    Thank you Michael for your reply I would prefer to try first and debug this before opening a ticket. Opening the
    /usr/local/cpanel/logs/error_log
    I noticed at the same time of the error this:
    failed to expand "${lookup{$interface_address}lsearch{/etc/mail_reverse_dns}{$value}{$primary_hostname}}" (smtp_active_hostname): failed to open /etc/mail_reverse_dns for linear search: Permission denied
    The permissions of /etc/mail_reverse_dns are set to 640 (root/mail == user/group) Does it seem like a system permissions issue?
    0
  • cPanelMichael
    The permissions of /etc/mail_reverse_dns are set to 640 (root/mail == user/group)

    Hello, On a test system, the permissions on this file are set to 0644 and the ownership is "root:root". Thank you.
    0
  • EneTar
    Changing only the permissions to 0644 resolved this issue. I've left the user group as it is (Should I change it?) I'm wondering what caused this in the first place and set it to 0640. I'm on CENTOS 6.9 kvm, WHM v66.0.19
    0
  • cPanelMichael
    Changing only the permissions to 0644 resolved this issue. I've left the user group as it is (Should I change it?) I'm wondering what caused this in the first place and set it to 0640. I'm on CENTOS 6.9 kvm, WHM v66.0.19

    We stopped supporting the use of the /etc/mail_reverse_dns file as of cPanel version 50: 11.50 Release Notes - 11.50 Documentation - cPanel Documentation Do you have a custom entry in your Exim configuration that makes use of the file? Thank you.
    0
  • EneTar
    The only instance of this is at smtp_active_hostname which is set to
    ${lookup{$interface_address}lsearch{/etc/mail_reverse_dns}{$value}{$primary_hostname}}
    How should this line be?
    0
  • cPanelMichael
    Hello, That value is left unset by default. I believe you'd need to continue using that file should you want to keep that custom entry. Otherwise, you can reset Exim to the default configuration using the "Reset" tab in "WHM >> Exim Configuration Manager". Thank you.
    0

Please sign in to leave a comment.