[MlMt] How to play a sound for incoming mail EXCEPT when it's spam?
Pierre Igot
mailmate at latext.com
Thu Apr 24 10:16:05 EDT 2025
Oops. Wrote too soon. Sorry.
It turns out that the only way for me to get the sound to play reliably is to have the rule attached to the Inbox directly (and then it also plays for spam). The reason for my confusion here was that I had tried the setup below, and left it on, and reactivated the rule for the Inbox itself, so I had forgotten that it didn’t work.
Since I already have a smart mailbox to apply a specific color to these messages, for this smart mailbox, I’ve added a condition involving the SpamSieve score to the rule that plays the sound. In other words, my rule for that smart mailbox is:
If ALL conditions are true:
SpamSieve-Score does not exist
To Address is <the address for the account>
Actions:
Play Sound XXX
I added the other conditions because my address for the account is also a catch-all address and therefore also gets spam sent to made-up addresses using my domain name (which I own).
But the end result is that, if I disable my rule to play the sound for the Inbox and only use the rule above, which is a rule for the smart inbox, then the sound doesn’t play AT ALL.
Am I putting the conditions in the wrong place? Should I put them under “Conditions for messages displayed” instead? (The distinction is not entirely clear to me.)
Or do I need to create a different smart mailbox altogether?
Thanks (and thanks to Henry Seiden too, whose suggestion sounds interesting and worth trying if this fails)!
Pierre
On 23 Apr 2025, at 16:00, Benny Kjær Nielsen wrote:
> On 23 Apr 2025, at 20:50, Pierre Igot wrote:
>
>> That works… except that, if that account receives an email that SpamSieve immediately flags as spam and moves to the spam mailbox, MM… still plays the sound.
>
> I believe this used to work as one would expect, but it's not unlikely that some change implicitly broke it. I haven't checked whether or not I can reproduce it.
>
>> Is that possible? I’ve tried various things, but the things I’ve tried either have no effect or cause the sound to stop playing altogether, and I cannot really figure out why.
>
> Try creating a smart mailbox based on the Inbox which only shows emails for which “Spamsieve-Score exists”. Then setup the counter/sound for this mailbox instead.
>
--
LATEXT: Literature, music and visuals / Littérature, musique et graphisme - www.latext.com
BETALOGUE: Blog - www.betalogue.com | Mastodon: @betalogue at toot.community
FAUX AMIS : Site sur les faux amis anglais-français - www.fauxamis.fr | Mastodon: @pierre_igot at mastodon.social
More information about the mailmate
mailing list