[Rspamd] check if footer.skip_replies is not 0
This commit is contained in:
		
							parent
							
								
									cc3adbe78c
								
							
						
					
					
						commit
						90a7cff2c9
					
				| @ -567,7 +567,7 @@ rspamd_config:register_symbol({ | |||||||
|           if footer and type(footer) == "table" and (footer.html and footer.html ~= "" or footer.plain and footer.plain ~= "")  then |           if footer and type(footer) == "table" and (footer.html and footer.html ~= "" or footer.plain and footer.plain ~= "")  then | ||||||
|             rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s, vars=%s", uname, footer.html, footer.plain, footer.vars) |             rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s, vars=%s", uname, footer.html, footer.plain, footer.vars) | ||||||
| 
 | 
 | ||||||
|             if footer.skip_replies then |             if footer.skip_replies ~= 0 then | ||||||
|               in_reply_to = task:get_header_raw('in-reply-to') |               in_reply_to = task:get_header_raw('in-reply-to') | ||||||
|               if in_reply_to then |               if in_reply_to then | ||||||
|                 rspamd_logger.infox(rspamd_config, "mail is a reply - skip footer") |                 rspamd_logger.infox(rspamd_config, "mail is a reply - skip footer") | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 FreddleSpl0it
						FreddleSpl0it