Re: System filter buglet found (for me anyway)

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Pieter Immelman
CC: exim-users
Subject: Re: System filter buglet found (for me anyway)
On Sat, 31 May 1997, Pieter Immelman wrote:

> Not sure if it's just my outdated gcc 2.4.5 and 2.6.3, but I've found
> that without this patch to 1.61 and 1.62, my global message filter does
> weird things like freeze messages that does not match any of my filter
> rules (gcc 2.6.3 and Solaris 2.4) or just refuse to deliver anything
> when I have a global filter defined in "configure", as well as land up
> in a very bad mail loop (gcc 2.4.5 and SunOS 4.1.3_U1). Let me know if
> any of this (doesn't) makes sense. :)


It's a known bug, but thanks for your report anyway. The official patch is:

*** exim-1.62/src/filter.c  Wed Apr 16 14:34:48 1997
--- filter.c     Mon May 12 10:51:32 1997
***************
*** 1853,1858 ****
--- 1853,1859 ----
  initialize to no error. Also initialize the line number, for error messages and
  the log file variables. */


+ if (action != NULL) *action = SPECIAL_NONE;
special_action = action;
as_user = notroot;
no_log = forbid_log;


> ### snip ###
> --- src/deliver.c.orig    Sat May 31 02:02:55 1997
> +++ src/deliver.c    Sat May 31 01:58:12 1997
> @@ -1946,5 +1946,5 @@
>  if (message_filter != NULL)
>    {
> -  int action;
> +  int action = SPECIAL_NONE;
>    BOOL delivered;
>    char *error;
> ### snip ###

>


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714