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!

How do I stop 1 domain from.....

Discussion in 'E-mail Discussion' started by darren670501, Jun 17, 2007.

  1. darren670501

    darren670501 Registered

    Joined:
    Jun 22, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    Does anyone know how to stop outgoing mail on a single domain, I am setting up a FREE e-mail service for incoming mail only so I need to stop users from sending mail....

    Regards
    Darren....
     
  2. Galactica

    Galactica Registered

    Joined:
    May 18, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Darren,

    I think the most simplistic way to resolve this would be to block port 25 on your server, so that outgoing mail is disabled.
     
  3. nagak

    nagak Member

    Joined:
    May 14, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    To disallow certain local domains from relaying through your server, you will want to ssh into the server and create the file /etc/norelay. In that file, you may can put a list of domains that you do not wish to relay through. This should be one domain per line without any spaces. After that open the Exim Configuration File, and put the following:

    domainlist relay_domains = !lsearch;/etc/norelay : lsearch;/etc/localdomains

    Save the exim conf file.

    Regards,
    Kishore.
     
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