Hi all,
I'm using a local Apache James 2.3.2 install for development and automated
testing. It's configured to forward all incoming messages to a single
address and to not relay emails outside:
<mailet match="All" class="Forward">
<forwardto>test@localhost</forwardto>
</mailet>
Everything works correctly: emails are accepted, placed in the spool
directory, then finally moved to the inbox/test directory, from which they
are then picked up by my automated tests for verification.
The only problem is, it can take anywhere between 10 and 60 seconds for
those emails to be moved from the spool directory to the inbox/test
directory, meaning the tests need to wait that long before retrieving them
and doing their checks.
Is this something that can be configured otherwise? Or should I simply move
to a different email server for testing purposes?
Thanks!