Skip to main content

Incoming malformed junk mail

Comments

6 comments

  • Shood
    Hi @carlos You can create a new file into /usr/local/cpanel/etc/exim/sysfilter/options directory with the below code, full details
    0
  • cPanelMichael
    Hello @Carlos Morales, The information in the previous post should help if you want to filter emails from that address system wide. To filter emails from that address on an individual account, you can use the
    0
  • keat63
    I see similar quite often, and what you'll find is that they will all be different and constantly changing, so creating a rule based on the sending source might not work. Threfor, I looked up 'regex double @' and came up with this.
    0
  • Carlos Morales
    Thanks!
    0
  • rpvw
    Be careful with the "/@.*@/" rule (and there is a variation circulating that uses ".+@.+@.+" that has issues as well) If a genuine user configured their SMTP address in their mail client in the format eg admin@domain.com or "admin@domain.com" the rule may match and you would lose the mail. Use your cPanel filter to configure and thoroughly test the regex before deploying it.
    0
  • Carlos Morales
    Be careful with the "/@.*@/" rule (and there is a variation circulating that uses ".+@.+@.+" that has issues as well) If a genuine user configured their SMTP address in their mail client in the format eg admin@domain.com or "admin@domain.com" the rule may match and you would lose the mail. Use your cPanel filter to configure and thoroughly test the regex before deploying it.

    It does generate problems when trying to send emails. Can you put negative filters?
    0

Please sign in to leave a comment.