mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	Fix variable name for POSTGREY
This commit is contained in:
		
							parent
							
								
									761bb054ce
								
							
						
					
					
						commit
						773276f4fe
					
				@ -204,7 +204,7 @@ postconf -e smtpd_sender_restrictions="reject_non_fqdn_sender,reject_unknown_sen
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RECIPIENT_RESTRICTIONS="permit_sasl_authenticated,permit_mynetworks,reject_rbl_client zen.spamhaus.org,reject_unlisted_recipient"
 | 
					RECIPIENT_RESTRICTIONS="permit_sasl_authenticated,permit_mynetworks,reject_rbl_client zen.spamhaus.org,reject_unlisted_recipient"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ $GREYLISTING != 1 ]; then
 | 
					if [ $POSTGREY != 1 ]; then
 | 
				
			||||||
    RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service inet:127.0.0.1:10023"
 | 
					    RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service inet:127.0.0.1:10023"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -46,8 +46,8 @@ if [ -z "${HTTP_SSL_PORT:-}" ]; then
 | 
				
			|||||||
	HTTP_SSL_PORT=$([[ -z "${DEFAULT_HTTP_SSL_PORT:-}" ]] && echo "443" || echo "$DEFAULT_HTTP_SSL_PORT")
 | 
						HTTP_SSL_PORT=$([[ -z "${DEFAULT_HTTP_SSL_PORT:-}" ]] && echo "443" || echo "$DEFAULT_HTTP_SSL_PORT")
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z "${GREYLISTING:-}" ]; then
 | 
					if [ -z "${POSTGREY:-}" ]; then
 | 
				
			||||||
	GREYLISTING=$([[ -z "${DEFAULT_GREYLISTING:-}" ]] && echo "1" || echo "$DEFAULT_GREYLISTING")
 | 
						POSTGREY=$([[ -z "${DEFAULT_POSTGREY:-}" ]] && echo "1" || echo "$DEFAULT_POSTGREY")
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z "${POSTSRSD:-}" ]; then
 | 
					if [ -z "${POSTSRSD:-}" ]; then
 | 
				
			||||||
@ -110,7 +110,7 @@ PUBLIC_IPV6=$PUBLIC_IPV6
 | 
				
			|||||||
PRIVATE_IP=$PRIVATE_IP
 | 
					PRIVATE_IP=$PRIVATE_IP
 | 
				
			||||||
PRIVATE_IPV6=$PRIVATE_IPV6
 | 
					PRIVATE_IPV6=$PRIVATE_IPV6
 | 
				
			||||||
HTTP_SSL_PORT=$HTTP_SSL_PORT
 | 
					HTTP_SSL_PORT=$HTTP_SSL_PORT
 | 
				
			||||||
GREYLISTING=$GREYLISTING
 | 
					POSTGREY=$POSTGREY
 | 
				
			||||||
POSTSRSD=$POSTSRSD
 | 
					POSTSRSD=$POSTSRSD
 | 
				
			||||||
POLICY_SPF=$POLICY_SPF
 | 
					POLICY_SPF=$POLICY_SPF
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user