We're experiencing difficulty. Our engineers are on it. Please check status.mailgun.com for real-time updates.

Spam Filtering

Article Preview


    Spam filtering is possible for inbound message processing, i.e. emails that are inbound to your domain and will be processed by Mailgun Routes. 


    Enabling spam filtering

    To manage your domain's inbound spam filtering settings you will need to navigate to the Domain Settings page for your domain. We'll guide you using the steps below:

    1. First, log in to the Mailgun Control Panel (if you have not already done so)
    2. Then, within the left-hand navigation pane, click the Sending option to expand its list of suboptions. 
      Screen Shot 2022-09-11 at 6.18.25 PM.png
    3. Next, click the Domain settings suboption. 
    4. For the Inbound spam filter setting, click the Edit button.
    5. Once you have chosen your preferred spam filtering option, click the Save spam settings button.
      Screen Shot 2022-09-11 at 6.17.47 PM.png

    We provide 3 different methods for processing inbound spam:

    • No filtering (this is the default setting)
    • Block detected spam (this is recommended)
    • Deliver spam, but add X-Mailgun-SFlag and X-Mailgun-SScore headers. 

    If you are using our Routes feature to handle inbound email requests, it is highly recommended that you select option 2Block detected spam.

    Inbound messages that are being routed to an email address or POSTed to a URL will pass through our outbound spam filters, so If you choose not to enable inbound spam filtering, spam messages that are sent to you may get caught in our outbound spam filter, resulting in your domain being disabled. This is why we recommend option 2.

    Note: You need to add Mailgun MX records for inbound messages. 


    Need Support?

    Our Support Team here at Sinch Mailgun is happy to help! Reach out to us in the Support section of your Mailgun Control Panel, and we'll be with you shortly!