[Rspamd-Users] Add a custom header on special conditions

Jörg Backschues joerg at backschues.de
Sat Nov 21 10:40:39 UTC 2020


I would like to add a custom header for e-mails from external.

At the moment I use the following workaround to do this:


use = ["x-rspamd-server"];
routines {
     x-rspamd-server {
     header = "X-My-Custom-Flag";
     hostname = "My custom value";
     hide = 1;

Is it possible to add a custom header based on a special condition e.g. 
when DKIM, SPF and DMARC fails?

Jörg Backschues

More information about the Users mailing list