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.

Disable SMTP for a single domain

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

  1. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    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:
    16
    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:
    16
    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:
    16
    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.
     
  5. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    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