mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-11-03 19:47:52 +00:00 
			
		
		
		
	adapted to v2 release and a docker change
- v2 changed the path - docker deprecated/removed the scale command, you have to do it like this now
This commit is contained in:
		@@ -83,8 +83,8 @@ Via the multimap filter it is possible to block emails from a sender domain. See
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
The following steps have to be taken to configure an additional symbol (rule) that uses the multimap filter to block emails from sender domain.
 | 
					The following steps have to be taken to configure an additional symbol (rule) that uses the multimap filter to block emails from sender domain.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. In the overrides folder create a configuration file for the multimap filter. This configuration is included by Rspamd in the main multimap configuration file. This means you do not have to use the "multimap {}" element. Files in the /mailu/overrides/rspamd/ folder are mapped to /etc/rspamd/override.d.
 | 
					1. In the overrides folder create a configuration file for the multimap filter. This configuration is included by Rspamd in the main multimap configuration file. This means you do not have to use the "multimap {}" element. Files in the ``/mailu/overrides/rspamd/`` folder are mapped to ``/overrides``.
 | 
				
			||||||
   Create the file /mailu/overrides/rspamd/multimap.conf with contents:
 | 
					   Create the file ``/mailu/overrides/rspamd/multimap.conf`` with contents:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   .. code-block:: bash
 | 
					   .. code-block:: bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -93,7 +93,7 @@ The following steps have to be taken to configure an additional symbol (rule) th
 | 
				
			|||||||
    local_bl_domain {
 | 
					    local_bl_domain {
 | 
				
			||||||
      type = "from";
 | 
					      type = "from";
 | 
				
			||||||
      filter = "email:domain";
 | 
					      filter = "email:domain";
 | 
				
			||||||
      map = "/etc/rspamd/override.d/blacklist.inc";
 | 
					      map = "/overrides/blacklist.inc";
 | 
				
			||||||
      score = 14;
 | 
					      score = 14;
 | 
				
			||||||
      description = "Senders domain part is on the local blacklist";
 | 
					      description = "Senders domain part is on the local blacklist";
 | 
				
			||||||
      group = "local_bl";
 | 
					      group = "local_bl";
 | 
				
			||||||
@@ -129,8 +129,8 @@ The following steps have to be taken to configure an additional symbol (rule) th
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
   .. code-block:: bash
 | 
					   .. code-block:: bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
     docker compose scale antispam=0
 | 
					     docker compose up -d --scale antispam=0
 | 
				
			||||||
     docker compose scale antispam=1
 | 
					     docker compose up -d --scale antispam=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
4. (Optional) Check if the custom symbol is loaded. To access the Rspamd webgui, log in the Mailu administration web interface with a user that is an administrator and go to Antispam. In Rspamd webgui go to tab Symbols. Change the group drop-down box to local_bl. The following additional rule will be listed.
 | 
					4. (Optional) Check if the custom symbol is loaded. To access the Rspamd webgui, log in the Mailu administration web interface with a user that is an administrator and go to Antispam. In Rspamd webgui go to tab Symbols. Change the group drop-down box to local_bl. The following additional rule will be listed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user