Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How can I route spam mail to null or deletion?

Discussion in 'E-mail Discussion' started by OooLong, May 25, 2018.

  1. OooLong

    OooLong Well-Known Member

    Joined:
    Mar 16, 2011
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Website Owner
    I currently am overwhelm by spam email to /home/*****/mail/new coming from probably some spam script hidden in one of my many site. I set all my site Email Routing to Remote Mail Exchanger and delete all MX entry, putting firewall block on port 25 and I'm still getting them. Can I use the Default Address function and pipe them to some script to auto delete them somehow from Harddrive? Any expert who handles this before can give some advice? I just want them gone and never written to hard drive. Thanks.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What are your settings set to right now, there?

    Who are the emails to? You@, or anyname@ yourdomain.com?

    I think I'd be more interested in finding that spam script hidden in one of your many sites, first.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. OooLong

    OooLong Well-Known Member

    Joined:
    Mar 16, 2011
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Website Owner
    The current settings is: Discard the email while your server processes it by SMTP time with an error message.

    A sample of one of the spam email:

    - Removed -

    I have many sites, I have try and find and delete these script before but they'll just pop up again. My attemp is to find a catch all solution to just delete spam mail as it get them. Is there one?
     
    #3 OooLong, May 28, 2018
    Last edited: May 28, 2018
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice