[Design of JBoss Collaboration Server] - Re: JBCS & ClamAV Antivirus
by gohip@ichibancomputers.com
very nice sappenin!
1. I think it would be a nice feature, that if a message had more than one body and a certain body was infected, you didnt just junk the whole email. And I think exchange follows along this route, at least to an extent, as it will block attachments, but not the body, or maybe it doesnt, as I have (knock on wood 3 times) never gotten avirus in the/an email.
It does have the capibility of blocking certain types of attachments $feature$, as it annoyingly does to me.
2. as with the above, you would probaly want some configurable interface (jboss-service.xml), that would allow an admin to configure, as with any virus scanner, it could be configured to do or attempt, any of what you described, I like your idea of cleansing and rewriting, that way, if you got a chain of emails bodies, within a single message, you could just rewrite the "cleansed" portion, notifying the end user
Guess you/I could just go on and on...
anyways, again, good job!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971794#3971794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971794
19 years, 6 months
[Design of JBoss Collaboration Server] - Re: Help, can not send email to hotmail.com?
by wrwttkl22
Thank you!
When I send email to Hotmail.com from test@localhost ,there are some wrong info in server:
11:54:57,234 INFO [AbstractStore] Creating store item
11:54:57,265 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message
.Mail@78b973
11:54:57,375 INFO [ConnectionHandler] ConnectionHandler finished
11:55:18,250 INFO [STDOUT] java.net.ConnectException: Connection timed out: con
nect11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.socketConnect(Native
Method)
11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.doConnect(PlainSocke
tImpl.java:333)
11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.connectToAddress(Pla
inSocketImpl.java:195)
11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.connect(PlainSocketI
mpl.java:182)
11:55:18,250 INFO [STDOUT] at java.net.SocksSocketImpl.connect(SocksSocketI
mpl.java:364)
11:55:18,250 INFO [STDOUT] at java.net.Socket.connect(Socket.java:507)
11:55:18,250 INFO [STDOUT] at java.net.Socket.connect(Socket.java:457)
11:55:18,250 INFO [STDOUT] at java.net.Socket.(Socket.java:365)
11:55:18,250 INFO [STDOUT] at java.net.Socket.(Socket.java:178)
11:55:18,250 INFO [STDOUT] at org.columba.ristretto.smtp.SMTPProtocol.openP
ort(SMTPProtocol.java:154)
11:55:18,250 INFO [STDOUT] at org.jboss.mail.smtp.sender.SMTPSender.sendFor
Domain(SMTPSender.java:443)
11:55:18,250 INFO [STDOUT] at org.jboss.mail.smtp.sender.SMTPSender.send(SM
TPSender.java:364)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
85)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:141)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:80)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:72)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:245)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:644)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
roxyExt.java:176)
11:55:18,250 INFO [STDOUT] at $Proxy62.send(Unknown Source)
11:55:18,250 INFO [STDOUT] at org.jboss.mail.mailhandler.remote.RemoteDeliv
ery.deliver(RemoteDelivery.java:107)
11:55:18,250 INFO [STDOUT] at org.jboss.mail.mailhandler.remote.RemoteDeliv
ery.send(RemoteDelivery.java:54)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
85)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:141)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:80)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:72)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:245)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:644)
11:55:18,250 INFO [STDOUT] at javax.management.MBeanServerInvocationHandler
.invoke(MBeanServerInvocationHandler.java:201)
11:55:18,250 INFO [STDOUT] at $Proxy57.send(Unknown Source)
11:55:18,250 INFO [STDOUT] at org.jboss.mail.MailListenerChainService.proce
ssMail(MailListenerChainService.java:166)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
85)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:141)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:80)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.
invoke(AbstractInterceptor.java:118)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:74)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationI
nterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:74)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:245)
11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:644)
11:55:18,250 INFO [STDOUT] at javax.management.MBeanServerInvocationHandler
.invoke(MBeanServerInvocationHandler.java:201)
11:55:18,250 INFO [STDOUT] at $Proxy95.processMail(Unknown Source)
11:55:18,250 INFO [STDOUT] at org.jboss.mail.delivery.DeliveryMDB.onMessage
(DeliveryMDB.java:72)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
85)
11:55:18,250 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(I
nvocation.java:345)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer$Containe
rInterceptor.invoke(MessageDrivenContainer.java:475)
11:55:18,250 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedCo
nnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.MessageDrivenInstanceIn
terceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationIntercept
or.invoke(CallValidationInterceptor.java:48)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(AbstractTxInterceptor.java:106)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:335)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:166)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.RunAsSecurityIntercepto
r.invoke(RunAsSecurityInterceptor.java:94)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:192)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer.internal
Invoke(MessageDrivenContainer.java:389)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java
:873)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker
.invoke(JMSContainerInvoker.java:1077)
11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker
$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
11:55:18,250 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.onMessage(
StdServerSession.java:256)
11:55:18,250 INFO [STDOUT] at org.jboss.mq.SpyMessageConsumer.sessionConsum
erProcessMessage(SpyMessageConsumer.java:904)
11:55:18,250 INFO [STDOUT] at org.jboss.mq.SpyMessageConsumer.addMessage(Sp
yMessageConsumer.java:160)
11:55:18,250 INFO [STDOUT] at org.jboss.mq.SpySession.run(SpySession.java:3
33)
11:55:18,250 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.run(StdSer
verSession.java:180)
11:55:18,250 INFO [STDOUT] at EDU.oswego.cs.dl.util.concurrent.PooledExecut
or$Worker.run(PooledExecutor.java:748)
11:55:18,250 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
11:55:18,250 ERROR [SMTPSender] Unble to send email.
org.columba.ristretto.smtp.SMTPException: Wrong state!
at org.columba.ristretto.smtp.SMTPProtocol.ensureState(SMTPProtocol.java
:768)
at org.columba.ristretto.smtp.SMTPProtocol.helo(SMTPProtocol.java:321)
at org.jboss.mail.smtp.sender.SMTPSender.sendForDomain(SMTPSender.java:4
49)
at org.jboss.mail.smtp.sender.SMTPSender.send(SMTPSender.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy62.send(Unknown Source)
at org.jboss.mail.mailhandler.remote.RemoteDelivery.deliver(RemoteDelive
ry.java:107)
at org.jboss.mail.mailhandler.remote.RemoteDelivery.send(RemoteDelivery.
java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvoc
ationHandler.java:201)
at $Proxy57.send(Unknown Source)
at org.jboss.mail.MailListenerChainService.processMail(MailListenerChain
Service.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvoc
ationHandler.java:201)
at $Proxy95.processMail(Unknown Source)
at org.jboss.mail.delivery.DeliveryMDB.onMessage(DeliveryMDB.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
ageDrivenContainer.java:475)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:149)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
DrivenInstanceInterceptor.java:101)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
66)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
terceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
ainer.java:389)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
ker.java:1077)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
essage(JMSContainerInvoker.java:1379)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:25
6)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
ageConsumer.java:904)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:16
0)
at org.jboss.mq.SpySession.run(SpySession.java:333)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:748)
at java.lang.Thread.run(Thread.java:595)
11:55:18,250 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message
.MailRetryWrapper@195ba08
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971793#3971793
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971793
19 years, 6 months
Virus intercepted
by MAILER-DAEMON@lists.jboss.org
A message sent from <info(a)www.filesharingcenter.com> to
<jboss-dev-forums(a)lists.jboss.org>
contained HTML.Phishing.Pay-178 and has not been delivered.
The infected machine is likely to be here:
from www.filesharingcenter.com (localhost.localdomain [127.0.0.1])
by www.filesharingcenter.com (8.12.10/8.12.10) with ESMTP id k8EMhFNJ003831
for <jboss-dev-forums(a)lists.jboss.org>; Thu, 14 Sep 2006 17:43:15 -0500
19 years, 6 months
[Design of JBoss Remoting, Unified Invokers] - Re: Moving core o.j.invocation classes to common
by bstansberry@jboss.com
Thanks for adding me.
"scott.stark(a)jboss.org" wrote :
| These would need to be a legacy unified invoker artifact in a remoting subproject.
|
Where were you thinking this legacy artifact would be used? In 5.0.x, the new model is going to be used on the server side, so obviously not there.
Tom mentioned you'd expressed interest in backporting the new stuff to 4.0. In 4.0 I imagine the new model could be an alternative for the client side. But don't see how it could used be on the server side w/o breaking any existing custom interceptors people have written. So, if in 4.0 org.jboss.invocation is the server-side model, don't know why we'd move it to remoting.
Only thing I could think of is in 5.0.x having some special proxy factories that could create a proxy that used the old model, and then a special invoker that could translate the call using the old model into the new model for use inside the server. A transition aid for people with custom client interceptors/load balance policies. But, well, yuck :(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971678#3971678
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971678
19 years, 6 months
[Design of JBoss Remoting, Unified Invokers] - Re: Have remoting support a non invocation based model
by tom.elrod@jboss.com
anonymous wrote :
| If you are going to throw it away, why write it on the server side in the first place? Seems wasteful.
|
Correct, is wasteful. Is this way because was quickest way to get it done and have confidence would work correctly instead of introducing new code and execution path. Can be remedied as part of JBREM-548.
anonymous wrote :
| If the API is extended, surely existing transports are unaffacted, they can throw UnsupportedOperationException for any new methods, which won't be called by old user code anyway
|
If the API is extended, the transports need to support that change in that code base (this is the point I was making). Correct about previous versions being fine. But if add API that is not support by all transports, then defeats one of the main purposes behind remoting (which is common api regardless of how implemented in different transports).
In regards to how server side works (at least for socket server invoker) you should really read http://labs.jboss.com/portal/jbossremoting/docs/guide/ch05.html#d0e1120
anonymous wrote :
| It's also crucial to us that we only use a single TCP connection and concurrent requests are multiplexed over that -i.e. we don't want a socket pool as is currently the case with the socket transport.
|
This is controlled by clientMaxPoolSize property (see http://labs.jboss.com/portal/jbossremoting/docs/guide/ch05.html#d0e1052). If only want to allow one connection per client, then can set to 1 (although think code currently allows value greater than 1, but easy to fix that).
As for blocking IO, not too difficult to update remoting so calling threads return immediately for one-way (async) calls and make it so server side throws away result before even reaching network. However, for async callbacks, this is more difficult in that more infrastructure is required as have to know how/where to make the callback and how to deliver it once there (which is what remoting callbacks are for). If you have any suggestions for improving the callback part, feel free to express them. Just remember that I need to be able to support the API/model over all the different transports.
As for multiplex channel, if want to write your own, use MINA or whatever, be my guest.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971648#3971648
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971648
19 years, 6 months