Thanks, Norman, I was able to compile the mailet and install it. But in the SPFLoggerAdapter you create and throw an UnsupportedOperationException if the getChildLogger method is called. And in the init routine, the "spf = new DefaultSPF( logger);" call, the SPF code does indeed call getChildLogger. The exception is thrown, and James dies.

Obviously if you are throwing an exception in that method, you don't expect it to be called in a normal circumstance. Then why is the SPF code calling it? I could dig into the source of the SPF module and figure it out. But hopefully you can explain why it is calling it and what I need to change to make it not call it.

Thanks,

Jerry

Norman Maurer wrote:
I commited some SPF Mailet into trunk some month ago. I think you can
easily backport it.

Here is the code:
https://svn.apache.org/repos/asf/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/SPF.java

Cheers,
Norman




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to