server-user  

James mail order FIFO resend. Mail Relay

Klearchos Klearchou
Thu, 19 Nov 2009 08:45:53 -0800

Hello all,

I am working with James 2.3.2.
James forwards emails to a mail relay.

The order of emails plays an important role for my application.
I have included the FIFO attribute here
<repository destinationURL="file://var/mail/inboxes/" type="MAIL" FIFO="true" />
since I use a file based repository and the order is very important.

My problems starts from the time that the mail relay is down.
Then James start the resend procedure since the first try failed to send
the mail.

>From that point onwards the order of emails is messed up.

Is there any attribute that I could change or possibly make use of the Mailet 
API in order to fix this?
I have read that the DB is slow but respects the mail order.
Is this true when James tries to resend them because the first try failed?

Any pointers regarding the order of the mails would be greatly appreciated.

Thank you in advance.