Removing your serverโs IP/domain from antispam listings
For various reasons, your IP or domain may end up in blocklists and get rejected by specific email providers, or anti-spam services. If you receive an alert from the diagnosis tool, clicking Details should point you to the appropriate form to contest the listing and get your server removed from it.
Test your serverโ
To check your Email deliverability, YunoHost provide automatic tests in the Diagnosis section of the webadmin, checking the presence of your server on blocklists / RBL (Realtime Blackhole List), as well as compliance with other standard practice demonstrating that your server is legitimately sending email (as opposed to infected machines used by hackers/spammers/botnet), such as DNS records and reverse DNS configuration. The diagnosis will also indicate if there is a suspiciously high number of emails pending in the send queue.
Complementary to these checks, you may be interested in the following services:
- by sending an email to the random test address indicated on Mail tester ... though most of the checks are covered by YunoHost's diagnosis.
- by checking your server's public IP on : MultiRBL Valli or Whatismyip
Checking email-related logsโ
This command can help you to summarize which emails sent by your server got refused by other SMTP servers, and why:
cat /var/log/mail.log | grep "deferred" | sed -E "s/(:[0-9][0-9]).+</\1\t/g" | sed -E "s/>.+dsn/\terror/g" | sed -E "s/, status=deferred \(/ /g" | sed -E "s/\)$//g"
You might want to compare this to the list of SMTP return codes.
Specific email providersโ
YunoHost is only able to test generic blocklists using the DNS RBL mechanism. However, Gmail, Microsoft, Yahoo or Free maintains their own blocklisting mechanism. In some situation, you may need to contact their teams through dedicated forms or use dedicated tools.
Microsoftโ
- No way to test easily IP reputation
- Microsoft guide for postmaster
- Information about SMTP return code from Microsoft
- Reputation Management tools :
- Get support form for deliverability issues (Sadly you need a Microsoft account :/ )
GMailโ
- No way to test easily IP reputation
- Google guide for postmaster
- Information about SMTP return code from Google
- Reputation Management tools : Google Postmaster Tools
- Get support form for deliverability issues
Yahooโ
- No way to test easily IP reputation
- Yahoo guide for postmaster
- Information about SMTP return code from Yahoo
- Reputation Management tools : Complaint Feedback Loop
- Get support form for deliverability issues
Free (french ISP)โ
You can find a tool to test your IP, advices, explanation of error code and a way to contact Free on this page
Receving alerts about emails sent without SPF or DKIMโ
If you use your own domains and think that some mails are sent by unauthorized servers (so without SPF/DKIM), you can obtain reports from other mail server by declaring an email address in the DMARC DNS record:
_dmarc.DOMAIN 3600 IN TXT "v=DMARC1; p=none; fo=1; rua=mailto:example@domain.tld!10m"