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!

Prevent emails being sent as "local" or "mailnull"

Discussion in 'E-mail Discussion' started by GoWilkes, Jul 5, 2012.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    403
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    My server IP has recently been blacklisted on Backscatterer. Unfortunately, the new WHM system of viewing Mail Relayers doesn't work anymore*, so I'm not able to track down the exact culprit, but I see that the wide majority of my server's emails are coming from "local" or "mailnull".

    I'm guessing that an account has their email set to send a bounced message, and are being bombarded with spam.

    How can I prevent the server from sending these types of emails?

    * From "Mail Relayers", if I choose a date from the menu and it just shows "undefined/undefined/2012". If I enter a start date like 7/1/2012 and end date 7/4/2012, I get 0 results.
     
  2. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    403
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Is there a reason that I shouldn't do something like this in antivirus.exim?

    Code:
    if $header_from: contains "mailnull"
    or $header_from: contains "local"
    or $header_from: contains "postmaster"
    then
      seen finish
    endif
    if error_message and $header_from: contains "Mailer-Daemon@"
    then
      finish
    endif
    
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should put in a ticket about this. View Relayers should work for you. Works here on all my servers. If it's not working for you there could be something else going on.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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