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.

if /etc/mailips file doesn't exist ... is it ok to create it?

Discussion in 'E-mail Discussions' started by Drake, May 13, 2009.

  1. Drake

    Drake Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I'm interested in the practice of sending various dedicated-ip customers' mail via their own IP number. I have read that the file /etc/mailips must be edited accordingly. However that file doesn't exist on this server. Does anyone know if it is as easy as just creating the file /etc/mailips file and adding the necessary entries?

    This particular box is running WHM 11.15.0 cPanel 11.17.4-C19834.

    As a comparison, the file named /etc/remotedomains didn't exist either, but upon adding it with the applicable content, the customers who hosted their own e-mail exchange servers were totally functional.

    So, in summary, is it ok to just add /etc/mailips and its content, along with checking to be sure that exim.conf has
    interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{}}}{}} ????

    Any help appreciated.
    Drake Pallister
    Duraserver Tech.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can create /etc/mailips - just set it to be owned by Root:mail and chmod it 660.
     
Loading...

Share This Page