[imp] Fwd: Re: Change POP/IMAP/SMTP configuration according to the URL

Jan Schneider jan at horde.org
Tue Nov 23 18:04:43 UTC 2010


Zitat von Jan Schneider <jan at horde.org>:

>> That's what the vhost configuration switch is for. Enable it in the  
>> Horde configuration, then add conf-webmail1.host.com.php,  
>> servers-webmail1.host.com.php etc.
>>
>> Jan.
>>
>
> Hi,
>
> I tried but without success.
>
> I've go a few questions:
>
> 1. which conf.php do I need to update with the vhost option,  
> "horde/config/conf.php" or "/horde/imp/config/conf.php"? (I tryed  
> both anyway);

Use the configuration interface.

> 2. in wich directory do I have to create  
> "servers-www.webmail1.host.com.php"? (I tryed in  
> "/horde/imp/config/");

That's correct.

> 3. I didn't create any "conf-www.webmail1.host.com.php", the default  
> should be fine for me right?

Yes, the vhost files are optional.

> 4. which is the correct naming convention: "servers-domain.php" or  
> "domain-servers.php" (again, tried both);

Neither. servers-FQDN.php

> 5. does this works with something like "www.example.com/webmail1"  
> and "www.example.com/webmail2" instead of "webmail1.example.com" and  
> "webmail2.example.com"?

No.

> can you give me a link where to find some more information? I can't  
> find anything usefull on google.  I only found this:  
> http://www.horde.org/papers/fisl2009-inside_horde/ wich in page 4  
> says that after enabling that option "Horde loads config/conf.php,  
> config/www.example.com-conf.php, etc". There is nothing about  
> servers-webmail1.host.com.php.

There is: "etc". This works for any configuration file (technically as  
long as it's loaded through Horde::loadConfiguration()).

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list