[Rspamd] Deactivate neural but use a more aggressive learning method (no autolearn)
This commit is contained in:
		@@ -6,7 +6,7 @@ rule "local" {
 | 
				
			|||||||
    # Additional mime types to store/check
 | 
					    # Additional mime types to store/check
 | 
				
			||||||
    mime_types = ["application/*"];
 | 
					    mime_types = ["application/*"];
 | 
				
			||||||
    # Hash weight threshold for all maps
 | 
					    # Hash weight threshold for all maps
 | 
				
			||||||
    max_score = 20.0;
 | 
					    max_score = 100.0;
 | 
				
			||||||
    # Whether we can learn this storage
 | 
					    # Whether we can learn this storage
 | 
				
			||||||
    read_only = no;
 | 
					    read_only = no;
 | 
				
			||||||
    # Ignore unknown flags
 | 
					    # Ignore unknown flags
 | 
				
			||||||
@@ -17,15 +17,11 @@ rule "local" {
 | 
				
			|||||||
    # Map flags to symbols
 | 
					    # Map flags to symbols
 | 
				
			||||||
    fuzzy_map = {
 | 
					    fuzzy_map = {
 | 
				
			||||||
        LOCAL_FUZZY_DENIED {
 | 
					        LOCAL_FUZZY_DENIED {
 | 
				
			||||||
            max_score = 20.0;
 | 
					            max_score = 10.0;
 | 
				
			||||||
            flag = 11;
 | 
					            flag = 11;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        LOCAL_FUZZY_PROB {
 | 
					 | 
				
			||||||
            max_score = 10.0;
 | 
					 | 
				
			||||||
            flag = 12;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        LOCAL_FUZZY_WHITE {
 | 
					        LOCAL_FUZZY_WHITE {
 | 
				
			||||||
            max_score = 2.0;
 | 
					            max_score = 5.0;
 | 
				
			||||||
            flag = 13;
 | 
					            flag = 13;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,12 +3,9 @@ symbols = {
 | 
				
			|||||||
        weight = 2.0;
 | 
					        weight = 2.0;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    "LOCAL_FUZZY_DENIED" {
 | 
					    "LOCAL_FUZZY_DENIED" {
 | 
				
			||||||
        weight = 12.0;
 | 
					        weight = 10.0;
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    "LOCAL_FUZZY_PROB" {
 | 
					 | 
				
			||||||
        weight = 5.0;
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    "LOCAL_FUZZY_WHITE" {
 | 
					    "LOCAL_FUZZY_WHITE" {
 | 
				
			||||||
        weight = -3.0;
 | 
					        weight = -3.4;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,6 +8,6 @@ train {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
ann_expire = 80d;
 | 
					ann_expire = 80d;
 | 
				
			||||||
timeout = 20; # Increase redis timeout
 | 
					timeout = 20; # Increase redis timeout
 | 
				
			||||||
enabled = ${HAS_TORCH}; # Explicitly disable module when torch is disabled
 | 
					enabled = false;
 | 
				
			||||||
use_settings = false; # If enabled, then settings-id is used to dispatch networks
 | 
					use_settings = false; # If enabled, then settings-id is used to dispatch networks
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user