mirror of
				https://github.com/nodemailer/wildduck.git
				synced 2025-10-31 00:18:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			58 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| module.exports = {
 | |
|     log: {
 | |
|         level: 'silly'
 | |
|     },
 | |
| 
 | |
|     // downgrade process user after binding to ports
 | |
|     //user: 'wildduck',
 | |
|     //group: 'wildduck',
 | |
| 
 | |
|     // log to syslog if true
 | |
|     syslog: false,
 | |
| 
 | |
|     // process title and syslog ident
 | |
|     ident: 'wildduck',
 | |
| 
 | |
|     // how many processes to start
 | |
|     processes: 1,
 | |
| 
 | |
|     mongo: 'mongodb://127.0.0.1:27017/wildduck',
 | |
| 
 | |
|     redis: {
 | |
|         host: 'localhost',
 | |
|         port: 6379,
 | |
|         db: 3
 | |
|     },
 | |
| 
 | |
|     imap: {
 | |
|         port: 9993,
 | |
|         host: '127.0.0.1',
 | |
|         //key: '/path/to/server/key.pem'
 | |
|         //cert: '/path/to/server/cert.pem'
 | |
|         secure: true,
 | |
|         // Max size for messages uploaded via APPEND
 | |
|         maxMB: 5,
 | |
|         // default quota storage in MB (can be overriden per user)
 | |
|         maxStorage: 100
 | |
|     },
 | |
| 
 | |
|     lmtp: {
 | |
|         enabled: false,
 | |
|         port: 2424,
 | |
|         host: '0.0.0.0',
 | |
|         maxMB: 5
 | |
|     },
 | |
| 
 | |
|     smtp: {
 | |
|         enabled: true,
 | |
|         port: 2525,
 | |
|         host: '0.0.0.0',
 | |
|         maxMB: 5
 | |
|     },
 | |
| 
 | |
|     api: {
 | |
|         port: 8080
 | |
|     }
 | |
| };
 |