Last modified: 2012-07-24 10:39:06 UTC
I have an address on a mail server where postfix's sender address verification
is in use. Even though I have $wgPasswordSender set to a real email address, the
Return-Path still ends up as email@example.com. When the postfix server with
sender address verification receives the mail, it connects back to my server
which then informs it that apache@ can't receive mail. This causes the mail to
My "solution" to the problem was to add a fifth parameter to the call to mail()
"-f " . $from->toString()
This causes the Return-Path header to match the From header, which allows it to
pass sender address verification when set to a valid email address.
I actually had the same issue when trying to create an account on this bugzilla.
I never got the password email. When I had my account excluded from the sender
address verification, I was able to get the "Forgot password" email just fine.
Note that you can set this in php.ini (or, probably, with
*** Bug 23838 has been marked as a duplicate of this bug. ***
Needs to be documented then. Not everybody who needs MediaWiki knows PHP ini parameters.
is this still an issue?