[Mediawiki-l] confirmation email from=<apache at server.localdomain> - where to change it?

Tomasz Chmielewski mangoo at wpkg.org
Tue Nov 20 20:28:55 UTC 2007


Tomasz Chmielewski schrieb:
> Tom Brown schrieb:
>> 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 at 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.
> 
> No, unfortunately it didn't work.
> 
> Emails are still sent as apache at server.localdomain.
> 
> BTW, it's MediaWiki 1.10.1.

I also tried setting $wgEmergencyContact, but it makes no difference, 
and still, apache at server.localdomain is email sender:

$wgPasswordSender = "Mail <my at real.address>";
$wgEmergencyContact = "Mail <my at real.address>";


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the MediaWiki-l mailing list