name = 'TAGGED_RCPT',
description = 'SMTP recipients have plus tags',
group = 'headers',
- score = 0,
+ score = 0.0,
}
rspamd_config:register_symbol{
type = 'virtual',
name = 'TAGGED_FROM',
description = 'SMTP from has plus tags',
group = 'headers',
- score = 0,
+ score = 0.0,
}
local check_from_display_name = rspamd_config:register_symbol{
name = 'SPOOF_DISPLAY_NAME',
description = 'Display name is being used to spoof and trick the recipient',
group = 'headers',
- score = 8,
+ score = 8.0,
}
rspamd_config:register_symbol{
name = 'FROM_NEQ_DISPLAY_NAME',
group = 'headers',
description = 'Display name contains an email address different to the From address',
- score = 4,
+ score = 4.0,
}
rspamd_config.SPOOF_REPLYTO = {
reconf['MICROSOFT_SPAM'] = {
-- https://technet.microsoft.com/en-us/library/dn205071(v=exchg.150).aspx
re = 'X-Forefront-Antispam-Report=/SFV:SPM/H',
- score = 4,
+ score = 4.0,
description = "Microsoft says the message is spam",
group = 'upstream_spam_filters'
}
reconf['AOL_SPAM'] = {
re = 'X-AOL-Global-Disposition=/^S/H',
- score = 5,
+ score = 5.0,
description = "AOL says this message is spam",
group = 'upstream_spam_filters'
}
reconf['KLMS_SPAM'] = {
re = 'X-KLMS-AntiSpam-Status=/^spam/H',
- score = 5,
+ score = 5.0,
description = "Kaspersky Security for Mail Server says this message is spam",
group = 'upstream_spam_filters'
}
'X-Spam-Flag=/^(?:yes|true)/Hi',
'X-Spam=/^(?:yes|true)/Hi',
'X-Spam-Status=/^(?:yes|true)/Hi'),
- score = 5,
+ score = 5.0,
description = "Message was already marked as spam",
group = 'upstream_spam_filters'
}
reconf['UNITEDINTERNET_SPAM'] = {
re = 'X-UI-Out-Filterresults=/^junk:/H',
- score = 5,
+ score = 5.0,
description = "United Internet says this message is spam",
group = 'upstream_spam_filters'
}