[Rspamd-Users] force_actions not working as expected

Ronny Seffner r.seffner at seffner-schlesier.de
Sun Sep 11 11:48:32 UTC 2022


> > VIRUS_EXCEPTION {
> >  action = "rewrite subject";
> >  expression = "ICAP_VIRUS";
> >  subject = "*** VIRUS-Verdacht *** %s";
> >  message = "Rejected due to suspicion of virus";
> > #  require_action = ["no action", "greylist", "reject", "add header", "rewrite
> subject"];
> > }
> 
> Firstly, this seems incomplete.  Is this block inside a rules {} block?
> 
You are right I missed the surronding "rules {}". Thanks.

> Secondly, I'm a little confused by your VIRUS_EXCEPTION block.  The line
> 
> message = "Rejected ...."
> 
Sorry for this: while trying around I used also 'action = "reject"'  -from this times the 'message'-part left over.
I deleted it.

regards, Ronny


More information about the Users mailing list