On 9 Nov 2021, at 1:47, Fabian Blechschmidt wrote:

Good morning!

I have the problem, that a message is moved to Trash. Every time I move it back, it is moved into Trash again.

I can’t find a rule that explains that (neither on Mailmate nor on on server) and neither on the message, nor on the source or the activity viewer I can find any type of log, why this happens.

Is there anything which helps me to debug this? I searched through the mailing list, because I was sure I read something about it, but couldn’t find it.

Unfortunately, MailMate doesn't seem to log rule evaluations or actions, which would be terrifically helpful.

One thing I've resorted to is opening the file 'Library/Application Support/MailMate/Mailboxes.plist' in a text editor and looking for lines that have "trash", for example:

                                        actions = (
                                                {       mailbox = "trash";
                                                        type = "moveMessage";
                                                },

This indicates a rule that moves a message to the trash. A line or so down there will be a line that contains

                                        description = "foo";

Whatever is in quotes ("foo" in the example above) is the name of the rule. Look for a line with "filter =", this contains the actual rules of the filter (but you can more easily understand it by looking in the MailMate app at the "Rules" for the mailbox, and finding the rule with the same description. To find the mailbox that holds this rule, look for the closing ")" of the "rules = (". It might be after a line such as:

                        );

That is, three tab characters, a close parenthesis and a semicolon. Following that should be the mailbox UUID (unique identifier), which is of the form

                        uuid = "imap://myuser@mymailserver/Inbox";

The part at the end is the name of the mailbox ("Inbox" in the example above). The part after "imap://" is the account info for the IMAP mail server.


--Randall
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate

Reply via email to