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.

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:
    6
    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,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    create a file named

    /etc/alwaysrelay

    and add your ip's to it

    restart exim
     
  3. Estrac

    Estrac Well-Known Member

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

    thank you soooo much !!

    works perfectly !

    Estrac
     
Loading...

Share This Page