Results 1 to 4 of 4

Thread: Question about mail per domain IP

  1. #1
    Registered Member cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Posts
    45

    Default Question about mail per domain IP

    Hello,
    For the new feature in the latest cPanel/WHM, you can set exim to send out via the domain's IP rather than the base IP of the server. I have a simple question. Will it still do this for example if a user's script is executed via cron and sends out PHP mail (using PHP from the command line)? Or will it appear to come from the base IP of the server?

  2. #2
    Registered Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    AFAIK but I could be wrong, all mail originating from PHP will use the servers main IP address to relay out due to it calling the system mailer

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    1

    Unhappy Same problem here

    I've also set in my WHM the option to send email from the domain ip address, but when the php script of the user invokes the mail command it is sent by the server main IP instead of the domain dedicated IP.

    Anyone knows how to face with this problem? Any help would be really appreciated.

    Thank you

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,289
    cPanel Access Level

    Root Administrator

    Default

    Quote Originally Posted by netguruBO View Post
    I've also set in my WHM the option to send email from the domain ip address, but when the php script of the user invokes the mail command it is sent by the server main IP instead of the domain dedicated IP.

    Anyone knows how to face with this problem? Any help would be really appreciated.

    Thank you
    Most PHP scripts nowadays that send mail have the option to use mail() or use SMTP to send mail. Using SMTP to send mail is currently considered best practice.

Similar Threads

  1. Cpanel Networking Question - Subdomain + Domain question
    By seancarolan in forum General Discussion
    Replies: 11
    Last Post: 04-21-2014, 12:17 PM
  2. Replies: 1
    Last Post: 03-04-2011, 09:07 PM
  3. Add on domain/sub domain question
    By steveman2000 in forum General Discussion
    Replies: 0
    Last Post: 03-27-2006, 01:05 AM
  4. Newbie question - want all mail forwarded, no mail collection
    By sneader in forum E-mail Discussions
    Replies: 1
    Last Post: 11-17-2003, 11:36 AM
  5. Parked Domain Question / E-Mail Option?
    By First Faze in forum E-mail Discussions
    Replies: 0
    Last Post: 03-22-2002, 12:11 PM
bargain