Thanks for everyone's help. I found two errors in my config after some detailed analysis:
1. We had commented out the RemoteAddrNotInNetwork mailet as we thought we only had to use the AuthorizedAddresses mailet. We currently don't want email coming into our server so this dramatically reduced the number of outgoing messages that needed to be processed. 2. We set the retry period to be much shorter and indeed, the outgoing messages started to be killed off on their own. Now, at any given time, we have about 1800+ messages in the outgoing queue due to invalid email addresses (a problem we need to correct by scrubbing our data) but we aren't growing much higher. Number 1 and number 2 above have reduced the CPU load dramatically :) On Fri, 2005-04-01 at 11:56 +0200, [EMAIL PROTECTED] wrote: > > You may want to write your own mailet. After all the > > attempts set the state to GHOST. It might just be a simple > > extension of the RemoteDelivery mailet. > > RemoteDelivery already set spool email to GHOST when it add them to the > outgoing spool. > It then remote them from the outgoing on succesfully sent or permanent > failed operations. > > > --- Ricardo Cortes <[EMAIL PROTECTED]> wrote: > > > Anyone know if there's a way to kill an outgoing message > > once it fails > > > all the retries that are defined in the config.xml? > > > From my > > > understanding, once James exhausts all it's attempts the message is > > > left in the outgoing folder. That is correct right? If > > so, anyway to > > > change this behavior? > > Your understanding is not correct. > > What james version are you using? > > What is the return-path of the mails in outgoing? When james fail > permanently a message it will create a bounce for that message destinated to > the return-path of the message failed: is this return-path a local or remote > address? Is the bounce email created correctly? > > Stefano > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]