Re: "Missing Key" error on reply-email
Reply #1 –
Could you attach a raw example message that fails so I can take a look at what may be happening?
If it can't find an ID in the message no auto repair is possible, so that behavior is correct.
Re: "Missing Key" error on reply-email
Reply #2 –
Thanks for your reply. Elkarte could help me to achieve acceptance in using a forum (at all) in a small group that communicates mainly via email. Just because Elkarte supports reply and post by email.
Here you are (ending .mbs changed in .txt, further some details replaced by xxxxx).
EDIT: I have just activated "notity" on this thread - I'd be able to test reply by email using the same mail client.
Re: "Missing Key" error on reply-email
Reply #4 –
Hi, thanks for clarifying,
the message ID is in the header part. So as for test, I now reply without the copy of the message ID in the bode. Should work. This reply is by email. But it appears not to arrive. I just saw that the sender is a "noreply"-address. Hence, reply by email is not activated.
I'll try to analyze what's going wrong in my Elkarte forum setup. Apparently the key is not reflected to the header section as intended in notify emails.
Could you help point to the relevant code?
Re: "Missing Key" error on reply-email
Reply #6 –
I tried two different email-domain addresses, and also answered using not my desktop email-client but also webmail client.
Mail arrive still in moderation queue...
BTW: I see a function function mail_insert_key($message, $unq_head, $line_break) (line 785), which is declared as a "safety net for clients that strip out the message-id and in-reply-to headers".
Indeed, I see such a key - e.g.: ELK-d6aa927ccde3acc5826c9f88a7c6a874, but this is not part of the reply. But when I add this to the reply, it still remains in the moderation queue.
I think I'd add a log file entry where generated keys in mail_insert_key are stored - as an aid to find the final cause of the problem.
Re: "Missing Key" error on reply-email
Reply #8 –
What settings do you have in the maillist area? Could you take a screen shot and post that?
Re: "Missing Key" error on reply-email
Reply #10 –
Are you only wanting to support PM reply by email or all posts in general?
Currently Allow posting to the forum by Email is not enabled. I'll have to try that setting to see if how the code handles that condition, looks like improvements could be made.
I'll change my test site to use your settings and see what I get
Re: "Missing Key" error on reply-email
Reply #12 –
You should be able to make outbound adjustments with edits to the Maillist.Templates to make it what you need.
For the inbound email, that is where the Filters and Parsers come in to play. The idea is to make what gets posted look like a post and not an email.
Filters run first, and you can do simple find and replace.
Parsers run after Filters and there you can define regex code with the goal of finding either the start of a signature or the start of a quoted message and cut the message at that point. Of course that only works if they post above the original in the reply.
I have been working on about 6 generic parser regex codes that seem to handle a majority of cases. I'll post those if interested.