Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

DSPAM integration?

#763

How about integrating DSPAM flags so that whitelisted emails are automatically marked as not spam and images loaded? DSPAM is one of the best spam filters out there so would be great to see it being nicely integrated with MailMate!

Reported by Christian · May 8th, 2014 @ 04:21 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    I don't know much about DSPAM, but if you provide an example header (or a reference to its format) then we can examine how this could be done. MailMate should be sufficiently configurable to be able to retrieve the necessary information from the headers and then set the $NotJunk flag (which would provide the behavior you are looking for I believe).

    If we can make it work then I'll consider how it could be easily integrated with MailMate.

    May 9th, 2014 @ 12:39 PM

  2. Christian
    Christian

    Hi Benny,

    Thanks for the very quick reply!

    Here's an example header with the "Whitelisted" status:

    X-DSPAM-Result: Whitelisted
    X-DSPAM-Processed: Fri May 9 14:09:30 2014
    X-DSPAM-Confidence: 0.8460
    X-DSPAM-Probability: 0.0000
    X-DSPAM-Signature:

    May 9th, 2014 @ 01:10 PM

  3. benny
    benny

    Ok, do as follows:

    1. Fetch the latest beta (Software Update preferences pane).
    2. Enable 2.0 features in the General preferences pane.
    3. Edit the Inbox and go to the Rules pane.
    4. Add a rule with this condition X-DSPAM-Result is “Whitelisted” and an action to add the “Not Junk” keyword.

    You can use “Mailbox ▸ Apply Rules” to test on existing messages in the Inbox.

    May 9th, 2014 @ 01:14 PM

  4. Christian
    Christian

    Perfect! Thank you! That was much easier than I thought it would be.

    Seems to work fine but have some problems using the "Apply rules" since it's greyed out. Don't know if it's relevant but I added the rule to one mailbox before updating to the beta and for that one I could use the "apply rules" but not for the mailbox where I added the rule after upgrading... I also noticed that the type was (A) for the one that worked whereas (C)(A) for the one added after upgrading.

    May 9th, 2014 @ 01:47 PM

  5. Christian
    Christian

    Never mind. I moved the rule to the general Inbox mailbox rather than the inbox folder under each account in the "sources" and got the "apply rules" to work there.

    Seems to work perfectly! Thank you!

    May 9th, 2014 @ 01:57 PM

  6. benny
    benny
    • State changed from new to resolved

    (A) means that the rule has an action and (C) means it has conditions. Based on your description these rules were not identical (or there is a bug)...

    “Apply Rules” applies the rules of the currently selected mailbox to the currently selected messages.

    May 10th, 2014 @ 12:46 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.