[Rspamd-Users] Multimap: How to whitelist/block "header from" e-mail addresses?
reio at mrstuudio.ee
Mon Oct 21 16:56:06 UTC 2019
On 10.10.2019 19:19, powerbook-fan at freenet.de wrote:
> Hi everyone,
> i use the Multimap module with map type "from". On the Rspamd website it states that this matches envelope from (or header from if envelope from is absent).
> This works fine most of the time but how do i whitelist/blacklist e-mail addresses in the header from, when the envelope from is different (i.e. newsletters, where the envelope from is from the newsletter provider domain).
type = "header";
header = "from";
filter = 'regexp:/.*@/';
map = "file:///tmp/from_re.map";
This is probably what you're thinking of?
More information about the Users