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!

Disable SMTP for a single domain

Discussion in 'E-mail Discussion' started by shacker23, May 9, 2006.

  1. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    168
    I have a kind of unusual circumstance... I need to disable SMTP services for just one customer domain, while leaving their POP access alone. Is this possible?

    Thanks,
    Scot
     
  2. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    168
    Or, failing that, is there a way to block an entire IP address or range from using SMTP services?

    Thanks,
    Scot
     
  3. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    168
    FWIW, found the answer here:

    http://www.configserver.com/free/eximdeny.html

    Short version: Create an /etc/exim_deny file containing a list of IPs
    Add this to an ACL in the exim config editor:

    drop hosts = /etc/exim_deny

    restart exim, works like a charm.

    Now I'm curious to try the larger tip there, to automatically deny IPs of dictionary spammers. Hmmm....
     
  4. ShockHosts

    ShockHosts Well-Known Member

    Joined:
    Nov 25, 2005
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    166
    If you're receiving spam, which it seems so, please report them to the proper authorities and if possible websites that have big block lists.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    168
    No, this was an unusual need -- a large organization moving mail to a new system and wanted to cut off users who hadn't yet reconfigured their mail clients to talk to the new server.
     
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