Apache James priority' init parameter is compulsory

IT小君   2020-03-17T23:30:49
Nevermind, I found the answer - try this:

I will raise the issue up to the project meanwhile a quick fix to make that mailet work:

  • in the James app folder, open the file conf/mailetcontainer.xml
  • find the mailet with class WithPriority
  • replace the xml tag <value>8</value> by <priority>8</priority>
  • try to run james server again

Looks like this in conf/mailetcontainer.xml:

(...)
<mailetcontainer enableJmx="true">
  <processors>
    <processor state="root" enableJmx="true">
      <mailet match="All" class="PostmasterAlias"/>
      <mailet match="RelayLimit=30" class="Null"/>
      <mailet matcher="All" class="WithPriority">
        <priority>8</priority>
      </mailet>
(...)
点击广告,支持我们为你提供更好的服务
评论(0)