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!

Magento send wrong domain account on WHM

Discussion in 'E-mail Discussion' started by knguyen2015, Sep 11, 2015.

  1. knguyen2015

    knguyen2015 Member

    Joined:
    Jan 21, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am hosting my magento. When customers orders, my magento will send order confirmation to clients. However, it uses the hostname instead of its domain name. So Customers' mail server rejects my order confirmation emails.

    Here is the log:

    Code:
    2015-09-11 14:42:34 cwd=/home/mydomain/public_html 3 args: /usr/sbin/sendmail -t -i
    2015-09-11 14:42:34 1ZaTHO-000pV5-ST <= mydomain@server.serverdomain.net U=mydomain P=local S=48522 T="Lighter USA Order Confirmation" for kevin@clientdomain.com orders@mydomain.com
    2015-09-11 14:42:34 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ZaTHO-000pV5-ST
    2015-09-11 14:42:34 1ZaTHO-000pV5-ST SMTP connection outbound 1441996954 1ZaTHO-000pV5-ST mydomain.com kevin@clientdomain.com
    2015-09-11 14:42:35 1ZaTHO-000pV5-ST => orders <orders@mydomain.com> R=virtual_user T=virtual_userdelivery
    2015-09-11 14:42:35 1ZaTHO-000pV5-ST => brittanie (orders@mydomain.com) <orders@mydomain.com> R=virtual_user T=virtual_userdelivery
    2015-09-11 14:42:35 1ZaTHO-000pV5-ST => christina (orders@mydomain.com) <orders@mydomain.com> R=virtual_user T=virtual_userdelivery
    2015-09-11 14:42:35 1ZaTHO-000pV5-ST => justin (orders@mydomain.com) <orders@mydomain.com> R=virtual_user T=virtual_userdelivery
    2015-09-11 14:42:35 1ZaTHO-000pV5-ST => robert (orders@mydomain.com) <orders@mydomain.com> R=virtual_user T=virtual_userdelivery
    2015-09-11 14:42:36 1ZaTHO-000pV5-ST == kevin@clientdomain.com R=lookuphost T=remote_smtp defer (-44) H=clientdomain.com [198.167.142.9]: SMTP error from remote mail server after RCPT TO:<kevin@clientdomain.com>: 450 4.1.8 <mydomain@server.serverdomain.net>: Sender address rejected: Domain not found
    

    How can i set it send by its domain instead of the server domain?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You will need to configure your script to send out email via SMTP authentication. This will ensure the email account is utilized in the message header.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. knguyen2015

    knguyen2015 Member

    Joined:
    Jan 21, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Do you have idea how to configure it on magento?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. knguyen2015

    knguyen2015 Member

    Joined:
    Jan 21, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks. I installed it before but got some issues. Im fixing it now.
     
Loading...

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