Hi,

I have the following configurations in our wiki's Localsettings.php file

require_once( "$IP/includes/DefaultSettings.php" );
$wgSitename         = "TestWiki";
$wgScriptPath       = "/wiki";
$wgScriptExtension  = ".php";
$wgEnableEmail      = true;
$wgEnableUserEmail  = true;
$wgEmergencyContact = '[email protected]';
$wgPasswordSender = '[email protected]';
$wgPasswordSenderName = 'Wiki Admin';
$wgNoReplyAddress = '[email protected]';

But it's not honoring $wgPasswordSender, $wgPasswordSenderName &
$wgPasswordSenderName variables alone and using the default values in
includes/DefaultSettings.php as mentioned below.

$serverName = substr( $wgServer, strrpos( $wgServer, '/' ) + 1 );
$wgEmergencyContact = 'wikiadmin@' . $serverName;
$wgPasswordSender = 'apache@' . $serverName;
$wgPasswordSenderName = 'MediaWiki Mail';
$wgNoReplyAddress = '[email protected]';

Message from maillog says that it doesn't accepting the from address that's
been configured in Localsettings.php because of which our SMTP server is
blocking the mails.

Jan  2 21:29:19 wikimaster sendmail[24770]: r035TIhc024770:
from=<[email protected]>, size=1093, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA,
relay=c1master [127.0.0.1]

Our SMTP server accepts mails only if it comes from a valid "From" email ID
& because of this email is not getting delivered.

Thanks,
Prakash
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to