[sork] How do I get support for multiple ftp servers for Vacation?

Jan Schneider jan at horde.org
Wed Feb 27 09:46:57 UTC 2008


Zitat von Pro Green European <pro_green_european at yahoo.com>:

> Hi.
>
> I am trying to figure out how to instruct vacation to use another  
> ftp server when a user logs into imp with the following scenario:
>
> https://webmail/horde/imp/login.php?server=servername
>
> I'd like to instruct:
>
> $conf['server']['params']['default']['host']
>
> to be the same as the array value from imp/config/servers.php
>
> $servers['servername']['server']='servername';
>
>
> I've tried hacking vacation and imp's servers.php, but I cannot get  
> vacation's $conf['server']['params']['default']['host'] array value  
> to become set with the value $servers['servername']['server'] from  
> imp's servers.php file.
>
> Feedback and help regarding this issue would be greatly appreciated :)

The sork modules use a concept called "realms".

You can add more configuration for different servers by adding more  
$conf['server'] entries, but replace 'default' with the realm. Realms  
are the domain part of the user name.

Jan.

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



More information about the sork mailing list