Earlier: "... there's nothing really special about most setups that work, probably it's the ones that don't that are interesting :-) ..."
Peter Blaise agrees: However, it's the ones that work that set the example, and if they are not documented, then those of us with MediaWiki setups that do not work have scant few examples to study and learn from, so we wallow in frustration! :( Hence my hunger for documentation on working examples! I have many success I've shared here and on http://www.mediawiki,org/ and I'd like to share more, I'm just stuck on SMTP at the moment.
--
Earlier: "... my PHP error messages go to Apache's error_log ..."
Peter Blaise responds: Wow - thanks for drawing my attention to error LOGs - I just checked:
C:\www\apache2\logs
access.log 5,154 KB error.log 363,698 KB install.log 4 KB
So maybe I should back 'em up and start fresh ones more frequently (meaning I have to stop the Apache server more often)! What the heck am I doing with 1/3rd mb of errors?!? :-( I have some studying to do!
One endless error was the call for missing faveicon.ico, so I built one using free http://www.irfanview.com/ software to resize of our logo to 32x32 pixels, and save as "icon"-file-type named "faveicon.ico" in C:\www\apache2\htdocs, then visitors will see it in their "My Favorites" next to our link. I digress.
--
Earlier: "... my working SMTP server is 'private' according to your criteria - running on localhost. $wgSMTP is not set, so MediaWiki will be using PHP's build in mail() function. 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;
Hey, I just found this in php.ini in the php directory:
[mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters =
Now I wonder if there's a coordinated suite of criteria and parameters all over the place to make send mail work with whatever resources are available (SMTP being either private, Intranet, ISP, or Internet).
--
Earlier: "... Is there a reason this won't work for you? ..."
Peter Blaise responds: Yes, I have a penultimate challenge or working in catch-22-ville, run by zombie volunteer bureaucrats. When I ask for a link to a document showing our in-house SMTP server settings, I get, "Let's have a meeting so you can explain what you are going to do, and the person to meet with is out until next week ..." and so on. I wasn't asking for permission, I was asking for settings! However, since I'm inside an aggressive, undocumented firewall, I'm not sure if my failures are my own settings, or someone actively blocking something, like port 25, hence my request for samples of working ones from anybody else. If I make mine look exactly like someone else's working SMTP, say, even using GMail, then I have a golden example to start from!
Does anyone else have some collected settings that make SMTP work for you? I'd LOVE to see a comprehensive page (or four) on http://www.mediawiki.org/ - who wants to build 'em?
-- Peter Blaise
On 14 Sep 2007, at 20:59, Monahon, Peter B. wrote:
However, since I'm inside an aggressive, undocumented firewall, I'm not sure if my failures are my own settings, or someone actively blocking something, like port 25, hence my request for samples of working ones from anybody else. If I make mine look exactly like someone else's working SMTP, say, even using GMail, then I have a golden example to start from!
I'm afraid I can't help with more working SMTP settings, but if it's any help I have a public SMTP server you can try to connect to manually. If it works, you'll know it's not a firewall issue.
It runs on ports 25 and 26. To test, run a command prompt and type
telnet gtwm.co.uk 25
or
telnet gtwm.co.uk 26
You should get a response something like
Trying 62.73.174.217... Connected to gtwm.co.uk. Escape character is '^]'. 220 eul0001189.eu.verio.net ESMTP Postfix
You won't be able to actually send a mail, because the server requires you to have an account to do so, so just type
quit
and the response will be
221 Bye Connection closed by foreign host.
Regards
Oliver
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).
Hi Oliver,
I get the following results:
Trying 62.73.174.217... Connected to gtwm.co.uk. Escape character is'^]' Connection closed by foreign host
Does this signify that something is wrong with my postfix setup and / or SMTP settings?
Mike
----------------> From: oliver@gtwm.co.uk> Date: Fri, 14 Sep 2007 21:44:28 +0100> To: mediawiki-l@lists.wikimedia.org> Subject: Re: [Mediawiki-l] SMTP settings in LocalSetting.php> > On 14 Sep 2007, at 20:59, Monahon, Peter B. wrote:> > However, since I'm> > inside an aggressive, undocumented firewall, I'm not sure if my > > failures> > are my own settings, or someone actively blocking something, like port> > 25, hence my request for samples of working ones from anybody > > else. If> > I make mine look exactly like someone else's working SMTP, say, even> > using GMail, then I have a golden example to start from!> > I'm afraid I can't help with more working SMTP settings, but if it's > any help I have a public SMTP server you can try to connect to > manually. If it works, you'll know it's not a firewall issue.> > It runs on ports 25 and 26. To test, run a command prompt and type> > telnet gtwm.co.uk 25> > or> > telnet gtwm.co.uk 26> > You should get a response something like> > Trying 62.73.174.217...> Connected to gtwm.co.uk.> Escape character is '^]'.> 220 eul0001189.eu.verio.net ESMTP Postfix> > You won't be able to actually send a mail, because the server > requires you to have an account to do so, so just type> > quit> > and the response will be> > 221 Bye> Connection closed by foreign host.> > Regards> > Oliver> > > 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 mailing list> MediaWiki-l@lists.wikimedia.org> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l _________________________________________________________________ Feel like a local wherever you go. http://www.backofmyhand.com
Not necessarily, likely the server doesn't like you for some legitimate reason. I'd have to check the logs. If you let me know the IP address you're connecting from, I'll have a quick look, because I'm interested to see, but I haven't got time to check in much depth I'm afraid.
However, it shows that SMTP communication is getting through the firewall anyway, if it wasn't it would just hang.
Oliver
On 15 Sep 2007, at 01:25, Mike Lane wrote:
Hi Oliver,
I get the following results:
Trying 62.73.174.217... Connected to gtwm.co.uk. Escape character is'^]' Connection closed by foreign host
Does this signify that something is wrong with my postfix setup and / or SMTP settings?
Mike
----------------> From: oliver@gtwm.co.uk> Date: Fri, 14 Sep 2007 21:44:28 +0100> To: mediawiki-l@lists.wikimedia.org> Subject: Re: [Mediawiki-l] SMTP settings in LocalSetting.php> > On 14 Sep 2007, at 20:59, Monahon, Peter B. wrote:> > However, since I'm> > inside an aggressive, undocumented firewall, I'm not sure if my > > failures> > are my own settings, or someone actively blocking something, like port> > 25, hence my request for samples of working ones from anybody > > else. If> > I make mine look exactly like someone else's working SMTP, say, even> > using GMail, then I have a golden example to start from!> > I'm afraid I can't help with more working SMTP settings, but if it's > any help I have a public SMTP server you can try to connect to > manually. If it works, you'll know it's not a firewall issue.> > It runs on ports 25 and 26. To test, run a command prompt and type> > telnet gtwm.co.uk 25>
or> > telnet gtwm.co.uk 26> > You should get a response something
like> > Trying 62.73.174.217...> Connected to gtwm.co.uk.> Escape character is '^]'.> 220 eul0001189.eu.verio.net ESMTP Postfix> > You won't be able to actually send a mail, because the server > requires you to have an account to do so, so just type> > quit> > and the response will be> > 221 Bye> Connection closed by foreign host.> > Regards> > Oliver> > > 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 mailing list> MediaWiki-l@lists.wikimedia.org> http:// lists.wikimedia.org/mailman/listinfo/mediawiki-l _________________________________________________________________ Feel like a local wherever you go. http://www.backofmyhand.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
!DSPAM:505,46eb26f0293071573898537!
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).
You know I think that my ISP blocks port 25 - i tested this from home not from work.
My home IP is 68.120.198.13 If postfix is working properly then there must be some configuration with MediaWiki that is not right as I do not get the confirmation emails from my Wiki.
I know that email is not blocked at work as i have tested JumpBox MediaWiki and the email works perfectly.
Mike -----> From: oliver@gtwm.co.uk> Date: Sat, 15 Sep 2007 09:52:42 +0100> To: mediawiki-l@lists.wikimedia.org> Subject: Re: [Mediawiki-l] SMTP settings in LocalSetting.php> > Not necessarily, likely the server doesn't like you for some > legitimate reason. I'd have to check the logs. If you let me know the > IP address you're connecting from, I'll have a quick look, because > I'm interested to see, but I haven't got time to check in much depth > I'm afraid.> > However, it shows that SMTP communication is getting through the > firewall anyway, if it wasn't it would just hang.> > Oliver> > > On 15 Sep 2007, at 01:25, Mike Lane wrote:> > >> > Hi Oliver,> >> > I get the following results:> >> > Trying 62.73.174.217...> > Connected to gtwm.co.uk.> > Escape character is'^]'> > Connection closed by foreign host> >> > Does this signify that something is wrong with my postfix setup > > and / or SMTP settings?> >> > Mike> >> >> >> >> > ----------------> From: oliver@gtwm.co.uk> Date: Fri, 14 Sep 2007 > > 21:44:28 +0100> To: mediawiki-l@lists.wikimedia.org> Subject: Re: > > [Mediawiki-l] SMTP settings in LocalSetting.php> > On 14 Sep 2007, > > at 20:59, Monahon, Peter B. wrote:> > However, since I'm> > inside > > an aggressive, undocumented firewall, I'm not sure if my > > > > failures> > are my own settings, or someone actively blocking > > something, like port> > 25, hence my request for samples of working > > ones from anybody > > else. If> > I make mine look exactly like > > someone else's working SMTP, say, even> > using GMail, then I have > > a golden example to start from!> > I'm afraid I can't help with > > more working SMTP settings, but if it's > any help I have a public > > SMTP server you can try to connect to > manually. If it works, > > you'll know it's not a firewall issue.> > It runs on ports 25 and > > 26. To test, run a command prompt and type> > telnet gtwm.co.uk 25> > > > or> > telnet gtwm.co.uk 26> > You should get a response something > > like> > Trying 62.73.174.217...> Connected to gtwm.co.uk.> Escape > > character is '^]'.> 220 eul0001189.eu.verio.net ESMTP Postfix> > > > You won't be able to actually send a mail, because the server > > > requires you to have an account to do so, so just type> > quit> > > > and the response will be> > 221 Bye> Connection closed by foreign > > host.> > Regards> > Oliver> > > 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 > > mailing list> MediaWiki-l@lists.wikimedia.org> http:// > > lists.wikimedia.org/mailman/listinfo/mediawiki-l> > _________________________________________________________________> > Feel like a local wherever you go.> > http://www.backofmyhand.com%3E > _______________________________________________> > MediaWiki-l mailing list> > MediaWiki-l@lists.wikimedia.org> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l%3E >> > !DSPAM:505,46eb26f0293071573898537!> >> > 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 mailing list> MediaWiki-l@lists.wikimedia.org> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l _________________________________________________________________ Celeb spotting – Play CelebMashup and win cool prizes https://www.celebmashup.com
Is there a way to export all of the images on my wiki in much the same way as I can export pages and then import them en masse into a new wiki? _________________________________________________________________ 100’s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk
Mike Lane wrote:
Is there a way to export all of the images on my wiki in much the same way as I can export pages and then import them en masse into a new wiki?
Asking on another thread won't give you much attention... Copy the image folder and run maintenance/importImages.php
Thanks for the advice. > To: mediawiki-l@lists.wikimedia.org> From: Platonides@gmail.com> Date: Tue, 18 Sep 2007 20:44:23 +0200> Subject: Re: [Mediawiki-l] Image Import and Export> > Mike Lane wrote:> > Is there a way to export all of the images on my wiki in much the same way as I can export pages and then import them en masse into a new wiki?> > > Asking on another thread won't give you much attention...> Copy the image folder and run maintenance/importImages.php> > > _______________________________________________> MediaWiki-l mailing list> MediaWiki-l@lists.wikimedia.org> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l _________________________________________________________________ Feel like a local wherever you go. http://www.backofmyhand.com
mediawiki-l@lists.wikimedia.org