Skip to main content

Mail filter problem

Comments

6 comments

  • cPanelMichael
    Hello :) One way to address this issue is to modify the "Default Address" option in cPanel to: "Discard with error to sender (at SMTP time)" This will ensure any email sent to a non-existent email account bounces back to the sender. Otherwise, could you paste the exact filter rule you are using so we can get a better idea of why it may not work as you intend? Thank you.
    0
  • loades
    Thanks for your response. Discarding to non-existent email accounts is a non-starter. I always give a unique address to any company I form fill/write to e.g ebay@mydomain.tld amazon@mydomain.tld google@mydomain.tld britishairways@mydomain.tld etc. They send me SPAM, I say please stop, they don't stop, I discard all mail to that unique address, job done! All incoming mail is then forwarded to a single mailbox - I let my local mail client then do the sorting as I wish. I use cPanel as managed by my hosting provider. Under 'User Level Filtering' I selected the catch all mailbox and created the rule 'Any header contains Return-path: <> AND Any recipient matches regex [0-9]' I can provide a screenshot if that would assist but I'm sure you can understand it as written. Intially I used only the matches regex rule but when that didn't work I looked carefully at the headers of bounce messages and saw that they all have an empty return path so added that to the filter, still without success. Test messages with a digit in them get discarded, it's only bounces which still get delivered. Problem is there are hundreds of these bounces everyday :-( Malcolm
    0
  • Infopro
    [QUOTE]Discarding to non-existent email accounts is a non-starter.
    You might want to give this another look. [QUOTE]I always give a unique address to any company
    [QUOTE]All incoming mail is then forwarded to a single mailbox
    Create a forward instead. ie: paypal @ yourdomain.com, ebay @ yourdomain.com etc. and use those for this. [QUOTE]Problem is there are hundreds of these bounces everyday :-(
    Of course there is, you're accepting everything anyone throws at it, and then hoping to control that with filtering you don't need to be doing, IMHO. cPanelMichael's suggestion is the way to go. Anything routed to paypal @ yourdomain.com or ebay @ yourdomain.com and you have no forward setup to accept it, is bounced.
    0
  • loades
    Ok, I give up! It's obviously not possible to simply filter on the local part of an e-mail address which contains a digit. All the mail clients I know have no problem with it so why cPanel can't do it must remain a mystery. I can discard these emails easily with my mail client - problem is that since cPanel accepted them they've been forwarded to my gmail account for pushing to my smartphone. Whatever you may say about setting up accept rules for each email address I issue is utterly impractical, I've probably already used a 100 or more and can't remember everyone. If I give a company a unique address and I'm not at that moment able to setup an accept rule for that address then I risk losing mail until I'm able to do so. Until this back scatter started arriving I've never had any problem controlling spam. I registered my domain in 1999 and by using unique addresses and by discarding mail to compromised email addresses I could go days without any SPAM. Why is something so simple not possible with cPanel?
    0
  • cPanelPeter cPanel Staff
    Hello, By having the default address set up that way, you are susceptible to what is known as a "Joe Job". This is why we recommend setting it to "fail" so email to non-existent accounts will be discarded. This is simply how this works and I assure you that if this were to happen with any other mail provider not using cPanel, it would be the exact same results. To say that mail clients can handle it, why doesn't cPanel is wrong, since the two are not at all the same thing. cpanel is software for managing hosting servers, while mail clients are MUA's (Mail User Agents) that connect to those servers to collect mail. Additionally you are forwarding your email to Gmail, so email is not stored on the server at all. Joe Jobs usually only last a few days, so you could just wait it out if you like. But ultimately the best solution is to not use a default address.
    0
  • Infopro
    [QUOTE]... problem is that since cPanel accepted them they've been forwarded to my gmail account for pushing to my smartphone.
    If you have access to the server logs, you might check to see if google is rate limiting you due to the spam you're forwarding to its servers. Forwarded email is not checked its just forwarded. Spam or not. If you don't have access to logs, ask your Hosting Provider about it.
    0

Please sign in to leave a comment.