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!

add private IP to relay

Discussion in 'General Discussion' started by Estrac, Dec 9, 2005.

  1. Estrac

    Estrac Well-Known Member

    Joined:
    Nov 18, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    i have been searching for a while in cpanel forums and i found a solution, but it doesnt works, and i really need this

    I need wwwServer to sned email by emailServer (cpanel), i need to add 1 or 2 ips to permit relay
    ..

    the solution that i found is :

    1) To create a file "privaterelay" or whatever..
    2) Edit exim.conf
    find
    hostlist relay_hosts = lsearch;/etc/relayhosts : \
    localhost

    and add
    : lsearch;/etc/privaterelay

    finally, we got:

    hostlist relay_hosts = lsearch;/etc/relayhosts : \
    localhost : lsearch;/etc/privaterelay


    But ! it doesnt works, i check sintaxis, permitions, owners, etc..

    any another idea?

    estrac
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,693
    Likes Received:
    71
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    create a file named

    /etc/alwaysrelay

    and add your ip's to it

    restart exim
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Estrac

    Estrac Well-Known Member

    Joined:
    Nov 18, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    Thanks !

    thank you soooo much !!

    works perfectly !

    Estrac
     
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