hi!
I installed on my Win7 64bit machine Apache 2.4, php 5.6.0, mediawiki and the pear mail-packet. the mediawiki server only should be used in the company - not from the www and we used a Exchange-Server 2010.
I added into localsettings.php following parameter:
$wgSMTP = array(
'host' => "ma22-ex-002.local.xxxxx.de", // could also be an IP address. Where the SMTP server is located
'IDHost' => "xxxxx.de", // Generally this will be the domain name of your website (aka mywiki.org)
'port' => 25, // Port to use when connecting to the SMTP server
'auth' => true, // Should we use SMTP authentication (true or false)
'username' => "YYY-GIS-Hotline-Email@local.xxxxx.de", // Username to use for SMTP authentication (if being used)
#'username' => "gis-hotline@xxxxx.de", // Username to use for SMTP authentication (if being used)
'password' => "*******" // Password to use for SMTP authentication (if being used)
);
we want that only the admin could create accounts ->
$wgGroupPermissions['*']['createaccount'] = false;
when I create a account I get the message: Fehler beim Senden der E-Mail(error by sending email) : authentication failure [SMTP: No supported authentication methods (code: 250, response: MA22-EX-002.local.xxxxx.de Hello [Ip-Adress] SIZE PIPELINING DSN ENHANCEDSTATUSCODES STARTTLS X-ANONYMOUSTLS AUTH NTLM X-EXPS GSSAPI NTLM 8BITMIME BINARYMIME CHUNKING XEXCH50 XRDST XSHADOW)]
my chef-admin try to send emails by telnet - there is no problem!
- the main question is what are the correct parameters for $wgSMTP - is the username the name at the Exchange-Accout or the email-Adress ?
- is it require to install a email-client on the server of mediawiki ?
on the other hand I found the tip to active the php-error-log. I add into localsettings.php following:
error_reporting( -1 ); ini_set( 'display_errors', 1 );
I look and see following message: PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\PHP-5.6.0\pear\Net\SMTP.php on line 495
can anyone help me ?
it is the last problem on my way to our mediawiki. german answers could be understand better than English.
regards Jan