<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>patch for qmail-ldap</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2834</link> 
  <atom:link rel="self" type="application/rss+xml" title="patch for qmail-ldap" href="https://bugs.horde.org/ticket/2834/rss" /> 
  <description>patch for qmail-ldap</description> 
 
   
   
  <item> 
   <title>Hi



I am sending a patch for vacation module.

Highlights:</title> 
   <description>Hi



I am sending a patch for vacation module.

Highlights:

* specify LDAP Protocol Version

* LDAP attribute for marking active vacation message can be array - more entries - eg: &#039;reply&#039;, &#039;nolocal&#039;. The value of the &#039;active&#039; attribute is then specified as: reply|nolocal

* the vacation message format is modified for qmail-ldap (for now hardcoded in 2 places)

Example:

&quot;%HEADER%\nSubject: &quot; . _(&quot;On vacation message (Autoreply to: %SUBJECT%)&quot;) . &quot;\n\n&quot; . _(&quot;I&#039;m on vacation and will not be reading my mail for a while.&quot;) . &quot;\n&quot; . _(&quot;Your mail will be dealt with when I return.&quot;) . &quot;\n&quot;;



* if vacation message is empty, then the default one is pre-filled

</description> 
   <pubDate>Mon, 24 Oct 2005 14:16:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2834#t12834</link> 
  </item> 
   
  <item> 
   <title>&gt; * LDAP attribute for marking active vacation message can b</title> 
   <description>&gt; * LDAP attribute for marking active vacation message can be array - 

&gt; more entries - eg: &#039;reply&#039;, &#039;nolocal&#039;. The value of the &#039;active&#039; 

&gt; attribute is then specified as: reply|nolocal



What is the unset() call for?



&gt; * the vacation message format is modified for qmail-ldap (for now 

&gt; hardcoded in 2 places)

&gt; Example:

&gt; &quot;%HEADER%\nSubject: &quot; . _(&quot;On vacation message (Autoreply to: 

&gt; %SUBJECT%)&quot;) . &quot;\n\n&quot; . _(&quot;I&#039;m on vacation and will not be reading my 

&gt; mail for a while.&quot;) . &quot;\n&quot; . _(&quot;Your mail will be dealt with when I 

&gt; return.&quot;) . &quot;\n&quot;;



This breaks any other driver, or am I missing something? Where is %HEADER% being replaced?</description> 
   <pubDate>Mon, 24 Oct 2005 16:24:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2834#t12868</link> 
  </item> 
   
  <item> 
   <title>hi



thanks for prompt reply :-)



&gt;&gt; * LDAP attribute for</title> 
   <description>hi



thanks for prompt reply :-)



&gt;&gt; * LDAP attribute for marking active vacation message can be array -

&gt;&gt; more entries - eg: &#039;reply&#039;, &#039;nolocal&#039;. The value of the &#039;active&#039;

&gt;&gt; attribute is then specified as: reply|nolocal

&gt;

&gt; What is the unset() call for?



it&#039;s because ldap_get_attributes adds to returned array the number of attributes in the entry (see: http://www.php.net/manual/en/function.ldap-get-attributes.php). We don&#039;t want to have the value of &quot;count&quot; in the result (eg.: 2|reply|nolocal)



&gt;

&gt;&gt; * the vacation message format is modified for qmail-ldap (for now

&gt;&gt; hardcoded in 2 places)

&gt;&gt; Example:

&gt;&gt; &quot;%HEADER%\nSubject: &quot; . _(&quot;On vacation message (Autoreply to:

&gt;&gt; %SUBJECT%)&quot;) . &quot;\n\n&quot; . _(&quot;I&#039;m on vacation and will not be reading my

&gt;&gt; mail for a while.&quot;) . &quot;\n&quot; . _(&quot;Your mail will be dealt with when I

&gt;&gt; return.&quot;) . &quot;\n&quot;;

&gt;

&gt; This breaks any other driver, or am I missing something? Where is 

&gt; %HEADER% being replaced?



1. see http://www.qmail-ldap.org/wiki/LDAP_REPLYTEXT

2. this patch will break only other LDAP using mailsystems (hardcoding is done only in Driver/ldap.php). Solution TODO:

a) specify mailsystem type in the configuration (exim, qmail-ldap)

b) use callback for encoding/decoding vacation message



if you would like me to do it, just say a or b :-)</description> 
   <pubDate>Mon, 24 Oct 2005 18:44:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2834#t12877</link> 
  </item> 
   
  <item> 
   <title>to be clear: callback = hook</title> 
   <description>to be clear: callback = hook</description> 
   <pubDate>Mon, 24 Oct 2005 18:45:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2834#t12878</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; * LDAP attribute for marking active vacation message can</title> 
   <description>&gt;&gt;&gt; * LDAP attribute for marking active vacation message can be array -

&gt;&gt;&gt; more entries - eg: &#039;reply&#039;, &#039;nolocal&#039;. The value of the &#039;active&#039;

&gt;&gt;&gt; attribute is then specified as: reply|nolocal

&gt;&gt;

&gt;&gt; What is the unset() call for?

&gt; it&#039;s because ldap_get_attributes adds to returned array the number of 

&gt; attributes in the entry (see: 

&gt; http://www.php.net/manual/en/function.ldap-get-attributes.php). We 

&gt; don&#039;t want to have the value of &quot;count&quot; in the result (eg.: 

&gt; 2|reply|nolocal)



Committed.



&gt;&gt;&gt; * the vacation message format is modified for qmail-ldap (for now

&gt;&gt;&gt; hardcoded in 2 places)

&gt;&gt;&gt; Example:

&gt;&gt;&gt; &quot;%HEADER%\nSubject: &quot; . _(&quot;On vacation message (Autoreply to:

&gt;&gt;&gt; %SUBJECT%)&quot;) . &quot;\n\n&quot; . _(&quot;I&#039;m on vacation and will not be reading my

&gt;&gt;&gt; mail for a while.&quot;) . &quot;\n&quot; . _(&quot;Your mail will be dealt with when I

&gt;&gt;&gt; return.&quot;) . &quot;\n&quot;;

&gt;&gt;

&gt;&gt; This breaks any other driver, or am I missing something? Where is

&gt;&gt; %HEADER% being replaced?

&gt;

&gt; 1. see http://www.qmail-ldap.org/wiki/LDAP_REPLYTEXT

&gt; 2. this patch will break only other LDAP using mailsystems 

&gt; (hardcoding is done only in Driver/ldap.php). Solution TODO:



No, it breaks *all* drivers because it changes $vacationtxt which is passed to all drivers, but only qmail LDAP understands it.



&gt; a) specify mailsystem type in the configuration (exim, qmail-ldap)

&gt; b) use callback for encoding/decoding vacation message



b) as long as it still works as it did before, for standard setups.</description> 
   <pubDate>Tue, 25 Oct 2005 09:53:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2834#t12901</link> 
  </item> 
   
  <item> 
   <title>No feedback.</title> 
   <description>No feedback.</description> 
   <pubDate>Mon, 28 Nov 2005 16:05:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2834#t14246</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
