Skip to main content

Email filters created by unauthorized user

Comments

3 comments

  • cPanelLauren
    Hello, The cPanel access logs at /usr/local/cpanel/logs/access_log
    will indicate any modifications to the filters which were made through the UI. If the modification was made by a script or over SSH it wouldn't be logged anywhere
    0
  • Ovidiu Sopa
    Hello, The cPanel access logs at /usr/local/cpanel/logs/access_log
    will indicate any modifications to the filters which were made through the UI. If the modification was made by a script or over SSH it wouldn't be logged anywhere

    Hello Lauren, none of my clients have access to SSH, what other script might add filters to cpanel ? An PHP script can add a filter ? In what files cpanel stores the global filters and user filters? Is there a way to receive an notification when a new filter is added ? Thank you.
    0
  • cPanelLauren
    It would be possible for a script to add an email filter, yes - for example the UAPI Function UAPI Functions - Email::enable_filter - Developer Documentation - cPanel Documentation. You might check the account for malware/malicious scripts if you're unsure how it was present. I don't believe there is something that will notify you if a new filter is present, you could disable the filters in the feature manager within WHM to disable access to this.
    0

Please sign in to leave a comment.