[exim-dev] [Bug 926] clamd 0.95 deprecates "STREAM" command

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Phil Pennock
日付:  
To: exim-dev
題目: [exim-dev] [Bug 926] clamd 0.95 deprecates "STREAM" command
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=926

Phil Pennock <exim-dev@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |exim-dev@???





--- Comment #1 from Phil Pennock <exim-dev@???> 2009-12-05 01:27:41 ---
Thanks for the heads-up.

Incidentally, it looks as though Exim has an undocumented feature (!!) in the
ClamAV scanning.

As well as using the SCAN command for unix-domain sockets, if you configure a
second option of "local" for network sockets, it tells Exim to assume common
storage (which, given Exim's spool ownership, had better mean "same machine")
and so again issues the SCAN command, instead of STREAM.

This would be a configuration of:

av_scanner = clamd:192.0.2.42 1234:local

Untested, but that's what the code appears to do.

This is more efficient (avoids sending the files around) so is a win, if this
configuration can work for you.

-Phil


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email