Marco Balmer wrote:
> 
> Is there a implementation for http://www.avira.com 's AntiVir solution?

Their AntiVir Unix MailGate works with Sendmail's milterlib. Courier has
more or less the same callbacks, however the details are slightly different.

One may try implement milterlib for Courier. It provides for callbacks on
  connection (not provided by Courier, should be faked),
  helo (ditto),
  envfrom (ditto),
  envrcpt (provided as rcpt APIs),
  header (not provided for each header, can be forwarded by a global filter),
  eoh (ditto),
  body (ditto: Courier does not split messages into header/body parts),
  eom, abort, close.

In addition, the socket can only be a unix domain socket and must be in
specific Courier directories. Forwarding to a different socket for library
interface compliance is a gratuitous waste of resources.

Presumably, AntiVir is really only interested in the body of the
message and just the MIME headers necessary to parse it. A small subset
of the milterlib possibilities. Thus, it would be easier and better to
implement that directly using the global filtering API.

Unfortunately, AntiVir is not available as a library. Instead, they support
each single MTA. Hence, support for Courier should be coded by their staff.
Perhaps, they would grab some startup approach from my interface for
SophosAV http://www.tana.it/sw/avfilter/




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to