[Mimedefang] Re: Clamd patch for errors; file permissions

Nate Carlson natecars at real-time.com
Mon Mar 8 17:15:14 EST 2004


On Mon, 8 Mar 2004, Nate Carlson wrote:
> Also, the current method of calling clamd does not fail if clamd runs
> into an error reading the file off the filesystem. I've included a patch
> to fix that issue. Note that I haven't heavily tested this, so it's
> possible it breaks other things, but it is fairly simple.

FYI, here's the error that clamd returns if it cannot access the file:

/var/spool/MIMEDefang/mdefang-i28E7u5D008574/Work/INPUTMSG: Can't access the file ERROR

..which is what that patch looks for (string, ends with 'ERROR').

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500



More information about the MIMEDefang mailing list