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!

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

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

  1. Drake

    Drake Well-Known Member

    Nov 9, 2001
    Likes Received:
    Trophy Points:
    New Jersey
    cPanel Access Level:
    DataCenter Provider

    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    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.

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