mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			7c09b7c73e
			...
			9d7a892355
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					9d7a892355 | ||
| 
						 | 
					32cfd1ed52 | 
@ -512,6 +512,9 @@ def list_target_files(config):
 | 
			
		||||
 | 
			
		||||
		# connect to the region & bucket
 | 
			
		||||
		try:
 | 
			
		||||
			if config['target_user'] == "" and config['target_pass'] == "":
 | 
			
		||||
				s3 = boto3.client('s3', endpoint_url=f'https://{target.hostname}')
 | 
			
		||||
			else:
 | 
			
		||||
				s3 = boto3.client('s3', \
 | 
			
		||||
					endpoint_url=f'https://{target.hostname}', \
 | 
			
		||||
					aws_access_key_id=config['target_user'], \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user