Dear all,
Sorry for this help-asking email, I am just new here, and if this email is
not appropriate her please tell me where I should go.
I am just setting up a mediawiki on a linux server (both mediawiki and
linux are new to me), and have met a few problems. Now I want to enable the
email notification, let new users can confirm through email. I just
following this page:
http://www.mediawiki.org/wiki/Manual:$wgSMTP
to add the following lines into mediawiki/includes/DefaultSettings.php:
*$wgSMTP = array(*
* 'host' => "smtp.ym.163.com <http://smtp.ym.163.com>", //
could also
be an IP address. Where the SMTP server is located*
* 'IDHost' => "ym.163.com <http://ym.163.com>", //
Generally this
will be the domain name of your website (aka
mywiki.org
<http://mywiki.org>)*
* 'port' => 25, // Port to use when connecting to the
SMTP server*
* 'auth' => true, // Should we use SMTP authentication
(true or false)*
* 'username' => "admin(a)createfuture.cn
<admin(a)createfuture.cn>"n>", //
Username to use for SMTP authentication (if being used)*
* 'password' => "XXXXXXXX" // Password to use for SMTP
authentication
(if being used)*
*);*
which
ym.163.com is providing enterprise email service for free, support
other domain name like what i put there.
After this, i visit my mediawiki through Chrome, go to Preference page, at
the bottom of page there is a Email confirmation box in red, click "Confirm
your email address", then and then, the webpage shows the following message:
*CreateFuture's Wiki could not send your confirmation mail. Please check
your email address for invalid characters.*
*Mailer returned: Failed to set sender: apache(a)192.168.6.110
<apache(a)192.168.6.110> [SMTP: Invalid response code received from server
(code: 501, response: 5.1.7 Bad sender address syntax)]*
I have googled it for a very long time, but didn't get anything useful. Is
there anybody can help me to solve this problem? Or direct my which manual
or mediawiki help page I should read? Many thanks!
Best regards,
Grammy Jiang