Thanks Daniel, but unfortunately I got another exception, here my config.xml and the exception, the exception say "No value is associated with the configuration element "listName" at -;", but the elemente there is and its value is "james"

please help me I'm going crazy,

<mailet match="[EMAIL PROTECTED]" class="CommandListservProcessor">
           <membersonly>true</membersonly>
           <attachmentsallowed>true</attachmentsallowed>
           <replytolist>false</replytolist>
           <repositoryName>list-james</repositoryName>
           <subjectprefix>Prefisso</subjectprefix>
           <specifiedpostersonly>true</specifiedpostersonly>
           <autobracket>true</autobracket>
           <listOwner>[EMAIL PROTECTED]</listOwner>
           <listName>*james*</listName>
           <allowedposters>
              <address>[EMAIL PROTECTED]</address>
           </allowedposters>
        </mailet>

and this is the exception:
08/06/05 14:39:11 ERROR spoolmanager: Unable to init mailet CommandListservManager: javax.mail.MessagingException: No value is associated with the configuration element "listName" at -;
 nested exception is:
org.apache.avalon.framework.configuration.ConfigurationException: No value is associated with the configuration element "listName" at - javax.mail.MessagingException: No value is associated with the configuration element "listName" at -;
 nested exception is:
org.apache.avalon.framework.configuration.ConfigurationException: No value is associated with the configuration element "listName" at - at org.apache.james.transport.mailets.CommandListservManager.init(CommandListservManager.java:306)

Daniel Perry wrote:

penny drops.... you were using the avalon list serv (and partly still are,
which is why you get the error).

The code changes were to the commandlistserv - which is newer that the
avalonlistserv.

Now I changed into:

          <mailet match="[EMAIL PROTECTED]"
class="*AvalonListservManager*">

Here is your problem - change it to class="CommandListservManager"

           <repositoryName>list-james</repositoryName>
  </mailet>

  <mailet match="[EMAIL PROTECTED]"
class="*CommandListservProcessor*">

That is correct.

           <membersonly>true</membersonly>
           <attachmentsallowed>true</attachmentsallowed>
           <replytolist>false</replytolist>
           <repositoryName>list-james</repositoryName>
           <subjectprefix>Prefisso</subjectprefix>
           <specifiedpostersonly>true</specifiedpostersonly>
           <autobracket>true</autobracket>
           <listOwner>[EMAIL PROTECTED]</listOwner>
           <listName>Newsletter</listName>
           <allowedposters>
              <address>[EMAIL PROTECTED]</address>
              <address>[EMAIL PROTECTED]</address>
           </allowedposters>
    </mailet>
<#>

------------------------------------------------------------------
--------------------------

But, I got the following Excection:

08/06/05 10:25:08 ERROR spoolmanager: Unable to init mailet
CommandListservProcessor: javax.mail.MessagingException: Unable to find
command list manager named: Newsletter;
 nested exception is:
   java.lang.IllegalStateException: Unable to find command list manager
named: Newsletter
javax.mail.MessagingException: Unable to find command list manager
named: Newsletter;
 nested exception is:
   java.lang.IllegalStateException: Unable to find command list manager
named: Newsletter
   at
org.apache.james.transport.mailets.CommandListservProcessor.init(C
ommandListservProcessor.java:287)
   at org.apache.mailet.GenericMailet.init(GenericMailet.java:129)

So, I think I miss someting else into the config.xml,
may someone suggest me what blocks have I to insert into the config.xml
file?

Regards
Pietro


The commandlistservprocessor needs a commandlistservmanager mailet.  You are
trying to use a commandlistservprocessor with an avalonlistservmanager.

Hope that helps,

Daniel.


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



Reply via email to