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!

Sending mail from nobody

Discussion in 'E-mail Discussion' started by antec1981, Jul 20, 2006.

  1. antec1981

    antec1981 Registered

    Aug 20, 2003
    Likes Received:
    Trophy Points:
    When a php script im using send mails to an email in outlook some people see

    "Nobody []; on behalf of; XXXXXX Inc []"

    when they open the mail. I would like to suppress this but im not sure how. I think it is due to phpmailer setting the "Sender" argument into the message headers.

    Is there a way for Exim to say hey if sender contains Nobody to pull in the X-Source-Dir: line up to ":" and do a rewrite of that address if From also includes billing. Or without phpsuexec enabled another way to have Exim detect the sender user and set it to their domain another way. If php can do this that would be ok also.

    Nobody <> would become Billing <billing@$sourcedirhost>
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. freedog96150

    freedog96150 Well-Known Member

    Mar 25, 2005
    Likes Received:
    Trophy Points:
    Nevada, USA
    Goto WHM -> Service Configuration -> Exim configuration Editor -> Options and uncheck the option that says "Always set the Sender: header when the sender is changed from the actual sender. (Unchecking this will stop "On behalf of" data in Microsoft(R) Outlook, but may limit your ability to track abuse of the mail system.)"

    That should do it.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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