-
15. Re: More jASEN
mikezzz May 20, 2005 3:09 AM (in response to wobbet)Brilliant, I will attempt to merge this weekend.
Mike. -
16. Re: More jASEN
wobbet May 20, 2005 12:21 PM (in response to wobbet)Since you're in England you probably don't see the same television commercials that we see. There's a collection of Guiness commercials with two animated Brits talking about what's new with the beer...
"Look what I've invented - a six pack!"
"A six pack?!?! Brilliant!"
"But don't drink all six at once."
"Not drinking six beers at once?!?! Brilliant!"
Your opening line triggered a commercial flashback for me...
rjsjr -
17. Re: More jASEN
wobbet May 20, 2005 4:59 PM (in response to wobbet)How do I get jASEN into a POP listener chain?
Right now the chain definition that is in jboss-service.xml is for the SMTP chain. That's nice in that whenever I send out a message it has a X-SpamScore header that other people can read but it doesn't help me evaluate if incoming mail is spam or not...
Thanks!
rjsjr -
18. Re: More jASEN
mikezzz May 21, 2005 3:27 AM (in response to wobbet)Patch applied.
As for a POP listener chain, I think that SMTP is the only place that has a chain, although Andy recently decoupled the listener chain stuff such that it could be placed elsewhere. My preference would be to add a chain on the LocalDeliveryMBD (will require code change). Andy is the Mail Listener expert, hopefully he can offer a comment.
Mike. -
19. Re: More jASEN
wobbet May 23, 2005 4:07 PM (in response to wobbet)Maybe I'm thinking about this the wrong way - does it need to be in the POP chain or does it need to be in a different SMTP chain?
Isn't there one SMTP chain for sending email and another for receiving email? If so then I just create a chain for the receiving email instance and put the jASEN listener in there.
If that's the case where would I find that defined in the jboss-service.xml file? There's the definition of the SMTP Server and that uses the definition of the SMTP protocol. The chain is attached to the protocol definition...
So why is my listener not getting called when I receive mail from another server? Is there more than one entry point into the chain I need to worry about? Am I mis-configured again?
rjsjr -
20. Re: More jASEN
wobbet May 23, 2005 4:25 PM (in response to wobbet)Okay, I'm an idiot again...
The listener chain works properly on both sending and receiving.
I'm not getting the logging statements that I'm expecting. What do I need to configure to getprivate static final Logger jblog = Logger.getLogger(JasenMailListener.class);
To work properly?
rjsjr -
21. Re: More jASEN
mikezzz Jun 4, 2005 3:53 AM (in response to wobbet)Make sure you are using the JBoss Logger and not the log4j one. Other than that the default log4j.xml configuration should just work.
Mike.