Mail::SpamAssassin::Plugin::Esp
SpamAssassin plugin for Sendgrid, Sendinblue, MailUp, Maildome, Mailchimp and other ESPs.
The plugin doesn't download the data feed, the txt file should be created by the user.
Sample rule to enable the plugin (add the score you prefer to the rule):
loadplugin Mail::SpamAssassin::Plugin::Esp Esp.pm
ifplugin Mail::SpamAssassin::Plugin::Esp
sendgrid_feed /etc/mail/spamassassin/sendgrid-id-dnsbl.txt
sendgrid_domains_feed /etc/mail/spamassassin/sendgrid-envelopefromdomain-dnsbl.txt
header SPBL_SENDGRID eval:esp_sendgrid_check()
describe SPBL_SENDGRID Message from Sendgrid abused account
endif
Instead of using your own txt files or your own rbl, you can just use the Esp-rbl.cf file to query an ESP rbl.
To submit more IDs to rbl just forward the email as attachment to submit+spam@bl[.]snb[.]it
ESPs currently supported are:
- 4Dem
- Acelle
- Amazon SES
- BeMail
- Constant Contact
- EcMessenger
- EmarSYS
- Emlbest
- ExactTarget
- Fxyn
- Keysender
- Klaviyo
- Mailchimp
- Maildome
- MailGun
- MailUP
- MDEngine
- Mdrctr
- Microsoft Dynamics
- Msnd
- SalesForce
- Sendgrid
- SendinBlue
- SmtpCOM
- SparkPost
- TurboSmtp