Vincenzo Gianferrari Pini wrote:
> Noel J. Bergman wrote:
> >FYI, we now have support for ClamAV, although it:
> > (a) is currently a mailet, not a matcher as described in
> > http://www.mail-archive.com/[email protected]/msg03218.html
> > (b) requires Java 1.4.x
> Let me know where, so I can remove the dependency.
Below my signature is the error report from compiling with IBM Java 1.3.1.
If I change to 1.4.2, all compiles fine. The issues are the use of a
constructor that is protected in 1.3.1 and classes (SocketAddress &
InetSocketAddress) that were introduced in 1.4.
> I wrote it like a mailet in order to allow a better "syntax" for the
> various parameters it may require.
Agreed. We need to provide better parameter passing for matchers. :-)
> What you mean by runtime requirements? James performance related?
No, just the 1.4 requirement.
--- Noel
/x1/home/noel/ASF/james/server/branches/branch_2_1_fcs/src/java/org/apache/j
ames/transport/mailets/ClamAVScan.java:530: Socket() has protected access in
java.net.Socket
Socket socket = new Socket();
^
[See http://java.sun.com/j2se/1.3/docs/api/java/net/Socket.html]
/x1/home/noel/ASF/james/server/branches/branch_2_1_fcs/src/java/org/apache/j
ames/transport/mailets/ClamAVScan.java:548: cannot resolve symbol
symbol : class SocketAddress
location: class org.apache.james.transport.mailets.ClamAVScan
SocketAddress socketAddress = new InetSocketAddress(address,
getPort());
^
[See http://java.sun.com/j2se/1.4.2/docs/api/java/net/SocketAddress.html]
/x1/home/noel/ASF/james/server/branches/branch_2_1_fcs/src/java/org/apache/j
ames/transport/mailets/ClamAVScan.java:548: cannot resolve symbol
symbol : class InetSocketAddress
location: class org.apache.james.transport.mailets.ClamAVScan
SocketAddress socketAddress = new InetSocketAddress(address,
getPort());
^
[See
http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetSocketAddress.html]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]