+ Reply to Thread
Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast
Results 31 to 40 of 46

Thread: RoundCube vacation plugin

  1. #31
    ABerglund is offline Registered User
    Join Date
    Sep 2007
    Location
    Eugene, Oregon, USA
    Posts
    335
    Downloads
    7
    Uploads
    0

    Default

    First, you need to have vacation support on the IMAP server as well. What are you using for that?
    Arne Berglund
    SysAdmin, Internet Services
    Lane Education Service District
    Eugene, OR, USA

  2. #32
    zeta67 is offline Roundcube Newcomer
    Join Date
    Mar 2010
    Posts
    3
    Downloads
    1
    Uploads
    0

    Default hungarian translation

    hungarian translation
    Attached Files

  3. #33
    dziobak is offline Registered User
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    184
    Downloads
    4
    Uploads
    0

    Default

    My mistake. Please remove it...
    Last edited by dziobak; 04-06-2010 at 08:33 PM.

  4. #34
    ABerglund is offline Registered User
    Join Date
    Sep 2007
    Location
    Eugene, Oregon, USA
    Posts
    335
    Downloads
    7
    Uploads
    0

    Default

    Progress how? The current version is working fine for me.
    Arne Berglund
    SysAdmin, Internet Services
    Lane Education Service District
    Eugene, OR, USA

  5. #35
    miniwark is offline Roundcube Newcomer
    Join Date
    Jun 2007
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    I have just try the vacation plugin
    1.9.2 seems to work but 1.9.3 have at least two problems :

    1) no confing.inc.php file in the zip file
    (i have use the one from 1.9.2)
    2) i have this strange message :
    Vacation plugin: Driver '' cannot be loaded using plugins/vacation/lib/.class.php

    with this config file :
    [default]
    driver = "setuid"
    executable = "/usr/bin/squirrelmail_vacation_proxy"

    (this same file did seems to works with 1.9.2)


    Alternaly the config.mk for the squirrelmail_vacation_proxy is set to install squirrelmail_vacation_proxy binary in /plugin/extra and not in /usr/bin/ as said in the readme.txt

  6. #36
    voltron81 is offline Registered User
    Join Date
    Sep 2009
    Posts
    42
    Downloads
    6
    Uploads
    0

    Default

    Quote Originally Posted by ABerglund View Post
    First, you need to have vacation support on the IMAP server as well. What are you using for that?
    Hi,
    sorry if I answer you just now.
    As IMAP I'm using courier (imapd)

    How can I have vacation support on the IMAP server?

    Thanks
    Michele

  7. #37
    ericx is offline Roundcube Newcomer
    Join Date
    Jun 2010
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by miniwark View Post
    I have just try the vacation plugin
    1.9.2 seems to work but 1.9.3 have at least two problems :

    1) no confing.inc.php file in the zip file
    (i have use the one from 1.9.2)
    2) i have this strange message :
    Vacation plugin: Driver '' cannot be loaded using plugins/vacation/lib/.class.php

    with this config file :
    [default]
    driver = "setuid"
    executable = "/usr/bin/squirrelmail_vacation_proxy"

    (this same file did seems to works with 1.9.2)
    I've managed to track the problem a bit more.

    In VacationConfig.class.php, in function checkAllowedParameters(), the test for validity appears to be the line:
    Code:
    if (! empty($diff) && !in_array(key($diff),array('driver','body','subject'))) {
    (at least, a return error value is set if this condition is true). However, at the bottom of the function, the return value is simply:
    Code:
    return (empty($diff));
    Now I'm not sure I understand clearly how checkAllowedParameters() is supposed to work; but it seems to me that if "driver" "body" or "subject" are listed in the parameters, $diff is not going to be empty (If I'm reading it right, $diff should be the list of all parameters minus those specifically supported by the currently selected driver). The validity test will pass (because 'driver', 'body', and 'subject' are special cased); however, the routine will return FALSE because $diff isn't empty.

    This means that no params are passed up from getCurrentConfig(); but at the same time, hasError isn't set.

    ---
    On vaguely related topic: all the files in 1.9.3 unzip with permissions 666 and folders with permission 777. That's kind'a scary.

  8. #38
    ericx is offline Roundcube Newcomer
    Join Date
    Jun 2010
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Here is a patch for VacationConfig.class.php which I think addresses the just mentioned bug:

    Code:
    *** plugins/vacation/lib/VacationConfig.class.php~	Tue Mar  9 15:13:56 2010
    --- plugins/vacation/lib/VacationConfig.class.php	Fri Jun 11 17:23:03 2010
    ***************
    *** 168,180 ****
      	{
      
      		$keys = $this->allowedOptions[$this->currentArr['driver']];
    ! 		$diff = array_diff_key($this->currentArr,array_flip(array_keys($keys)));
      	
                   
    ! 		if (! empty($diff) && !in_array(key($diff),array('driver','body','subject')))
      		{
      			// Invalid options found
    ! 			$this->hasError = sprintf("Invalid option found in config.ini for %s driver and section [%s]: %s is not supported",
      			$this->currentArr['driver'],$this->currentHost,key($diff));
      		}
      		return (empty($diff));
    --- 168,184 ----
      	{
      
      		$keys = $this->allowedOptions[$this->currentArr['driver']];
    ! 		$diff = array_diff_key($this->currentArr,
    ! 				       array_flip(array_keys($keys)),
    ! 				       array('driver' => 1,
    ! 					     'body' => 1,
    ! 					     'subject' => 1));
      	
                   
    ! 		if (! empty($diff))
      		{
      			// Invalid options found
    ! 			$this->hasError = sprintf("Invalid option found in config.ini for %s driver and section [%s]: '%s' is not supported",
    This also makes it apparent that the values provided in the example config.ini are bogus: defaultbody and defaultsubject don't appear to be valid parameters.
    Last edited by ericx; 06-11-2010 at 10:45 PM.

  9. #39
    albiz is offline Roundcube Newcomer
    Join Date
    Jun 2010
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Vacation plugin: Driver '' cannot be loaded using plugins/vacation/lib/.class.php

    Hi,

    I have a problem with the vacation plugin. I Tried to use virtual driver and it seems to work but in config tab i get an
    "Vacation plugin: Driver '' cannot be loaded using plugins/vacation/lib/.class.php"

    error. After reading INSTALL.TXT, README.txt, googling...... I can't find the solution, any suggestion?

    I'm on debian + postfix (vistual users) + mysql + dovecot

    here's my /plugins/vaction/config.ini

    Code:
    [default]
    driver = "virtual"
    defaultsubject = "Fuera de la oficina"
    defaultbody = "default.txt"
    
    [*** SQL/Virtual Driver ***]
    dsn = "mysql://<mydbuser>:<mypass>@localhost/<mailserverdb>"
    transport = "vacation.<mydomain>"
    dbase = "<mydatabase>"
    always_keep_copy = true
    select_query = "SELECT destination FROM %m.virtual_aliases WHERE source='%e' AN$
    delete_query = "DELETE FROM %m.virtual_aliases WHERE domain_id=%i AND source='%$
    insert_query = "INSERT INTO %m.virtual_aliases (domain_id,source,destination) V$
    domain_lookip_query = "SELECT id FROM mailserver.virtual_domains WHERE name='%d$
    createvacationconf = true
    Thanks in advance,

    Sr.Albiz

  10. #40
    blair.sawler is offline Registered User
    Join Date
    Dec 2007
    Posts
    34
    Downloads
    3
    Uploads
    0

    Default

    Hi jaspersl et. al.

    I woul dlike to get this to work with cpanel, hostmonster, but need some direction. What can I tell you so you can help?

+ Reply to Thread
Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts