On Mon, 2007-11-19 at 18:45 +0100, Tomasz Chmielewski wrote:
Whenever someone registers as a user in the wiki and
provides an email
address, he/she is sent an email.
However, by default it is sent with this from field:
apache(a)server.localdomain - obviously, the other side will never accept
an email from an non existing domain.
Where can I change this "from" address for emails sent by MediaWiki?
I would like to avoid address rewriting done by the mail server.
I set $wgPasswordSender in LocalSettings.php. I think this is what you
are looking for. Try it out and let us know how it goes.
HTH,
Tom