[imp] imp ignoring smtphost

Eric S. Johansson esj@harvee.billerica.ma.us
Thu, 18 Apr 2002 12:43:12 -0400


At 12:10 PM 4/18/2002 -0400, Chuck Hagenbuch wrote:
>Quoting "Eric S. Johansson" <esj@harvee.billerica.ma.us>:
>
> > $conf['mailer']['params'] = array('server' => '10.51.64.44');
>
>'host', not 'server'.

thanks. that worked but this points out a bug in the current 3.0 
release.  folks need to fix horde.php.dist which sez..

/* What method should we use for sending mail? Valid options are
  * currently 'sendmail' and 'smtp'.
  */
$conf['mailer']['type'] = 'sendmail';

/* An array holding any parameters that the Mail object will need to
  * function correctly. For sendmail, this is mainly the sendmail_path
  * option; SMTP requires at least a server and a port (if nonstandard).
  */
$conf['mailer']['params'] = array();
// $conf['mailer']['params'] = array('sendmail_path' => '/usr/lib/sendmail');
// $conf['mailer']['params'] = array('server' => 'smtp.example.com');
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

the example uses 'server' instead of 'host' which was the source of my 
original confusion.

Many thanks again for the quick response.  If you ever need help with IPCop 
(Linux firewall) or sendmail, please feel free to contact me directly.

---eric