Re: [Exim] Quirky Bug?

Top Page
Delete this message
Reply to this message
Author: Greg Ward
Date:  
To: exim-users
Subject: Re: [Exim] Quirky Bug?
On 29 November 2001, Marc Perkel said:
> Something I noticed. When editing my system filter file I've noticed
> that if a message comes in at the same time I'm actually doing the
> saving of the file from my editor (file locked I believe) that Exim will
> ignore the filter.


What editor are you using? I think a sensible editor would do something
like this, to minimize the window during which the file doesn't exist:

f = open("file.tmp")
write(f, file_contents)
close(f)
rename("file", "file~")
rename("file.tmp", "file")

There's still a small window of file-not-there between the two renames,
but it's pretty small.

IOW, this might be your editor's fault, and not Exim's.

        Greg