<?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>procmail forwarding may cause mail loops</title> 
  <pubDate>Fri, 10 Apr 2026 14:10:44 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/3502</link> 
  <atom:link rel="self" type="application/rss+xml" title="procmail forwarding may cause mail loops" href="https://bugs.horde.org/ticket/3502/rss" /> 
  <description>procmail forwarding may cause mail loops</description> 
 
   
   
  <item> 
   <title>Procmail forwarding recipes created by Ingo contain no prote</title> 
   <description>Procmail forwarding recipes created by Ingo contain no protecting against mail loops if the forwarded-to address is bad or if it forwards back to this address.  The attached patch should fix the problem.



The patch still has one bug, described in the comments.



I&#039;m no procmail expert, but we&#039;ve been running this patch for a few months with no complaints.</description> 
   <pubDate>Fri, 17 Feb 2006 04:57:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t16888</link> 
  </item> 
   
  <item> 
   <title>Ben, if you have the time to take a quick look at the patch,</title> 
   <description>Ben, if you have the time to take a quick look at the patch, I can take care of committing it.</description> 
   <pubDate>Tue, 28 Mar 2006 15:44:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18302</link> 
  </item> 
   
  <item> 
   <title>I am using it for a few weeks with no problems, at least I h</title> 
   <description>I am using it for a few weeks with no problems, at least I have no more message looping since I patched with this, so thanks a lot for this patch and I vote to make it a part of official code.</description> 
   <pubDate>Thu, 30 Mar 2006 09:18:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18424</link> 
  </item> 
   
  <item> 
   <title>Looks good to me.</title> 
   <description>Looks good to me.</description> 
   <pubDate>Thu, 30 Mar 2006 14:28:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18433</link> 
  </item> 
   
  <item> 
   <title>The comments say &quot;Code taken from pm-lib.sourceforge.net.&quot; W</title> 
   <description>The comments say &quot;Code taken from pm-lib.sourceforge.net.&quot; What exactly does this mean?</description> 
   <pubDate>Thu, 30 Mar 2006 21:49:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18464</link> 
  </item> 
   
  <item> 
   <title>&gt; The comments say &quot;Code taken from pm-lib.sourceforge.net.&quot;</title> 
   <description>&gt; The comments say &quot;Code taken from pm-lib.sourceforge.net.&quot; What 

&gt; exactly does this mean?



I needed the &quot;from&quot; address, to pass as the -f option to sendmail.  pm-lib.sourceforge.net contains a procmail snippet for determining the from address without making an extra call to formail, so I used it.  (This makes up the 13 lines or so of code that set OUTPUT.)  I just realized that pm-lib is GPL&#039;ed and Horde is LGPL&#039;ed, so maybe it wasn&#039;t appropriate to do this; if you&#039;d like me to rework the patch or contact pm-lib&#039;s author for permission, please let me know.  (Sorry, I&#039;m not very familiar with the process for including code snippets from one open source project in another.)</description> 
   <pubDate>Fri, 31 Mar 2006 15:14:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18510</link> 
  </item> 
   
  <item> 
   <title>It&#039;s even worse because Ingo is under the Apache license. Ye</title> 
   <description>It&#039;s even worse because Ingo is under the Apache license. Yes, please ask the author or find a different solution.

Attached is my cleaned up version of you patch with several coding standards fixes. Please continue from there.</description> 
   <pubDate>Fri, 31 Mar 2006 15:22:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18519</link> 
  </item> 
   
  <item> 
   <title>From further discussion by mail:



Hi Josh, Jari,



Zitat </title> 
   <description>From further discussion by mail:



Hi Josh, Jari,



Zitat von Josh Kelley &lt;joshkel@gmail.com&gt;:



&gt; I&#039;ve been in contact with the author of pm-lib regarding using his

&gt; code as part of the fix for http://bugs.horde.org/ticket/?id=3502.

&gt; Here&#039;s his latest reply.  As the Apache 2.x license is compatible with

&gt; the GPL (or at least will be once GPL 3 is released), he had presented

&gt; using that as one possible solution to the licensing discrepancy; you

&gt; can read the rest of the dialog below.

&gt;

&gt; I think that we need input from the Horde developers at this point, so

&gt; I&#039;m forwarding to you.

&gt;

&gt; Josh Kelley

&gt;

&gt; ---------- Forwarded message ----------

&gt; From: Jari Aalto &lt;jari.aalto@cante.net&gt;

&gt; Date: Apr 4, 2006 1:16 PM

&gt; Subject: Re: Licensing question - sharing Apache and GPL code

&gt; (pm-lib/Ingo/Horde)

&gt; To: Josh Kelley &lt;joshkel@gmail.com&gt;

&gt;

&gt;

&gt; | On 4/4/06, Jari Aalto &lt;jari.aalto@cante.net&gt; wrote:

&gt; | &gt; | If my understanding of the incompatibilities is correct, then may I

&gt; | &gt; | have permission to include some pm-lib code, under section 10 of the

&gt; | &gt; | the GPL?

&gt; | &gt;

&gt; | &gt; You have my permission, but the problem is that it would not be

&gt; | &gt; legally valid. I propose the following (Ingo/Horde people CC&#039;d).

&gt; |

&gt; | Why would it not be legally valid?  As the author of pm-lib, you may

&gt; | choose to license your code however you wish and make it available

&gt; | under separate two licenses if you wish.  Section 10 of the GPL

&gt; | specifically permits authors of GPL&#039;ed code to make the code available

&gt; | for free software projects not under the GPL if they so desire.

&gt;

&gt; I explained too tersely. I meant that in the light of the license

&gt; parties&#039; undertanding (Apache foundation and FSF), the Apache 1.x

&gt; license and GPL does not seem to be compatible.

&gt;

&gt; As for multiple licensing, which I have to politely decline, I have my

&gt; reservations, because they easily adds complexity that I&#039;m unable to

&gt; handle and properly comprehend. I feel multiple licensing is for

&gt; Organizations and foundations that have the resources to know what

&gt; they are doing. The GPL in my view has advantage of being tested in

&gt; court, whereas the other licenses to my knowledge have not yet.

&gt;

&gt; When I referred to &quot;it would not be legally valid&quot;, I meant:

&gt;

&gt; - I can give written permission to copy the code to

&gt;   other projects.

&gt; - but whether it would be legally okay, I do not know. What if

&gt;   the code is again distributed to other projects and with

&gt;   BSD license? (I&#039;m would not be in favor of BSD type commercial/closed/

&gt;   allowance licenses).

&gt;

&gt; The licensing issues are complex matter and I would rather suggest to

&gt; make an informed decision:

&gt;

&gt; -  practical; just take the code and quote me

&gt;    in the project files: &quot;The Ingo project

&gt;    has the permission to use Procmail Library code

&gt;    under Apache licence v 1.x or any later version.

&gt;    Permission obtained 2006-04-04 from Author Jari Aalto.&quot;



This seems like the easiest way to go. We are talking about less then ten lines of procmail recipe code (iirc) which is not really rocket science. This would of course be a completely different story if we were about to include large parts of, or the complete pm-lib.

And it&#039;s similar to how we did handle inclusion of other third party code or algorithms with written permission by the author.



&gt; I can pgp sign the wording as needed. You can also suggest wording

&gt; that we can agree on.

&gt;

&gt; -  Long route; take the issue to the development team

&gt;    (upstream; Ingo, Horde devel) and have a discussion to

&gt;    persuate them to move to Apache 2.x licence or have them

&gt;    add wording &quot;Apache 1.x lincence or at your option

&gt;    any later version&quot; as GPL does.



This seems impratical. I&#039;m not sure if this an issue of GPL only or with any licence like ASL here. But since contributors don&#039;t explicitely hand the copyright over to the Horde Project (which doesn&#039;t exist as a legal entity anyway), we probably can&#039;t simply change the licence without the permission of each single contributor.



Jan. </description> 
   <pubDate>Wed, 12 Apr 2006 22:30:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t18829</link> 
  </item> 
   
  <item> 
   <title>We received permission, so it should be okay to proceed with</title> 
   <description>We received permission, so it should be okay to proceed with the current patch.  From further discussion by mail:



From: Jari Aalto &lt;jari.aalto@cante.net&gt;

To: Josh Kelley &lt;joshkel@gmail.com&gt;

Date: Apr 17, 2006 9:49 AM

Subject: Re: Licensing question - sharing Apache and GPL code (pm-lib/Ingo/Horde)



| On 4/4/06, Jari Aalto &lt;jari.aalto@cante.net&gt; wrote:

| &gt; The licensing issues are complex matter and I would rather suggest to

| &gt; make an informed decision:

| &gt;

| &gt; -  practical; just take the code and quote me

| &gt;    in the project files: &quot;The Ingo project

| &gt;    has the permission to use Procmail Library code

| &gt;    under Apache licence v 1.x or any later version.

| &gt;    Permission obtained 2006-04-04 from Author Jari Aalto.&quot;

|

| Since the Horde developers have said that they prefer this approach,

| is it okay if we proceed with it?

|

| Thank you for all of your time spent on this.



Sure, please go ahead,



Jari</description> 
   <pubDate>Mon, 17 Apr 2006 21:58:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t19039</link> 
  </item> 
   
  <item> 
   <title>OK, can you please update my version of the patch to include</title> 
   <description>OK, can you please update my version of the patch to include the source of the code and the permission to redistribute it in the comments?</description> 
   <pubDate>Tue, 18 Apr 2006 09:53:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t19064</link> 
  </item> 
   
  <item> 
   <title>Are you going to update the patch?</title> 
   <description>Are you going to update the patch?</description> 
   <pubDate>Tue, 23 May 2006 04:25:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t20516</link> 
  </item> 
   
  <item> 
   <title>Here&#039;s the patch, finally.  Is this format okay?



Sorry it</title> 
   <description>Here&#039;s the patch, finally.  Is this format okay?



Sorry it took me so long to take care of this.</description> 
   <pubDate>Tue, 23 May 2006 15:31:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t20528</link> 
  </item> 
   
  <item> 
   <title>Perfect.</title> 
   <description>Perfect.</description> 
   <pubDate>Tue, 23 May 2006 15:49:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t20534</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks!</title> 
   <description>Committed, thanks!</description> 
   <pubDate>Tue, 23 May 2006 19:22:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3502#t20551</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
