You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by sbelt <sb...@velos.com> on 2001/07/05 17:14:17 UTC
Setting up a mail list
I am trying to setup a mail list. The James website appears to be truncated
on this subject, and I did not see the problem reported in the archives.
BTW, I am running off the 20010623 nitely on my Linux Mandrake 8.0 (ala
Redhat) using IBM jdk 1.3.
Below are (I believe all) the relevant entries in config.xml:
<!-- Sample listserv wrapping a local avalon list of users. -->
<mailet match="CommandForListserv=support@servicecart.com"
class="AvalonListservManager">
<membersPath> file://var/users/list-support </membersPath>
</mailet>
<mailet match="RecipientIs=support@servicecart.com"
class="AvalonListserv">
<membersonly> false </membersonly>
<attachmentsallowed> true </attachmentsallowed>
<replytolist> true </replytolist>
<membersPath>file://var/users/list-support</membersPath>
</mailet>
<repository name="list-support"
class="org.apache.james.userrepository.UsersFileRepository">
<destination URL="file://var/lists/list-support/"/>
</repository>
When I send an email to support@servicecart.com with the word "subscribe" as
the subject, I get an endlees loop of the following 2 errors:
Exception in processor <error>
java.lang.NullPointerException
at
org.apache.james.core.JamesMimeMessage.getLineCount(JamesMimeMessage.java:13
5)
at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
.java:124)
at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:156)
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
227)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:198)
at
org.apache.avalon.excalibur.thread.WorkerThread.run(WorkerThread.java:77)
Exception in processor <ghost>
org.apache.mailet.MailetException: Unable to find processor ghost
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
222)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:198)
at
org.apache.avalon.excalibur.thread.WorkerThread.run(WorkerThread.java:77)
If I restart James, the errors continue. I have to delete the spool folder
contents to get James running again.
Is this simply because I am using a nitley build? As the website page is
truncated, are there additional steps/requirements for this functionality?
TIA,
Steve B.
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
RE: Setting up a mail list
Posted by Danny Angus <da...@thought.co.uk>.
i think I'm to blame, its not subscribe/unsubscribe but something like
"list-on" "list-off" ... but don't quote me
> -----Original Message-----
> From: sbelt [mailto:sbelt@velos.com]
> Sent: Friday, July 06, 2001 5:31 PM
> To: james-user@jakarta.apache.org
> Subject: Re: Setting up a mail list
>
>
> Thanks, Charles. This cleared up the error.
>
> Now I have how-to questions: I see in the mail archive that I can
> join/drop
> the list by sending commands subscribe/unsubscribe to the address
> I setup in
> the config.xml. But how do I send the commands? I have tried sending an
> email with subscribe in the subject and message body, but these emails
> simply end up in the error folder.
>
> What is the format for subscribing to the list?
> Can I do this from the back-end by modifying specific files? (I am using
> file repositories/etc now)
>
> TIA,
> Steve B.
>
> Below is the relavent pieces of my config.xml:
>
> <!-- Sample listserv wrapping a local avalon list of users. -->
> <mailet match="CommandForListserv=support@servicecart.com"
> class="AvalonListservManager">
> <repositoryName>list-support</repositoryName>
> </mailet>
>
> <mailet match="RecipientIs=support@servicecart.com"
> class="AvalonLists
> erv">
> <membersonly> false </membersonly>
> <attachmentsallowed> true </attachmentsallowed>
> <replytolist> true </replytolist>
> <repositoryName>list-support</repositoryName>
> <subjectprefix>ServiceCart</subjectprefix>
> </mailet>
>
> <repository name="list-support"
>
> class="org.apache.james.userrepository.UsersFileRepository">
> <destination URL="file://var/lists/list-support/"/>
> </repository>
>
>
> ----- Original Message -----
> From: "Charles Benett" <ch...@benett1.demon.co.uk>
> To: <ja...@jakarta.apache.org>
> Sent: Friday, July 06, 2001 2:03 AM
> Subject: Re: Setting up a mail list
>
>
> > There were bugs (the config file and the code didn't match) that I
> corrected
> > the day after the last nightly build.
> > It should work if you get the current config file from cvsweb at:
> >
> >
> http://jakarta.apache.org/cvsweb/index.cgi/jakarta-james/src/conf/
james-conf
ig.xml
>
> download the latest revision (1.7), rename it to config.xml and swap with
your
> existing one.
>
> Charles
>
> sbelt wrote:
>
> > I am trying to setup a mail list. The James website appears to be
truncated
> > on this subject, and I did not see the problem reported in the archives.
> > BTW, I am running off the 20010623 nitely on my Linux Mandrake 8.0 (ala
> > Redhat) using IBM jdk 1.3.
<snip>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: Setting up a mail list
Posted by sbelt <sb...@velos.com>.
Thanks, Charles. This cleared up the error.
Now I have how-to questions: I see in the mail archive that I can join/drop
the list by sending commands subscribe/unsubscribe to the address I setup in
the config.xml. But how do I send the commands? I have tried sending an
email with subscribe in the subject and message body, but these emails
simply end up in the error folder.
What is the format for subscribing to the list?
Can I do this from the back-end by modifying specific files? (I am using
file repositories/etc now)
TIA,
Steve B.
Below is the relavent pieces of my config.xml:
<!-- Sample listserv wrapping a local avalon list of users. -->
<mailet match="CommandForListserv=support@servicecart.com"
class="AvalonListservManager">
<repositoryName>list-support</repositoryName>
</mailet>
<mailet match="RecipientIs=support@servicecart.com"
class="AvalonLists
erv">
<membersonly> false </membersonly>
<attachmentsallowed> true </attachmentsallowed>
<replytolist> true </replytolist>
<repositoryName>list-support</repositoryName>
<subjectprefix>ServiceCart</subjectprefix>
</mailet>
<repository name="list-support"
class="org.apache.james.userrepository.UsersFileRepository">
<destination URL="file://var/lists/list-support/"/>
</repository>
----- Original Message -----
From: "Charles Benett" <ch...@benett1.demon.co.uk>
To: <ja...@jakarta.apache.org>
Sent: Friday, July 06, 2001 2:03 AM
Subject: Re: Setting up a mail list
> There were bugs (the config file and the code didn't match) that I
corrected
> the day after the last nightly build.
> It should work if you get the current config file from cvsweb at:
>
>
http://jakarta.apache.org/cvsweb/index.cgi/jakarta-james/src/conf/james-conf
ig.xml
>
> download the latest revision (1.7), rename it to config.xml and swap with
your
> existing one.
>
> Charles
>
> sbelt wrote:
>
> > I am trying to setup a mail list. The James website appears to be
truncated
> > on this subject, and I did not see the problem reported in the archives.
> > BTW, I am running off the 20010623 nitely on my Linux Mandrake 8.0 (ala
> > Redhat) using IBM jdk 1.3.
<snip>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: Setting up a mail list
Posted by Charles Benett <ch...@benett1.demon.co.uk>.
There were bugs (the config file and the code didn't match) that I corrected
the day after the last nightly build.
It should work if you get the current config file from cvsweb at:
http://jakarta.apache.org/cvsweb/index.cgi/jakarta-james/src/conf/james-config.xml
download the latest revision (1.7), rename it to config.xml and swap with your
existing one.
Charles
sbelt wrote:
> I am trying to setup a mail list. The James website appears to be truncated
> on this subject, and I did not see the problem reported in the archives.
> BTW, I am running off the 20010623 nitely on my Linux Mandrake 8.0 (ala
> Redhat) using IBM jdk 1.3.
>
> Below are (I believe all) the relevant entries in config.xml:
>
> <!-- Sample listserv wrapping a local avalon list of users. -->
> <mailet match="CommandForListserv=support@servicecart.com"
> class="AvalonListservManager">
> <membersPath> file://var/users/list-support </membersPath>
> </mailet>
>
> <mailet match="RecipientIs=support@servicecart.com"
> class="AvalonListserv">
> <membersonly> false </membersonly>
> <attachmentsallowed> true </attachmentsallowed>
> <replytolist> true </replytolist>
> <membersPath>file://var/users/list-support</membersPath>
> </mailet>
>
> <repository name="list-support"
>
> class="org.apache.james.userrepository.UsersFileRepository">
> <destination URL="file://var/lists/list-support/"/>
> </repository>
>
> When I send an email to support@servicecart.com with the word "subscribe" as
> the subject, I get an endlees loop of the following 2 errors:
>
> Exception in processor <error>
> java.lang.NullPointerException
> at
> org.apache.james.core.JamesMimeMessage.getLineCount(JamesMimeMessage.java:13
> 5)
> at
> org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
> .java:124)
> at
> org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:156)
> at
> org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
> 227)
> at
> org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:198)
> at
> org.apache.avalon.excalibur.thread.WorkerThread.run(WorkerThread.java:77)
> Exception in processor <ghost>
> org.apache.mailet.MailetException: Unable to find processor ghost
> at
> org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
> 222)
> at
> org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:198)
> at
> org.apache.avalon.excalibur.thread.WorkerThread.run(WorkerThread.java:77)
>
> If I restart James, the errors continue. I have to delete the spool folder
> contents to get James running again.
>
> Is this simply because I am using a nitley build? As the website page is
> truncated, are there additional steps/requirements for this functionality?
>
> TIA,
>
> Steve B.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org