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.

Magento send wrong domain account on WHM

Discussion in 'E-mail Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,776
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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. 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