You've already forked docker-mailserver
							
							
				mirror of
				https://github.com/docker-mailserver/docker-mailserver.git
				synced 2025-10-31 00:17:45 +02:00 
			
		
		
		
	chore: Remove Pyzor + Razor packages (#4548)
This commit is contained in:
		| @@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file. The format | ||||
|  | ||||
| > **Note**: Changes and additions listed here are contained in the `:edge` image tag. These changes may not be as stable as released changes. | ||||
|  | ||||
| ### Removed | ||||
|  | ||||
| - **SpamAssassin:** | ||||
|   - Removed Pyzor + Razor due to maintenance concerns. From observations it is unlikely to have any notable regression ([#4548](https://github.com/docker-mailserver/docker-mailserver/pull/4548)) | ||||
|  | ||||
| ## [v15.1.0](https://github.com/docker-mailserver/docker-mailserver/compare/v15.1.0...HEAD) | ||||
|  | ||||
| > [!NOTE] | ||||
|   | ||||
							
								
								
									
										16
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -151,22 +151,6 @@ RUN <<EOF | ||||
|   chmod 644 /etc/amavis/conf.d/* | ||||
| EOF | ||||
|  | ||||
| # overcomplication necessary for CI | ||||
| # hadolint ignore=SC2086 | ||||
| RUN <<EOF | ||||
|   for _ in {1..10}; do | ||||
|     su - amavis -c "razor-admin -create" | ||||
|     sleep 3 | ||||
|     if su - amavis -c "razor-admin -register"; then | ||||
|       EC=0 | ||||
|       break | ||||
|     else | ||||
|       EC=${?} | ||||
|     fi | ||||
|   done | ||||
|   exit ${EC} | ||||
| EOF | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # --- Fail2Ban, DKIM & DMARC -------------------- | ||||
| # ----------------------------------------------- | ||||
|   | ||||
| @@ -656,8 +656,8 @@ Mail is not yet considered spam at this spam score, but for purposes like diagno | ||||
|     X-Spam-Level: **** | ||||
|     X-Spam-Status: No, score=4.162 tagged_above=2 required=4 | ||||
|             tests=[BODY_SINGLE_WORD=1, DKIM_ADSP_NXDOMAIN=0.8, | ||||
|             NO_DNS_FOR_FROM=0.379, NO_RECEIVED=-0.001, NO_RELAYS=-0.001, | ||||
|             PYZOR_CHECK=1.985] autolearn=no autolearn_force=no | ||||
|             NO_DNS_FOR_FROM=0.379, NO_RECEIVED=-0.001, NO_RELAYS=-0.001] | ||||
|             autolearn=no autolearn_force=no | ||||
|     ``` | ||||
|  | ||||
|     !!! info "The `X-Spam-Score` is `4.162`" | ||||
|   | ||||
| @@ -83,8 +83,8 @@ function _install_packages() { | ||||
|  | ||||
|   local ANTI_VIRUS_SPAM_PACKAGES=( | ||||
|     clamav clamav-daemon | ||||
|     # spamassassin is used only with amavisd-new, while pyzor + razor are used by spamassassin | ||||
|     amavisd-new spamassassin pyzor razor | ||||
|     # spamassassin is used only with amavisd-new | ||||
|     amavisd-new spamassassin | ||||
|   ) | ||||
|  | ||||
|   # predominantly for Amavis support | ||||
|   | ||||
		Reference in New Issue
	
	Block a user