I've tried to configure $SMTP because I had problems sending with php Mail(). On another version of my sites I had a Joomla module from Bitnami installed and all emails were working well. I had a look at config, found configuration.php installed and had a look at. Can someone help me configuring Mediawiki using these settings in the Joomla config file ?
<?php class JConfig { public $offline = '0'; public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.'; public $sitename = 'AENA CKCS-KCS and Co'; public $editor = 'jce'; public $list_limit = '50'; public $access = '1'; public $dbtype = 'mysql'; public $host = 'localhost'; public $user = 'bn_joomla'; public $password = '**********'; public $db = 'bitnami_joomla'; public $dbprefix = 'jos_'; public $secret = '****************'; public $gzip = '0'; public $error_reporting = '-1'; public $helpurl = 'http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help16:%7B...'; public $ftp_host = ''; public $ftp_port = ''; public $ftp_user = 'bn_joomla'; public $ftp_pass = ''; public $ftp_root = ''; public $ftp_enable = '0'; public $tmp_path = '/tmp'; public $log_path = '/var/logs'; public $live_site = ''; public $force_ssl = '0'; public $offset = 'Europe/Brussels'; public $offset_user = 'UTC'; public $lifetime = '60'; public $session_handler = 'database'; public $mailer = 'sendmail'; public $mailfrom = 'did.houbrechts@skynet.be'; public $fromname = 'Didier Houbrechts'; public $sendmail = '/usr/sbin/sendmail'; public $smtpauth = '1'; public $smtpuser = 'did.houbrechts'; public $smtppass = '12345678'; public $smtphost = 'relay.skynet.be'; public $caching = '0'; public $cachetime = '15'; public $cache_handler = 'file'; public $debug = '0'; public $debug_lang = '0';
What do I set ???
Thanks for help !!!!!!
Didier Houbrechts http://www.aena.be http://dhvg.ckcs-kcs.dyndns.org (online pedigrees for Ckcs & Kcs/Ets)
Hello,
On Mon, Jan 7, 2013 at 9:51 PM, Didier Houbrechts did.houbrechts@skynet.be wrote:
I've tried to configure $SMTP because I had problems sending with php Mail(). On another version of my sites I had a Joomla module from Bitnami installed and all emails were working well. I had a look at config, found configuration.php installed and had a look at. Can someone help me configuring Mediawiki using these settings in the Joomla config file ?
According http://www.mediawiki.org/wiki/Manual:$wgSMTP
(1) You need to install the PEAR's Mail package:
pear install MAIL Net_SMTP
If you don't already have a pear command: http://pear.php.net/manual/en/installation.getting.php
(2) The configuration would be something like: $wgSMTP = array( 'host' => "relay.skynet.be", // could also be an IP address. Where the SMTP server is located 'IDHost' => "aena.be", // Generally this will be the domain name of your website (aka mywiki.org) 'port' => 25, // Port to use when connecting to the SMTP server 'auth' => false, // Should we use SMTP authentication (true or false) 'username' => "", // Username to use for SMTP authentication (if being used) 'password' => "" // Password to use for SMTP authentication (if being used) );
I don't think Skynet requires SMTP authentication. If they've recently changed that, you would need to set auth true and fill username and password:
$wgSMTP = array( 'host' => "relay.skynet.be", // could also be an IP address. Where the SMTP server is located 'IDHost' => "aena.be", // Generally this will be the domain name of your website (aka mywiki.org) 'port' => 25, // Port to use when connecting to the SMTP server 'auth' => true, // Should we use SMTP authentication (true or false) 'username' => "did.houbrechts", // Username to use for SMTP authentication (if being used) 'password' => "12345678" // Password to use for SMTP authentication (if being used) );
mediawiki-l@lists.wikimedia.org