Earlier: "... I have been working on Ubuntu Server LAMP with Postfix to try to get this working (but not successful yet) ... I do plan to document whichever of these I manage to get working first ..."
Peter Blaise responds:
Thanks! I presume most people have automatic success with most parts of their MediaWiki installation, so documenting all the details isn't a high priority. It's only when something doesn't work that we might write down the right and wrong steps as we try to get it working. And then maybe share them.
As I mentioned, I think there are probably 4 types of SMTP, and each requires different setup:
- private: SMTP server directly accessed in the same computer as the MediaWiki installation
- local: SMTP accessed via networking Intranet on another computer in-house
- remote: SMTP via ISP or web host remote access
- public: SMTP via external such as GMail et cetera over the Internet
Your setup looks like it will be in the first category above - you'll have private internal access to the SMTP server inside the same computer as your MediaWiki installation. I might explore that as it would give me ultimate control over SMTP without turning over control of any wiki features to someone else.
I look forward to your link to your working SMTP configuration documentation. Thanks again!
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!
- Peter Blaise
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@gtwm.co.uk"; $wgPasswordSender = "oliver@gtwm.co.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@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).
mediawiki-l@lists.wikimedia.org