[horde] [Help Desk #VQP-27786-492] Installing Vacation module with Horde

Jan Schneider jan at horde.org
Sat Jan 22 17:45:17 UTC 2011


Use the Plesk driver.

Zitat von PrecisionPros Helpdesk <support at precisionpros.com>:

> Hi -
>
> We are running Horde 3.3.6 on a Parallels Plesk server.   We are  
> trying to install the Vacation module but are running into problems.  
>  When we login as the mail user to configure the Vacation mode it  
> gives us this error:
>
> Authentication to FTP server failed.
>
> Here are the steps I took to setup the Vacation module on the server:
>
> I made sure curl, ftp, and ldap are enabled.
> Downloaded vacation program here:
>
> wget ftp://ftp.horde.org/pub/vacation/vacation-latest.tar.gz (as  
> long as this version is still compatible with our horde version)
>
> Followed the install steps which were:
>
> extract and rename directory to vacation - copy the vacation file to  
> these two directories:
>
> /etc/psa-webmail/horde/vacation
> /usr/share/psa-horde/vacation
>
> Edit the file /etc/psa-webmail/horde/horde/registry.php and placed  
> this in it:
>
> $this->applications['vacation'] = array( 'fileroot' => dirname(FILE)  
> . '/../vacation', 'webroot' =>  
> $this->applications['horde']['webroot'] . '/vacation', 'name' =>  
> ("Vacation"), 'status' => 'active', 'provides' => 'vacation',  
> 'menuparent' => 'imp' );
>
> (I placed it near the end after the horde application statement)
>
> Setup the admin user for horde - edit this file  
> /etc/psa-webmail/horde/horde/conf.php and change this line:
>
> $conf['auth']['admins'] = array();
>
> To valid user like such:
>
> $conf['auth']['admins'] = array('xxxxx at xxxxxxxxxx.com');
>
> I then logged into webmail as that admin user. Went to  
> administration, setup, and under vacation ran the option to  
> configure the conf.php file it setup a conf.php file with these  
> details in it:
>
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Horde: vacation/config/conf.xml,v 1.15.2.13 2009/08/18 12:54:49 jan Exp $
> $conf['vacation']['path'] = '/usr/bin/vacation';
> $conf['vacation']['default_subject'] = _("On vacation message");
> $conf['vacation']['default_message'] = _("I'm on vacation and will  
> not be reading my mail for a while.\nYour mail will be dealt with  
> when I return.");
> $conf['vacation']['subject'] = true;
> $conf['vacation']['from'] = true;
> $conf['server']['params']['default']['host'] = 'localhost';
> $conf['server']['params']['default']['port'] = 21;
> $conf['server']['params']['default']['pasv'] = false;
> $conf['server']['params']['default']['ssl'] = false;
> $conf['server']['params']['default']['hordeauth'] = true;
> $conf['server']['params']['default']['norealm'] = false;
> $conf['server']['driver'] = 'qmail';
> $conf['aliases']['show'] = true;
> $conf['aliases']['driver'] = 'none';
> $conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm',  
> 'lp', 'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody',  
> 'httpd', 'operator', 'guest', 'diginext', 'bind', 'cyrus',  
> 'courier', 'games', 'kmem', 'mailnull', 'man', 'mysql', 'news',  
> 'postfix', 'sshd', 'tty', 'www');
> $conf['menu']['apps'] = array();
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>
> -----------------------------------------------------------------------------
>
> I also tried using the dot-forward mailer so the conf.php is like so:
>
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Horde: vacation/config/conf.xml,v 1.15.2.13 2009/08/18 12:54:49 jan Exp $
> $conf['vacation']['path'] = '/usr/bin/vacation';
> $conf['vacation']['default_subject'] = _("On vacation message");
> $conf['vacation']['default_message'] = _("I'm on vacation and will  
> not be reading my mail for a while.\nYour mail will be dealt with  
> when I return.");
> $conf['vacation']['subject'] = true;
> $conf['vacation']['from'] = true;
> $conf['server']['params']['default']['host'] = 'localhost';
> $conf['server']['params']['default']['port'] = 21;
> $conf['server']['params']['default']['pasv'] = false;
> $conf['server']['params']['default']['ssl'] = false;
> $conf['server']['params']['default']['hordeauth'] = true;
> $conf['server']['params']['default']['norealm'] = false;
> $conf['server']['params']['default']['dbtype'] = 'empty';
> $conf['server']['driver'] = 'forwards';
> $conf['aliases']['show'] = true;
> $conf['aliases']['driver'] = 'none';
> $conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm',  
> 'lp', 'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody',  
> 'httpd', 'operator', 'guest', 'diginext', 'bind', 'cyrus',  
> 'courier', 'games', 'kmem', 'mailnull', 'man', 'mysql', 'news',  
> 'postfix', 'sshd', 'tty', 'www');
> $conf['menu']['apps'] = array();
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>
> -------------------------------------------------------------
>
> Does anyone have any suggestions on how to get this working.  My  
> initial guess was that the Plesk email users do NOT come with ftp  
> privileges, I am unable to find a way around this setting, but was  
> told that the Vacation module should still work if setup correctly.
>
> Please let me know if there are any questions on this or if you need  
> further details.
>
> Thanks!
>
> Robyn Glazner
> The PrecisionPros.com Network
> 6543 East Omega Street
> Mesa, AZ 85215
> 480 461 9765
> 480 461 9312 (fax)
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



Jan.

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



More information about the horde mailing list