mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 10:27:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			424 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			424 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import os
 | |
| import kcconf
 | |
| 
 | |
| # Component specific configurations
 | |
| kcconf.configkopano({
 | |
|     r"/etc/kopano/gateway.cfg":
 | |
|     {
 | |
|         'log_file': "-",
 | |
|         'log_level': "4",
 | |
|         'tmp_path': "/tmp/gateway/",
 | |
|         'pop3_enable': "no",
 | |
|         'imap_enable': "no",
 | |
|         'imaps_enable': "yes"
 | |
|     }
 | |
| })
 | |
| 
 | |
| # Override configs from environment variables
 | |
| kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
 |