Using MultiPOP to pull all mail, including spam, from Gmail to MDaemon

With Gmail recently dropping support for ActiveSync, I’m seeing more and more people wanting to centralize all of their mail in local MDaemon installation.

This sometimes includes a situation where you want to pull mail from your old external mailboxes into MDaemon. When pulling mail from Gmail, for example, you’ll find that MDaemon’s MultiPOP feature grabs the Inbox, but what about mail that ends up in Gmail’s spam folder?

As it turns out, it’s possible to disable Gmail’s spam filtering using a custom Gmail filter, and then rely on MDaemon’s excellent spam filtering instead.

  1. Login to the Gmail account
  2. Click on Settings
  3. Click onĀ Forwarding and POP/IMAP
  4. Select one of the two Enable POP options
  5. Click Save Changes
  6. Click on Filters
  7. Create a new filter
  8. In the “Has the words” filter field, type “deliveredto:[email protected]” where [email protected] is the name of your Gmail box.
  9. Click the grey Create filter with this search >> link
  10. Enable Never send it to Spam
  11. Click Create filter

This will not apply to any messages already marked as spam (even if you use the “Also apply filter to…”, it will not move messages out of the Spam or Trash folder), so you will need to manually move any messages now in the Spam folder into the Inbox for MDaemon to see them.


CC BY-NC-ND 4.0 Using MultiPOP to pull all mail, including spam, from Gmail to MDaemon by Dave Warren ( is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

3 Replies to “Using MultiPOP to pull all mail, including spam, from Gmail to MDaemon”

  1. We seem to have problems with MDaemon spam filtering. Some of us get tons and tons of spam. Several dozen an hour, I’d say. I suppose we need to review our spam settings again. Do you have any silver bullets?

  2. Hey Richard. There’s no real silver bullet, although SpamAssassin with a well-trained Bayesian database (especially trained on non-spam) is a good start.

    Is this mail coming in via MultiPOP or direct SMTP or both?

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.