mirror of
				https://github.com/nodemailer/wildduck.git
				synced 2025-11-04 12:07:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			No EOL
		
	
	
		
			527 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			No EOL
		
	
	
		
			527 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#! /bin/bash
 | 
						|
 | 
						|
OURNAME=05_install_packages.sh
 | 
						|
 | 
						|
echo -e "\n-- Executing ${ORANGE}${OURNAME}${NC} subscript --"
 | 
						|
 | 
						|
# install nginx
 | 
						|
apt-get update
 | 
						|
apt-get -q -y install pwgen git ufw build-essential libssl-dev dnsutils python software-properties-common nginx wget mongodb-org nodejs redis-server clamav clamav-daemon
 | 
						|
 | 
						|
# rspamd
 | 
						|
apt-get -q -y --no-install-recommends install rspamd
 | 
						|
apt-get clean
 | 
						|
 | 
						|
# DMARC policy=reject rules
 | 
						|
echo 'actions = {
 | 
						|
    quarantine = "add_header";
 | 
						|
    reject = "reject";
 | 
						|
}' > /etc/rspamd/override.d/dmarc.conf |