Hi,
I have repeatedly, but not reproducible until now, the following problem:
Some emails "loose" their $Files item. This leads to an error when later converting for SMTP Routing: "note item not found". The user the receives an NDR he cannot open because of the same error message, so that he does not know, which email of his was not routed.
The E-Mail is correctly in his "Sent" folder where it contains the attachment ($Files), but using Message Tracking I can see that the tracking record does not show any attachments.
All affected users have local mail files and all our users (local or server) do convert internet mail to MIME locally.
So:
how is MIME-Conversion done? Is the mail and attachment put into a/the temp-Folder to be converted? Are there external conversion tools depending on whether the client uses embedded browser or not?
How can I debug the local conversion and routing (all parameters I found are server-only)?
Notes 9.0.1 FP10 SHF315 on Win 10 1809
Domino 9.0.1 FP10 SHF 382 on Red Hat 7.8
Thank you,
Manuel
Hello Manuel,
What's your reproducible case? If I can reproduce this, I can help better.
In the meantime, some more questions:
When you say that all affected users "convert internet mail to MIME locally," do you mean that their Notes clients are configured to send MIME to Internet addresses through the server, like so--
--or are the clients configured to send directly to the Internet (unlikely) like this:
Are you sending signed or encrypted email?
What's the format of the saved/sent message? Is it Notes Rich Text or MIME? One way to tell:
Open the Document Properties dialog, click the second tab, 'Fields', and scroll through the left hand frame until you see the Body item. Click it.
The first two lines in the right hand frame will be either--
Field Name: Body
Data Type: Rich Text
--or:
Field Name: Body
Data Type: MIME Part
Let's start with these questions and we'll figure out the next steps.
Hallo Paul,
thank you for your response and time.
Your question set me straight in one point. Although the mail to Internet are supposed to be converted to MIME (your first screenshot) the conversion does not take place locally. Although there are items indicating MIME ($NotesHasNativeMime=1, etc) the body contains Rich Text.
We are not sending signed or encrypted (by default that is - and the known cases do not involve either) mail.
Also there are new cases, in which the affected users are not working with a local mailfile.
But in those new cases I realized something strange:
the mails are being send with quite a delay. Sometimes the creation timestamp and the tracking record register a difference of nearly an hour. Also the Message ID changes, which seems quite unlikely, but I have no explanation that is more suitable for what I see.
I would find it very helpful to have some debug parameters, I can activate to see what the client sends to the servers and on the other end, what the server receives.
Thanks a lot for your thoughts,
Manuel
Hi Manuel,
Are your users working with a local mail db replica that is replicated to their server? If that's the case, perhaps that would explain any delay you might see in their cases as their replication may be on an hourly schedule.
But right now I don't know what would cause the delay for users working directly with server-based mail dbs. We'll see.
If the Notes client is configured to send MIME to Internet addresses, then the $NotesHasNativeMime item is added to the in-memory note and a MIME format message is deposited into the Router's mail box on the user's home mail server.
Are you seeing the $NotesHasNativeMime item on the saved copy of the sent message? If so, that's a minor bug. $NotesHasNativeMime should be deleted when the message is saved in Notes Rich Text format.
We do change the $MessageID sometimes before we map it to the Message-ID Internet header. For example, when we're about to send the message over SMTP, we check the $MessageID item domain.
If the domain is the 'default temporary domain', LocalDomain, then we change it to the server's Internet domain. Is that the change you're seeing or is it something else?
I'll ask my colleagues on the Notes client team for suggestions wrt notes ini trace/debug settings that print details about the messages they send. I'll also check our server-side settings for similar settings we could use as the message is received.
pwl
Hello Paul,
thanks again. This is valuable information :)
When starting this thread, I thought that only those user with replicated mailfile a affected, but in the meantime I found others, which only work on their server replica and do not have a local one.
Indeed the message ID in the mailfile has the "default temporary domain". This makes it likely that this is the change you described.
Thank you for asking.
With kind regards,
Manuel