Update run.sh
This commit is contained in:
		
							
								
								
									
										4
									
								
								run.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								run.sh
									
									
									
									
									
								
							@@ -46,11 +46,11 @@ if [ ! -f /etc/postfix/sasl_passwd ]; then
 | 
			
		||||
  fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
#Set header tag
 | 
			
		||||
#Set header tag  
 | 
			
		||||
if [ -z "${SMTP_HEADER_TAG}" ]; then
 | 
			
		||||
  postconf -e "header_checks = regexp:/etc/postfix/header_tag"
 | 
			
		||||
  echo -e "/^MIME-Version:/i PREPEND RelayTag: $SMTP_HEADER_TAG\n/^Content-Transfer-Encoding:/i PREPEND RelayTag: $SMTP_HEADER_TAG" > /etc/postfix/header_tag
 | 
			
		||||
  echo "******** Header tag is $SMTP_HEADER_TAG *********"
 | 
			
		||||
  echo "Setting configuration option SMTP_HEADER_TAG with value: ${SMTP_HEADER_TAG}"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
#Start services
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user