mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-30 18:50:53 +00:00 
			
		
		
		
	Align with master
This commit is contained in:
		
							parent
							
								
									be1a2c9b28
								
							
						
					
					
						commit
						f39e872cf7
					
				| @ -38,7 +38,6 @@ def get_services(): | ||||
| 		{ "name": "Mail Filters (Sieve/dovecot)", "port": 4190, "public": True, }, | ||||
| 		{ "name": "HTTP Web (nginx)", "port": 80, "public": True, }, | ||||
| 		{ "name": "HTTPS Web (nginx)", "port": 443, "public": True, }, | ||||
| 		{ "name": "Solr Full Text Search (Jetty)", "port": 8080, "public": False, }, | ||||
| 	] | ||||
| 
 | ||||
| def run_checks(rounded_values, env, output, pool): | ||||
|  | ||||
| @ -210,6 +210,7 @@ tools/editconf.py /etc/postfix/main.cf \ | ||||
| tools/editconf.py /etc/default/postgrey \ | ||||
| 	POSTGREY_OPTS=\"'--inet=127.0.0.1:10023 --delay=180 --whitelist-recipients=/etc/postgrey/whitelist_clients'\" | ||||
| 
 | ||||
| 
 | ||||
| # We are going to setup a newer whitelist for postgrey, the version included in the distribution is old | ||||
| cat > /etc/cron.daily/mailinabox-postgrey-whitelist << EOF; | ||||
| #!/bin/bash | ||||
| @ -226,9 +227,6 @@ if [ ! -f /etc/postgrey/whitelist_clients ] || find /etc/postgrey/whitelist_clie | ||||
|         # before moving it into place | ||||
|         if [ "\$(file -b --mime-type /tmp/postgrey_whitelist_clients)" == "text/plain" ]; then | ||||
|             mv /tmp/postgrey_whitelist_clients /etc/postgrey/whitelist_clients | ||||
|             if [ -f /root/mailinabox/conf/postgrey_whitelist_clients ] ; then | ||||
|                cat /root/mailinabox/conf/postgrey_whitelist_clients >> /etc/postgrey/whitelist_clients | ||||
|             fi | ||||
|             service postgrey restart | ||||
| 	else | ||||
|             rm /tmp/postgrey_whitelist_clients | ||||
|  | ||||
| @ -48,12 +48,6 @@ tools/editconf.py /etc/php/7.2/fpm/php.ini -c ';' \ | ||||
| tools/editconf.py /etc/php/7.2/fpm/php.ini -c ';' \ | ||||
|         default_charset="UTF-8" | ||||
| 
 | ||||
| # Set higher timeout since searches with Roundcube and Solr may take longer | ||||
| # than the default 60 seconds. We will also match Roundcube's timeout to the | ||||
| # same value | ||||
| tools/editconf.py /etc/php/7.2/fpm/php.ini -c ';' \ | ||||
|         default_socket_timeout=180 | ||||
| 
 | ||||
| # Switch from the dynamic process manager to the ondemand manager see #1216 | ||||
| tools/editconf.py /etc/php/7.2/fpm/pool.d/www.conf -c ';' \ | ||||
| 	pm=ondemand | ||||
|  | ||||
| @ -108,7 +108,7 @@ cat > $RCM_CONFIG <<EOF; | ||||
|      'verify_peer_name'  => false, | ||||
|    ), | ||||
|  ); | ||||
| \$config['imap_timeout'] = 180; | ||||
| \$config['imap_timeout'] = 15; | ||||
| \$config['smtp_server'] = 'tls://127.0.0.1'; | ||||
| \$config['smtp_port'] = 587; | ||||
| \$config['smtp_user'] = '%u'; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user