[horde] Horde/IMP/Apache and Send Mail

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue Jun 17 12:38:59 PDT 2003


Quoting nappy_d <nappy_d at rogers.com>:

> Hi all,
>         On some pointers from Eric (much appreciated) I changed the
> $conf['mailer']['type'] = 'sendmail';  from sendmail to smtp.  Doing this
> gives me an error sending mail, thru IMP..."There was an error sending your
> message: unable to authenticate to smtp server"

Either you are trying to authenticate with the wrong user/password data,
or your smtp auth doesn't allow e.g. plain text authentication, or your
smtp doesn't support smtp auth but you are trying to use it anyway.

> $servers['imap'] = array(
>     'name' => 'IMAP Server',
>     'server' => 'www.mydomain.net',
>     'protocol' => 'imap/notls',
>     'port' => 143,
>     'folders' => 'mail/',
>     'namespace' => '',
>     'maildomain' => 'mydomain.net',
>     'smtphost' => 'localhost',
>     'realm' => '',
>     'preferred' => 'true'
> );

That is fine, as long as your smtp server is really on localhost.

> I took a look at http://www.horde.org/faq/admin/config/index.php#c28 and made
> the following changes in my /../horde.php :
>
> $conf['mailer']['params'] = array();
> $conf['mailer']['params'] = array('sendmail_path' => '/usr/lib/sendmail');
> $conf['mailer']['params'] = array('host' => 'localhost');

Should work.  You could specify port also, but I don't think it is needed.

> // Added by me on 6.17.2003 This will allow for SMTP authentication
> // when sending mail
> $conf['mailer']['params']['auth'] = true;

What happens if you set that to false?

>  I don't quite know the answer to this. but I will read up.  Does Sendmail
> provide for smtp auth....

Depends on versions and configuration.

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!



More information about the horde mailing list