Skip to main content

WHM 54, email filter config file?

Comments

3 comments

  • cPanelMichael
    Hello :) There's no supported method of manually modifying the filter files through the command line. Thus, while it's possible to manually modify the filter rules, it's not guaranteed to work because it's not a method that we test. You should utilize our API if you plan to add new filter rules via the command line:
    0
  • iso99
    Hi Michael, Thanks for that info. I won't be modifying the config files, I am doing a monitoring script for forwarders. Thanks for the UAPI link, so there's no central config file for the per mailbox email filters? I haven't found the forwarder I setup in /etc/vfilters though.
    0
  • cPanelMichael
    Hello :) Email filters for individual email accounts are stored in the following location:
    /home/$username/etc/$domain/$email-account/filter
    Thank you.
    0

Please sign in to leave a comment.