The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    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:
    367
    Likes Received:
    1
    Trophy Points:
    18
    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:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    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.
     
Loading...

Share This Page