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!

Exim MTA: Blacklist entire TLDs

Discussion in 'E-mail Discussion' started by NerdZone, Jul 13, 2007.

  1. NerdZone

    NerdZone Registered

    Joined:
    Feb 26, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Great State of Texas
    I have an RHEL3 box with Exim4, CS's (awesome!) Mailscanner Package (Thanks Chirpy!) with Spamassassin. What is the best way to block entire TLDs? (i.e. .ru .hk .de .nu ...) None of my clients have need for any comm with most foreign TLDs and my server stats back it up. I've been trying to train SA via MailWatch:
    Code:
    From Domain does not match the regular expression '.(us|uk|ca)'
    From Domain matches the regular expression '[.][a-z][a-z]$'
    SpamAssassin Score is less than '5'
    Yes, it kinda makes me grin too...
    I want to just block them at the MTA bypassing undeeded server ware'n tear. Still green, I just don't want to mess things up too much applying my learning curve to production equipment (never a good thing. :))

    Also, please let me know if I am violating any policies or Net etiquette. My intent is not to offend, just to offer better service to my clients.

    Any time, insight and patience is appreciated.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. jandafields

    jandafields Well-Known Member

    Joined:
    May 6, 2004
    Messages:
    428
    Likes Received:
    4
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Chirpy's new CSF firewall has lots of options.

    However, if I were a client and you were blocking all those domains, I would be unhappy. Lots of people do international ecommerce, etc. What if they have friends/family in other countries and try to send/receive email? It is a bad idea to block the entire world like that. Just use programs that blocks hacking, spam, etc.
     
  3. DGermancp

    DGermancp Active Member

    Joined:
    Feb 25, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    NJ, USA
    cPanel Access Level:
    Reseller Owner
    I too would like to block MANY TLDs.
    I have several domains and the only thing from those TLDs are spam
     
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