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.

How do I bar e-mail (SPAM) to certain domains

Discussion in 'E-mail Discussions' started by Stefaans, Jul 9, 2003.

  1. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    One of our clients has hundreds of parked domains and these domains are attracting tons of SPAM, eating up expensive bandwidth. The client is happy that we block all e-mail to these domains.

    What should I do to NOT accept e-mail for these domains? I do not want to :fail: or :blackhole:. I rather want to stop the e-mail at its origin before it even gets onto the server.

    I have tried the following with one of the domains:
    * Removed it from /etc/localhosts. Mail still enteres the server and is bounced. Not good enough.
    * Changed the domain's zone MX entry to 127.0.0.1. Mail is rejected without entering the server. This is the desired result, but is it acceptable practice?

    Could I not set up something in /etc/exim.conf, e.g. some kind of "blacklist"?

    Thanks for your comments ;)
     
    #1 Stefaans, Jul 9, 2003
    Last edited: Jul 15, 2003
  2. bennet

    bennet Well-Known Member

    Joined:
    Apr 25, 2002
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page