Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    119

    Default emails nobody@ on behalf of

    hi all, just a quickie. Most of my PHP generated emails sent from the server (such as those from contact forms or orders etc) send the mail out from nobody@server.co.uk on behalf of (emailaccount).

    Is this a server setting or a PHP issue? It seems to do it on all PHP packages.

  2. #2
    Join Date
    Aug 2007
    Posts
    169

    Default

    Hello,

    That is correct, any mail sent through a PHP script is sent by nobody@hostname from the server. On cpanel server we can enable phpsuexec so the mails are sent by that particular user.



  3. #3
    Join Date
    Jun 2008
    Posts
    119

    Default

    okay, so i can do that myself in WHM? where about? i couldnt find it.

  4. #4
    Join Date
    Aug 2007
    Posts
    169

    Default

    Hello,


    That can be done from WHM >> EasyApache (Apache Update). You can also open a ticket on our helpdesk so we can do this for you.

  5. #5
    Join Date
    Jun 2008
    Posts
    119

    Default

    okay its done now.. there were ownership issues but support changed all ownership for me. There are still issues but i'm plodding through them.

    the main problem now is that any email sent out by a script comes from accountname@server on behalf of, which is better than before (nobody@server) but still not correct. How do i get rid of 'account@on behalf of' and just have the email address in outgoing emails?

    I've got a ticket open by the way.. but just thought i'd ask on here.

  6. #6
    Join Date
    Jul 2008
    Posts
    176

    Default

    Hello

    Usually in phpsuexec environment username@hostname appear in email headers.
    If you are sending emails through script then please ensure that you have used
    smtp authentication and have used following variables in your script.

    * From: The email address from which you want the message to be sent.
    * To: the recipient's email address and name.
    * Host: your outgoing SMTP server name.(it should be mail.domain)
    * Password: the password for SMTP authentication.
    Alan V
    VPS Support Team
    http://www.eukhost.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •