Re: How do I get support for multiple ftp servers for Vacation?

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Zitat von Pro Green European <[email protected]>:

> 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/

-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.