Robert,
Looking over your stack trace, it appears that there is some problem with
your user repository. How are yours list relate elements configured? Here
are the elements that make up a list. In transport:
<mailet match="[EMAIL PROTECTED]"
class="AvalonListservManager">
<repositoryName>list-interests</repositoryName>
</mailet>
<mailet match="[EMAIL PROTECTED]" class="AvalonListserv">
<repositoryName>list-interests</repositoryName>
<membersonly>true</membersonly>
<attachmentsallowed>true</attachmentsallowed>
<replytolist>true</replytolist>
<autobracket>false</autobracket>
<subjectprefix xml:space="preserve">[INTERESTS] </subjectprefix>
</mailet>
In the <users-store> element, there is a new child:
<repository name="list-interests"
class="org.apache.james.userrepository.ListUsersJdbcRepository"
destinationURL="db://maildb/lists/list-interests">
<sqlFile>file://conf/sqlResources.xml</sqlFile>
</repository>
That's it. I have a dozen or so, and they all work fine. You can find this
documented with more detail at:
http://james.apache.org/mailing_lists_2_1.html.
--- Noel
-----Original Message-----
From: Robert Carter (ABS, Inc.) [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 08, 2003 16:22
To: [EMAIL PROTECTED]
Subject: Problems with Mail List Functionality
Platform: Win2K, JRE 1.4.1_01, James 2.1
Problem: Following error message in the spoolmanager.log file
08/02/03 16:04:57 ERROR spoolmanager: Exception in processor <root>
java.lang.NullPointerException
at
org.apache.james.transport.mailets.AvalonListserv.getMembers(AvalonListserv.
java:132)
at
org.apache.james.transport.mailets.GenericListserv.service(GenericListserv.j
ava:156)
at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:
362)
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
385)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:315)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
08/02/03 16:04:57 ERROR spoolmanager: An error occurred processing
Mail1044738268676-3 through root
08/02/03 16:04:57 ERROR spoolmanager: Result was error
What I did:
POP3 and SMTP works. Subscribing to the list server works. I get this
error message when I try to send to the list server.
I did some research in the mail list archives and there are some
messages concerning this error, but no solutions where posted. Thanks
for your time.
----
Robert Carter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]