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 stop 1 domain from.....

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

  1. darren670501

    darren670501 Registered

    Joined:
    Jun 22, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    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:
    1
    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