Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ZRD for domains of urls in mail? #21

Open
drott opened this issue Nov 23, 2022 · 2 comments
Open

Use ZRD for domains of urls in mail? #21

drott opened this issue Nov 23, 2022 · 2 comments

Comments

@drott
Copy link

drott commented Nov 23, 2022

Hostnames in URLs of the content seem to be checked against the DBL list, but not the ZRD list. I suggest to add that (if I am not missing anything.)

I see some spam that contains links to newly registered domains but are not sent from these domains or do not contain email addresses to ZRD-contained lists.

Would it make sense to add a check against ZRD for hostnames of URLs in the content, maybe in this form (untested example)?

    spamhaus_zrd_links {
	ignore_defaults = true;
	no_ip = true;
	rbl = "your_DQS_key.zrd.dq.spamhaus.net";
	selector = 'urls:get_host'
        disable_monitoring = true;
         returncodes = {
           SH_LINK_ZRD_VERY_FRESH_DOMAIN = [
             "127.0.2.[2-4]+"
           ];
           SH_LINK_ZRD_FRESH_DOMAIN = [
             "127.0.2.[5-9]+",
             "127.0.2.1[0-9]+",
             "127.0.2.2[0-4]+"
           ];
         SH_LINK_ZRD_DONT_QUERY_IPS = [ "127.0.2.255" ];
       }
    }
@pmcintyre
Copy link
Contributor

Has already been in the plugin since at least 2019.

@drott
Copy link
Author

drott commented Apr 3, 2024

Has already been in the plugin since at least 2019.

What do you refer to by "plugin" here? Something in upstream rspamd so that it wouldn't need custom configuration as done by the scripts/configs in this repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants