I am still very new to using James but have been learning quite a bit over
the last couple of months. One thing that I still don't quite understand is
how logging is configured. Specifically, I want to log a particular
RemoteDelivery mailet to its own log file.

For example, I have the following mailet configuration:
<mailet match="HostIs=foo.com" class="RemoteDelivery">
            <debug>false</debug>
            <outgoing> file://var/mail/outgoing-foo-com/ </outgoing>
            <delayTime>1 hour</delayTime>
            <maxRetries>12</maxRetries>
            <deliveryThreads>1</deliveryThreads>
            <sendpartial>true</sendpartial>
            <bounceProcessor>bounces</bounceProcessor>
            <mail.smtp.localhost>mail.theideacenter.org
</mail.smtp.localhost>
</mailet>

I am hoping that I can make that specific RemoteDelivery mailet log to its
own file (e.g., mailet-foo-com-2009-11-09-00-00.log).

Can anyone tell me if this is possible and if so, how it might be
configured?

thanks,
todd

Reply via email to