【質問】PHP, Qdmail ライブラリのsmtpServer() のパラメータについて


Mac(OS X Yosemite 10.10.2)のローカル環境にて、Qdmail を用いて、
上記環境のMacをSMTPサーバーにして、メールを送信したいのですが、
エラーが出てしまい、送信ができません。そもそもMacをSMTPサーバーにする設定がわからないので、ご教授いただけませんでしょうか。

PHPコード
$mail->smtp(true);
$param = array(
'host' => 'localhost'
, 'port' => 25
, 'from' => 'xxx@xxx'
);

エラーメッセージ
PHP Warning: fsockopen(): unable to connect to localhost:25 (Connection refused)

何卒、よろしくお願いいたします。