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!

Letting email sending only from authorized IPs?

Discussion in 'E-mail Discussion' started by Remitur, Sep 18, 2018.

  1. Remitur

    Remitur Active Member

    Joined:
    Jan 17, 2018
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Ljubljana
    cPanel Access Level:
    Root Administrator
    Hello.

    I would like to configure cPanel's SMTP service such that an user can send email(s) only if it's connected from certain(s) IP.

    That's to say: a user (real or virtual) who is connecting from a whitelisted IP, can send email, even without username/password authentication.

    If he's connecting from elsewhere, instead, usual username/password authentication is required.
    Is it somewhat possible???
     
  2. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,908
    Likes Received:
    127
    Trophy Points:
    368
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    add the IP's to the
    /etc/alwaysrelay
    file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Remitur likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,130
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Remitur likes this.
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