Outgoing mail sender apache@server.internaldomain

hi,

when rt send mails out i found in the mail the informations that the mail i send in behalf of apache. then i configured rt to write the mail to testfile and there i found the following:
test 1 Sun Oct 2 17:18:18 2011
from: apache@rt2.mydomain

Sender: Apache apache@rt2.mydomain

is it possible to rewrite the informations and take the correct informations from the “from” field? the reply to and other informations are right.

regards
gregor

hi,

when rt send mails out i found in the mail the informations that the mail i send in behalf of apache. then i configured rt to write the mail to testfile and there i found the following:

test 1 Sun Oct 2 17:18:18 2011
from: apache@rt2.mydomain

Sender: Apache apache@rt2.mydomain

is it possible to rewrite the informations and take the correct informations from the “from” field? the reply to and other informations are right.

Configure default comment and correspond addresses in RT config.
However, I believe it’s your MTA doesn’t trust apache and rewrites
addresses.

regards
gregor

RT Training Sessions (http://bestpractical.com/services/training.html)

  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011

Best regards, Ruslan.

hi,

when rt send mails out i found in the mail the informations that the mail i send in behalf of apache. then i configured rt to write the mail to testfile and there i found the following:

test 1 Sun Oct 2 17:18:18 2011
from: apache@rt2.mydomain

Sender: Apache apache@rt2.mydomain

is it possible to rewrite the informations and take the correct informations from the “from” field? the reply to and other informations are right.

Configure default comment and correspond addresses in RT config.
However, I believe it’s your MTA doesn’t trust apache and rewrites
addresses.

As Ruz says, configure your MTA to trust the apache user, or if you
can’t do that, use the various outgoing mail from config vars.

-kevin