Generate safe passwords
This commit is contained in:
		
							parent
							
								
									7c63476858
								
							
						
					
					
						commit
						09322daf2d
					
				
							
								
								
									
										4
									
								
								data/assets/passwd/generate_passwords.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								data/assets/passwd/generate_passwords.sh
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,4 @@ | ||||
| #!/bin/bash | ||||
| 
 | ||||
| echo DBPASS=$(openssl rand -base64 32 | tr -dc _A-Z-a-z-0-9) | ||||
| echo DBROOT=$(openssl rand -base64 32 | tr -dc _A-Z-a-z-0-9) | ||||
							
								
								
									
										19
									
								
								mailcow.conf
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								mailcow.conf
									
									
									
									
									
								
							| @ -1,19 +1,33 @@ | ||||
| # ------------------------------ | ||||
| # mailcow web ui configuration | ||||
| # example.org is NOT a valid hostname, use a fqdn here. | ||||
| # ------------------------------ | ||||
| # example.org is _not_ a valid hostname, use a fqdn here. | ||||
| # Default admin user is "admin" | ||||
| # Default password is "moohoo" | ||||
| 
 | ||||
| MAILCOW_HOSTNAME=mail.example.org | ||||
| 
 | ||||
| 
 | ||||
| # ------------------------------ | ||||
| # SQL database configuration | ||||
| # ------------------------------ | ||||
| 
 | ||||
| DBNAME=mailcow | ||||
| DBUSER=mailcow | ||||
| 
 | ||||
| # Please use long, random alphanumeric strings (A-Za-z0-9) | ||||
| # Run data/assets/passwd/generate_passwords.sh to generate safe passwords | ||||
| 
 | ||||
| DBPASS=mysafepasswd | ||||
| DBROOT=myothersafepasswd | ||||
| 
 | ||||
| 
 | ||||
| # ------------------------------ | ||||
| # Misc configuration | ||||
| # ------------------------------ | ||||
| # You should leave that alone | ||||
| # Can also be 11.22.33.44:25 or 0.0.0.0:465 etc. for specific binding | ||||
| # Can also be 11.22.33.44:25 or 0.0.0.0:465 etc. for specific bindings | ||||
| 
 | ||||
| SMTP_PORT=25 | ||||
| SMTPS_PORT=465 | ||||
| SUBMISSION_PORT=587 | ||||
| @ -22,5 +36,6 @@ IMAPS_PORT=993 | ||||
| POP_PORT=110 | ||||
| POPS_PORT=995 | ||||
| SIEVE_PORT=4190 | ||||
| HTTPS_PORT=443 | ||||
| 
 | ||||
| TZ="Europe/Berlin" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 andryyy
						andryyy