Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    6

    Default Email 'send from' info listed as main account nobody

    When sending an email through of the accounts, the send from info in the receivers mail reads: nobody@-mainaccount-.com. Any way of setting that to the proper send from account? Thanks.

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    139

    Default

    install phpsuexe, you can use easyapache to do this aswell

    also in Tweak Settings check "Prevent the user "nobody" from sending out mail to remote addresses"

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    that's the return path of emails sent using mail() function of php.

    You want to do this serverwide, or just for a specific account/script?

    Serverwide, only solution is phpsuexec.

    For only one scrip, you should check the syntax for the php mail() function.
    There is a fifth parameter for setting the returnpath.

    mail($to,$subject,$message,$headers,-fRETURN_PATH@server.com);

    (no space betweeen "-f" and the email address.)

Similar Threads & Tags
Similar threads

  1. Email account not listed in cPanel but exists
    By Vortex in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-25-2008, 06:55 PM
  2. Send account info when creat new account
    By hrockvn in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-21-2008, 10:00 AM
  3. main email cannot send email inside the same domain
    By iCARus in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-07-2006, 07:03 AM
  4. Created subdomain is listed as main account.
    By fdnven in forum New User Questions
    Replies: 6
    Last Post: 02-22-2006, 04:34 PM
  5. how-to send email to main mail account
    By Steve007 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-16-2004, 09:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube