filter

  1. I

    Using cPanel API store_filter with .NET Http class, but getting "No Valid Rules" error response

    I am trying to create a filter with cPanel API. The filter should redirect any email received to another email address. I am using the cPanel API Email/store_filter function. And I am trying to follow the documentation at: https://api.docs.cpanel.net/openapi/cpanel/operation/store_filter/ I'm...
  2. S

    SOLVED CPANEL-43012 - Recreate nft inet filter cpanel-dovecot-solr

    The latest cpanel-dovecot-solr update mucked up something in the nft tables on a server and now solr will not start. [nftables] “/sbin/nft flush chain inet filter cpanel-dovecot-solr” failed: Error: Could not process rule: No such file or directory flush chain inet filter cpanel-dovecot-solr...
  3. E

    CPANEL's global filter not working for me

    I have whitelisted several sender domains, say sender.com, in the Global filter of a CPANEL account. These are marked as "Stop Processing rules". However, we are still not able to get emails from these domains delivered to the inbox. These are getting delivered to the spam box...
  4. A

    Email Filter - Delete All Incoming Emails?

    Anyone know of a way to configure an Email Filter that deletes ALL incoming emails? Let's say someone has set up email forwarding but does not want to retain a copy in their Inbox, but they still need the mailbox so deleting the mailbox is not an option. I didn't see a way of configuring...
  5. M

    Any rule for SPAM Assassin to filter emails that look as sent by myself

    Some of my users have started to receive emails that look like emails sent by themselves so I was wondering if someone here has some rule that can share for this use case.
  6. P

    Exim system wide filter file - mail command not working

    I have written an exim system-wide custom filter file, which is placed in /usr/local/cpanel/etc/exim/sysfilter/options/. The file freezes some emails based upon a condition, so that they can be reviewed by an administrator. The file is essentially: if condition then headers add...
  7. M

    Filter/Block Incoming Emails by Domain in EXIM not working

    Recently started to add domain records into the option described here https://support.cpanel.net/hc/en-us/articles/360053298854-How-to-block-emails-to-your-server-from-a-specific-domain but it seems to be not working. What could be wrong with my EXIM configuration?
  8. D

    Filter incoming mail by Specific Header Value

    Hello, We have a spam issue in which emails, sent originally to another email address, are then being forwarded in bulk to one of our support emails. Since forwarding an email changes some of the headers, standard email blacklisting options do not work. The emails are not inherently "spam" in a...
  9. M

    Filter incoming emails by IP

    How could I filter incoming emails by IP so that emails from a certain IP address are always blocked . I have previously used the Firewall system ( ConfigServer Security & Firewall - csf v14.17 ) to manually list and block emails from this address but reviewing this I suspect this doesn't work...
  10. B

    SOLVED Exim Custom Filter for outbound messages

    Hi, I'm trying to create a custom exim filter that will reject outgoing emails with specific text in the subject line. I've created a new filter /usr/local/cpanel/etc/exim/sysfilter/options/server_custom_filter if ("$h_subject:" contains "Custom Text") then fail text "Email subject blocked...
  11. Islandhosting

    Custom user exim filter with custom rules

    cPanel's filter editor does not provide all the functionality a client needs, so they have edited the /home/$user/etc/$domain/$mailbox/filter file manually. In this case they need to send a brief notice to another offsite mailbox indicating new mail has arrived, without quoting the message, so...
  12. D

    Help creating exim service filter

    I am looking to create a filter on exim so that if the username sending equals [email protected] and the email contains an attachment, then send, but if it doesn’t, don’t send it. One of our customers has an NVR that sends email alerts when it detects motion. The problem is it sends 3 emails -...
  13. M

    New very dangerous security bug/feature in cpanel filter function

    Today, One of my client, was hacked in a very very disturbing way. Because of nature of this hack i do not want to post details here. Can someone contact me ? The hack is connected to filter email function.
  14. 000

    which is the filter for [134.73.*.*] ?? my filter {134.73.0.0/24} don't catch it!

    hello, I want STOP any acces for the IPs [134.73.*.*] becouse this address send thousands of SPAM. Then I use the filter: 134.73.0.0/24 but this not work for example for 134.73.221.56, why? how I can know the list of IPs in range: 134.73.222.0/24 ? how I can know the list of IPs in range...
  15. S

    How to use "Filter by Domain" with emails that uses amazonses.com?

    How to use "Filter by Domain" with emails that uses amazonses.com? Here is the issue, "Filter by Domain" is a great utility in WHM and I use it in a daily basis. But some domains that uses amazonses.com servers send spam and amazonses.com can't be added to the filter because a lot of valid...
  16. G

    How to Filter Subject Line that Contains Recipient's Address (or Part of It)

    We've receive spams with this pattern where the subject/body contains the recipient's address (or part of it) eg: "Payment for [email protected]" or "Payment for customerservice". That exact pattern. Sometimes it appears in the body too. Is there any existing score that I can use...
  17. SimpleTechGuy

    Easy Remote option for Adding to Spam Filter Blacklist

    Hi, wondering if there are any alternative ways to adding an email address to the "Spam Filters / Blacklist" in Cpanel. Currently the only option I see is to log into Cpanel and go to Email / Spam Filters / Show Additional Configurations / Blacklist". Ideally a person could maybe add to...
  18. G

    Filter Incoming Emails by Country Not Accurate?

    I've blocked quite number of countries inside Filter Incoming Emails by Country. This IP address, 46.137.203.205, is blocked and cannot send email to us. There is message in exim_mainlog . Upon checking at iplocation.net this IP address is from Singapore but I don't block this country. I tried...
  19. I

    In Progress CPANEL-40803 - How to use cURL for UAPI store_filter to create email filter

    I am looking at Create email filter · cPanel & WHM Developer Portal . This problem is a one-line Windows batch file. First, I see an error in the documentation URL example. The example is...
  20. T

    Is there a way to filter domain from check dkim on inbound mails?

    I have a client that one of his provider uses a mail that is not properly configured, is there a inverted way of the current "filter incoming emails by domain" to whitelist domains on server so we can add a domain and just bypass all the dkim, rdns, etc.. checks? My client already whitelisted...