Hi,

I have a problem when respooling mails. In some more detail:
I am using james 2.3.1 and have written my own mailet. Sometimes it 
happens that
a mail cannot be delivered and it ends up in '/var/mail/error': e.g. 
because the
connection suddently went down, or because of some exception thrown in the
mailet, or ...

After removing the cause of the error I would like to deliver the mails 
and have 
tried to stop james, move all files from 'apps/james/var/mail/error' to
'apps/james/var/mail/error' and restart. However, the files where silently 
moved
into the error directory again and nothing happend.

Then I tried to make use of the 'FromRepository' mailet and included the
following snipplet into my 'config.xml':
      <processor name="root">
[...]
         <mailet match="All" class="FromRepository">
             <repositoryPath>file://var/mail/hdc/</repositoryPath>
             <processor>transport</processor>
             <delete>true</delete>
         </mailet>
Then I moved the content of 'error' into the new 'hdc' directory, but 
nothing
happend - the mails were not even moved into error again.

What did I do wrong?

TIA, Heinz-Dieter

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

Reply via email to