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 exim?

Discussion in 'E-mail Discussions' started by NirvClub, Feb 9, 2007.

  1. NirvClub

    NirvClub Member

    Joined:
    Jan 24, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Simple question: how do I disable SMTP for my server?

    I want to be able to receive mail with Exim, of course, but I don't want anyone to be able to send mails using my server. I am the only user and I use my ISPs SMTP server for sending mails.

    Isn't there a simple way to do this?

    I tried blocking port 25 with APF but it still seems to accept connections.

    I've searched this forum as well but not found any suitable solutions.

    Thanks
     
  2. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    166
    short of disabling the exim smtp in the WHM services area, you could also edit your exim.conf to refuse all outbound connections by editing exim.pl
     
  3. NirvClub

    NirvClub Member

    Joined:
    Jan 24, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    If I do that, I don't think incoming mail will work?

    How exactly? I'm a newbie with this, so a complete instruction would be great, if possible.
     
  4. NirvClub

    NirvClub Member

    Joined:
    Jan 24, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    by the way, closing port 25 with APF also seemed to cause problems with regards to incoming mail. :confused:
     
Loading...

Share This Page