[imp] Re: cannot send messages using smtp

Guy guy at de-schepper.be
Tue Mar 25 07:46:46 PST 2003



Eric Rostetter wrote:
> Quoting Guy <guy at de-schepper.be>:
> 
> 
>>>Possibly because you also set a smtp host in horde/imp/config/servers.php
>>>and as documented any such setting would override that in horde's conf.php?
>>>
>>
>>Well, I know that servers.php overrides horde's conf.php, but
>>shouldn't the setting of imp/config/servers.php be used then ?
> 
> 
> Sure.  Is it not?  What is it?  You only gave the one config, not the
> other.

No, it isn't.
I did give the config in servers.php too.

	[...]
	I configured my smtp-server in horde's conf.php like this:
	[...]
	And in servers.php of imp, I defined the following:
	[...]


>  
> 
>>I first tried only configuring smtp in conf.php, but when that didn't seem to
>>work, I also configured it in servers.php of imp.
> 
> 
> You shouldn't need to configure both.  Configuring only conf.php should work
> if nothing is defined in servers.php.
> 
> In other words, provide more info if you want more help.
> 

I commented out the smtp entry in my servers.php file, so that it now looks like this:

$servers['imap'] = array(
     'name' => 'IMAP Server',
     'server' => '192.168.1.202',
     'protocol' => 'imap',
     'port' => 9143,
     'folders' => 'mail/',
     'namespace' => '',
     'maildomain' => 'de-schepper.be',
     //'smtphost' => '192.168.1.202',
     'realm' => 'de-schepper.be',
     'preferred' => ''
);


If you need more info, please let me know what you need and I'll provide it.



Guy




More information about the imp mailing list