Bug#267706: exim4: Exim should use procmail if it is installed even if there is not a ~/.procmailrc file

Mike Fedyk Mike Fedyk <mfedyk@matchmail.com>, 267706@bugs.debian.org
Sat, 06 Nov 2004 11:59:39 -0800


This is a multi-part message in MIME format.
--------------010706060303090704080100
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Andreas Metzler wrote:

>tags 267706 pending
>thanks
>On 2004-08-24 Mike Fedyk <mfedyk@matchmail.com> wrote:
>  
>
>>Andreas Metzler wrote:
>>    
>>
>[...]
>  
>
>>>I think it is possible to make exim use procmail if either
>>>/etc/procmailrc or ~/.procmailrc exist
>>>      
>>>
>[..]
>  
>
>>>I assume you'd be satisfied by that?
>>>      
>>>
>
>  
>
>>Yes.
>>    
>>
>[...]
>
>Ok, fixed in CVS with this change:
>-  require_files = ${local_part}:${home}/.procmailrc:+/usr/bin/procmail
>+  # emulate OR with "if exists"-expansion
>+  require_files = ${local_part}:\
>+                  ${if exists{/etc/procmailrc}\
>+                    {/etc/procmailrc}{${home}/.procmailrc}}:\
>+                  +/usr/bin/procmail
>
>            cu andreas
>  
>
Ok, thanks Andreas.

--------------010706060303090704080100
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas Metzler wrote:
<blockquote cite="mid20041106100321.GA3605@downhill.at.eu.org"
 type="cite">
  <pre wrap="">tags 267706 pending
thanks
On 2004-08-24 Mike Fedyk <a class="moz-txt-link-rfc2396E" href="mailto:mfedyk@matchmail.com">&lt;mfedyk@matchmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Andreas Metzler wrote:
    </pre>
  </blockquote>
  <pre wrap=""><!---->[...]
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I think it is possible to make exim use procmail if either
/etc/procmailrc or ~/.procmailrc exist
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->[..]
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I assume you'd be satisfied by that?
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">Yes.
    </pre>
  </blockquote>
  <pre wrap=""><!---->[...]

Ok, fixed in CVS with this change:
-  require_files = ${local_part}:${home}/.procmailrc:+/usr/bin/procmail
+  # emulate OR with "if exists"-expansion
+  require_files = ${local_part}:\
+                  ${if exists{/etc/procmailrc}\
+                    {/etc/procmailrc}{${home}/.procmailrc}}:\
+                  +/usr/bin/procmail

            cu andreas
  </pre>
</blockquote>
Ok, thanks Andreas.<br>
</body>
</html>

--------------010706060303090704080100--