mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	set dovecot postmaster_address setting, fixes #31
This commit is contained in:
		
							parent
							
								
									ac13f7ffca
								
							
						
					
					
						commit
						07b43c2bba
					
				@ -192,6 +192,10 @@ protocol imap {
 | 
			
		||||
}
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
# postmaster_address seems to be required or LMTP won't start
 | 
			
		||||
tools/editconf.py /etc/dovecot/conf.d/15-lda.conf \
 | 
			
		||||
	postmaster_address=postmaster@$PUBLIC_HOSTNAME
 | 
			
		||||
 | 
			
		||||
# Drew Crawford sets the auth-worker process to run as the mail user, but we don't care if it runs as root.
 | 
			
		||||
 | 
			
		||||
# Enable SSL and specify the location of the SSL certificate and private key files.
 | 
			
		||||
 | 
			
		||||
@ -81,5 +81,6 @@ if [ -z "`tools/mail.py user`" ]; then
 | 
			
		||||
	read -e -i "user@`hostname`" -p "Email Address: " EMAIL_ADDR
 | 
			
		||||
	tools/mail.py user add $EMAIL_ADDR # will ask for password
 | 
			
		||||
	tools/mail.py alias add hostmaster@$PUBLIC_HOSTNAME $EMAIL_ADDR
 | 
			
		||||
	tools/mail.py alias add postmaster@$PUBLIC_HOSTNAME $EMAIL_ADDR
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user