On 14 Sep 2007, at 16:29, Monahon, Peter B. wrote:
Does anybody have a working SMTP setup that they could
share the
details
of, so those of us with SMTP failure might learn from it? Thank you!
I'd have thought there's nothing really special about most setups
that work, probably it's the ones that don't that are interesting :-)
To avoid relaying spam, many SMTP servers won't allow connections
from outsiders, especially without authentication. Those that support
encrypted authentication may do but I don't know if PEAR's mail
factory that MediaWiki uses supports this. I see they have a debug
option that you could try turning on:
http://pear.php.net/manual/en/package.mail.mail.factory.php
(linked to from
http://www.mediawiki.org/wiki/Manual:%24wgSMTP)
By the way, my PHP error messages go Apache's error_log.
For the record, my working one is 'private' according to your
criteria - the email server's running on localhost. $wgSMTP is not
set, so MediaWiki will be using PHP's build in mail() function. Is
there a reason this won't work for you?
The email related settings I can see in LocalSettings.php are
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = "oliver(a)gtwm.co.uk"o.uk";
$wgPasswordSender = "oliver(a)gtwm.co.uk"o.uk";
## For a detailed description of the following switches see
##
http://meta.wikimedia.org/Enotif and
http://meta.wikimedia.org/
Eauthent
## There are many more options for fine tuning available see
## /includes/DefaultSettings.php
## UPO means: this is also a user preference option
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
oliver(a)gtwm.co.uk / 0845 456 1810 / 07814 828608
The Old Bank, 4 Ravenhill Rd, Swansea SA5 5AW, UK
NOTE
No contracts may be concluded on behalf of GT webMarque by means of e-
mail
communications. The contents of this e-mail are confidential to the
intended recipient at the e-mail address to which it has been addressed;
it may not be disclosed to or used by anyone other than this addressee,
nor may it be copied in any way. If received in error please return to
sender via e-mail.
DISCLAIMER
Please note that neither GT webMarque Ltd nor the sender accept any
responsibility for viruses transmitted via e-mail. It is your
responsibility to scan attachments (if any).