Koozali.org: home of the SME Server

Mediawiki not sending e-mail

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Mediawiki not sending e-mail
« Reply #15 on: June 10, 2010, 08:52:35 PM »
I have raised a bug against smeserver-mediawiki for this strange install method and encouraged the owner to fix other outstanding bugs as well.
Thanks for that cactus.

I'm going to look at alternative wikis for the time being. I wonder - if others are following this thread, which of the many wikis available install into /opt and are SME friendly?
SME Server is a fantastic product - thank you!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Mediawiki not sending e-mail
« Reply #16 on: June 10, 2010, 09:25:50 PM »
I'm going to look at alternative wikis for the time being. I wonder - if others are following this thread, which of the many wikis available install into /opt and are SME friendly?
Why are you so keen on installing in /opt?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Mediawiki not sending e-mail
« Reply #17 on: June 10, 2010, 11:19:41 PM »
Why are you so keen on installing in /opt?
Some time ago I read many a forum post discussing the pros and cons of web apps in ibays vs opt and opt was always said to be the better option - more secure. Also local LAN users can't get at/read/copy files via Samba shares?
SME Server is a fantastic product - thank you!

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Mediawiki not sending e-mail - SOLVED???
« Reply #18 on: June 12, 2010, 05:38:04 PM »
I think I found the solution, which I provide here for others:

Recall I said I'm using PHP5-cgi. After some more Googling I made the following addition in /etc/e-smith/templates-custom/etc/php5/php.ini/80ModuleSettings02mailfunction
Code: [Select]
[mail function]
SMTP =  localhost
sendmail_from = me@localhost
sendmail_path = usr/sbin/sendmail -t -i
The sendmail_path line is what I added.
Of course one must also do
Code: [Select]
# expand-template /etc/php5/php.ini
# service httpd-e-smith restart

Built-in PHP mailer function tested working in TikiWiki (in /opt/wiki) Not tested with Mediawiki in /opt as I gave up on that awhile ago, but likely will also succeed.
« Last Edit: June 12, 2010, 05:43:38 PM by dishwasher »
SME Server is a fantastic product - thank you!