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

Pro Green European <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Hi.

Thank you for you reply, Jan. I found a way to solve my problem. By setting this in vacation/config/conf.php:

$conf['server']['params']['default']['host'] = $_SESSION['imp']['server'];

the ftp server will become the same as the imap server. Have tested it and it works.

Would be nice if there was an option in the GUI setup for the Vacation module allowing this setting :)


/PGE

Jan Schneider <[email protected]> wrote: Zitat von Pro Green European 
:

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



       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-- 
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.