Overview
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:
- First, log in to the Mailgun Control Panel (if you have not already done so)
- Then, within the left-hand navigation pane, click the Send product and then click the Sending option to expand its list of suboptions.
- Next, click the Domain settings suboption.
- For the Inbound spam filter setting, click the Edit button.
- Once you have chosen your preferred spam filtering option, click the Save spam settings button.
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.
Need Support?
Our Support Team here at Sinch Mailgun is happy to help! Reach out to us in the Support page of your Mailgun Control Panel, and we'll be with you shortly!