PATCH: have lmtpd report sieve script file errors

Rob Siemborski rjs3 at andrew.cmu.edu
Thu Feb 20 10:45:47 EST 2003


I've committed this, with the small modification that it checks to see if
the FILE * returned is NULL, instead of errno != 0.

-Rob

On Thu, 20 Feb 2003, Jay Levitt wrote:

> Right now, lmtpd assumes that if fopen() fails on the sieve script, it must
> be because the file isn't there, which is a valid condition, so no error is
> logged.  Since two people this week had permissions problems, seems like
> something that ought to be logged.  This simple patch does it.
>
> Jay Levitt
>
>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper






More information about the Info-cyrus mailing list