To manage your domain's inbound spam filtering settings you will need to navigate to the Domain Settings page for your domain.
Inside the Mailgun Control Panel (options displayed down the left-hand side on a dark column), use the following instructions:
- Click on Sending on the left-hand side of your Mailgun dashboard.
- On the following page click on your specific domain and click on Domain Settings on the far right-hand side.
- Under Domain Settings the option Inbound spam filter will be available.
- To change these settings, click on Edit.
- Choose your preferred Spam filtering option and click Save Spam Settings.
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 2 - Block 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.
If any questions arise, just reach out to our Support team via the Support option in your Mailgun control panel!