#763 new

DSPAM integration?

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

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!

Comments and changes to this ticket

  • benny

    benny May 9th, 2014 @ 12:39 PM

    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.

  • Christian

    Christian May 9th, 2014 @ 01:10 PM

    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

  • benny

    benny May 9th, 2014 @ 01:14 PM

    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.

  • Christian

    Christian May 9th, 2014 @ 01:47 PM

    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.

  • Christian

    Christian May 9th, 2014 @ 01:57 PM

    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!

  • benny

    benny May 10th, 2014 @ 12:46 PM

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket