[MlMt] How to play a sound for incoming mail EXCEPT when it's spam?

Pierre Igot mailmate at latext.com
Wed Apr 23 14:50:18 EDT 2025


Hi,

I’ve been struggling with this for a while, and everything I’ve tried had failed, so I thought I’d ask here.

In MailMate, I have one particular IMAP account for which I would like MM to play a specific sound every time a message comes in. So I have created a rule for its inbox that simply pays a sound, with no condition attached.

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.

So in effect, I cannot rely on that sound alone to determine whether I really have a new message that is not spam, without looking at my inbox. If there is no new message, the reason I heard the sound was that the account received some junk mail.

This is less than ideal. I would like a rule that ONLY plays the sound if the account receives a new message AND it’s not spam (according to SpamSieve). In other words, I’d like a rule that only plays the sound if a message arrives in the inbox and STAYS there (i.e. is not moved by SpamSieve to my spam folder).

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.

Any help would be appreciated.

Pierre

--
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