martinschaible / rspamd-rules

Curated Multimaps and Rules for Rspamd
Apache License 2.0
13 stars 1 forks source link

Maps using URLs instead of local storage #16

Closed echodreamz closed 1 year ago

echodreamz commented 1 year ago

The maps should be able to load over HTTP instead of storing on the file system.

IE...

ad_agency_at { type = "content"; filter = "oneline"; regexp = true; one_shot = true; map = "https://raw.githubusercontent.com/martinschaible/rspamd-rules/main/maps.d/_ad_agency_at.map"; score = 20.0; symbol = "AD_AGENCY_AT"; description = "Agencies sending Advertising, Austria"; }

Then Rspamd can automatically update the maps once the etag changes.

martinschaible commented 1 year ago

Very good idea! I will do this soon. Thanks for the advice.