by adrien » Nov 16 06 1:15 am
Hi Bob
Understand the need for peace of mind when it comes to mail delivery.
depending on your search facilities in Exchange, you may be able to avoid the debug log option, since the name of the file is also its message ID, which gets stamped into the Received: header when WinGate first accepts the mail. If you can search through your exchange mailstore for messages containing the IDs of messages you have found orphaned in the holding folder, you can then tell that they were delivered if you find any.
There used to be a potential mechanism whereby mail could be moved to Holding, and the RCP end up in dead. This could happen if there was an error creating the new RCP files (under the domain folders) after the MSG file had already been moved to Holding. I thought I'd closed this loophole a while back. Other symptoms of this are that the RCP is moved into the dead folder, rather than disappearing from the face of the earth.
I've double-checked the code, and there should be no circumstance where the RCP file is deleted (i.e. isn't in dead or a domain folder) and the mail hasn't been delivered or delivery hasn't been terminated (i.e too many retries, destination unreachable, invalid recipient etc). In the cases where delivery is terminated, there should be a bounce message created unless the original return-path of the original message was empty. Any bounce messages that can't be delivered get put into Dead as well. If the return path was empty, there will be a log event logged under either Errors or Debug showing "Message %s moved to dead, undeliverable, but no return path" or "Message XXXXX RCP file could not be moved to Dead" however in this last case, we don't delete the RCP file either.
Do you get a lot of files in the Dead folder?
Adrien