You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2008/03/07 13:33:55 UTC
[Bug 5847] New: spamd protocol File: header
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5847
Summary: spamd protocol File: header
Product: Spamassassin
Version: 3.2.4
Platform: All
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P5
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: achowe@snert.com
The AV protocols for clamd, avastd, fpscand all have a SCAN file command. Yet I
can't seem to find anything similar in the spamd protocol.
Might I suggest a header enhancement for when a spamd client is on the same host
as spamd server:
File: /path/to/file/to/scan
or
Message-File: /path/to/file/to/scan
When present, open and scan the file, then return the result back over the
socket to client. This would improve performance of a mail scanning system by
not having to do the file open, read, and transmit a copy of the contents to SA
over a socket, which probably saves a temp. file copy anyway back to disk before
doing it's scan. More efficient just to tell spamd where to look and reduce all
the extra I/O overhead.
The only time you need to stream the file to spamd is when the client and server
are on different machines.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.