[sork] Horde Vacation with Berkeley DB 1.85

Jan Schneider jan at horde.org
Wed Jul 28 15:52:09 UTC 2010


Please don't top-post.

Zitat von Matthew Maddox <maddox at webster.edu>:

> On Jul 26, 2010, at 11:39 AM, Jan Schneider <jan at horde.org> wrote:
>
>> Zitat von Matthew Maddox <maddox at webster.edu>:
>>
>>> I have been attempting to setup Horde Vacation with no success.
>>>
>>> OS: Solaris 10 SPARC
>>>
>>> Horde applications installed:
>>>
>>> Horde 3.3.5
>>> IMP H3 4.3.5
>>> Turba H3 2.3.2
>>> DIMP H3 1.1.3
>>> Ingo H3 1.2.2
>>> Vacation H3 3.2
>>>
>>> Horde Vacation conf.php:
>>>
>>> $conf['vacation']['path'] = '/usr/bin/vacation';
>>> $conf['vacation']['default_subject'] = _("I am out of the office.");
>>> $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'] = false;
>>> $conf['server']['params']['default']['host'] = 'my email server is here';
>>> $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'] = true;
>>> $conf['server']['params']['default']['dbtype'] = 'hash';
>>> $conf['server']['driver'] = 'forwards'; $conf['aliases']['show'] = false;
>>> $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();
>>>
>>> When I set the vacation message using Horde Vacation and test by sending an
>>> email to my own email address, I receive the following error message:
>>>
>>>
>>> ERROR: Your message could not be delivered.
>>> The mail server generated the following error message:
>>>
>>>     The original message was received at Tue, 15 Dec 2009 14:20:37 -0600
>>> (CST)
>>>     from mx2.webster.edu [198.246.0.24]
>>>
>>>        ----- The following addresses had permanent fatal errors -----
>>>     "|/usr/bin/vacation maddox"
>>>         (reason: Data format error)
>>>         (expanded from: <maddox at pop.webster.edu>)
>>>
>>>        ----- Transcript of session follows -----
>>>     501 5.6.0 Data format error
>>>
>>>
>>> Additional message error details can be viewed HERE.
>>> The text of the returned message can be viewed HERE.
>>>
>>>
>>> I researched this error and found this could be a permission issue.  I
>>> double checked that all files (.vacation.msg .forward and
>>> .vacation.db) had the correct permissions.
>>> that are created by the "vacation -i" command on the email server  
>>> and by the
>>> Horde Vacation.  I noticed the versions are different.  I believe this is
>>> causing my issue see below:
>>>
>>> Created by "vacation  -i" command on email server:
>>> .vacation.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
>>>
>>> Created by Horde Vacation:
>>> .vacation.db: Berkeley DB (Hash, version 5, native byte-order)
>>>
>>> I have compiled Berkeley DB with 1.85 support but I am still receiving this
>>> same error message.
>>>
>>> Can anyone assist me in adding Berkeley DB 1.85 support to Horde Vacation?
>>> Also, is there a way to pass the host information into Horde Vacation from
>>> LDAP?
>>
>> Just configure the correct Berkley version in Horde Vacation's setup.
>>
> Jan,
>
> Berkeley DB 1.85 is not an option.  Do you know which option should work?

 From your own output, I guess Hash 2:

>>> Created by "vacation  -i" command on email server:
>>> .vacation.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)

Jan.

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



More information about the sork mailing list