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.

Automatically send outgoing email from the accounts ip is not working consistently

Discussion in 'E-mail Discussions' started by Geekizard, May 15, 2009.

  1. Geekizard

    Geekizard Registered

    Joined:
    May 15, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have enabled the option to "send outgoing emails from the account IP" in WHM for EXIM. When I use mail accounts attached to a domain the correct IP is used to send but when executing PHP web code all mail comes from the main system IP. If I shell in to the systems and 'su' over to one of the accounts and execute some php code (with the correct "from" domain to match /etc/mailips) mail still comes from the main IP of the system.

    Am I misinterpreting the option in general? Should I be able to send e-mail from a particular account with a dedicated IP via web code or php code and have that option properly re-source the IP?

    Mike
     
  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
    Your PHP code, is it authenticating via SMTP to send the mail, or is it just using some sendmail function like mail()?
     
  3. Geekizard

    Geekizard Registered

    Joined:
    May 15, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    For testing purposes I am just using the standard mail() feature set (from, to, subject, etc).
     
Loading...

Share This Page