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.

Restrict SMTP for one Account ?

Discussion in 'E-mail Discussions' started by furquan, Sep 11, 2003.

  1. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Is it possible to DENY SMTP service for just one account ? I need to force that client to use his ISP's SMTP.

    If Yes , HOW ?

    Thanks

    cPanel.net Support Ticket Number:
     
  2. munk

    munk Member

    Joined:
    Sep 6, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    In your exim acl config before all other rules try adding:

    Code:
    deny message = Sorry the administrator has specified \
                    $sender_address cannot send mail through this server.
      sender_domains = example1.com : example2.com 
    Changing example1/2.com for whatever domains you do not want to be allowed to send mail through your server.

    Remember to restart Exim to make the changes take effect and check your logfiles in /var/log/exim/ to make sure nothing went wrong.

    cPanel.net Support Ticket Number:
     
  3. cyberrob

    cyberrob Active Member

    Joined:
    Mar 5, 2004
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    A user can still send mail using there username and password but change their email address on their client. Anyway to prevent this?
     
Loading...

Share This Page