Hi Noel,

A second attempt with perhaps a bit more information.

"Noel J. Bergman" <[EMAIL PROTECTED]> wrote on 08.10.2007 17:27:35:

> > Then I tried to make use of the 'FromRepository' mailet and included 
the
> > following snipplet into my 'config.xml':
> [...]
> > Then I moved the content of 'error' into the new 'hdc' directory, but
> > nothing happend - the mails were not even moved into error again.
> 
> Did FromRepository get executed?  And I wouldn't do it with an all 
matcher.
> I use a bogus address, e.g., respool@, to initiate it.
> 

No, the FromRepository does not get executed. As far as I can see, the
'service' method is never called, see below.

> You should be able to turn on debugging and see what FromRepository 
tried to
> do. 

I have turned everything in 'environment.xml' to "DEBUG", and nothing 
happend.
(Introducing a new category does not help here.)
I even set a new log statement into FromRepository.java, build and 
deployed
again - however, nothing to be seen. Then I converted every log into 
System.out.println and then at least my new log-statement in the init 
method
showed up, but not the one in the service method.

How, do I enable logging the proper way?

>      I can look at it, if there are any fixes that need to be made, but 
in
> general, it has worked for me.

I do not think that there is something wrong with the 
FromRepository-Mailet, 
but something with the configuration, so that the service method is not
even called.

To repeat, this is my configuration:

    <processor name="root">
           [...]
         <mailet match="All" class="FromRepository">
             <repositoryPath>file://var/mail/hdc/</repositoryPath>
             <processor>transport</processor>
             <delete>true</delete>
         </mailet>

(Playing with match="All" did not change anything.)
Is there anything wrong (I did not change the default transport 
configuration)?
Is is correct to just move the ...Repository.FileObjectStore and the 
...Repository.FileStreamStore into the 'hdc' Folder?
How is the service method triggered?

TIA, Heinz-Dieter

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

Reply via email to