| 
									
										
										
										
											2024-07-07 11:02:45 -07:00
										 |  |  | # ProtonMailBridge plus PostFix
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * GPG stores in-container are wildly insecure | 
					
						
							|  |  |  | * This creates a volume for /root with these stores to preserve cache | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Setup
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-07 11:19:08 -07:00
										 |  |  | Build only seems to require  `#usermod -aG docker username`. Not tested as root/sudo/ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-07 11:02:45 -07:00
										 |  |  | By default, `bridge` runs in non-interactive mode. You must set up the bridge initially. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     docker-compose exec pmb bash | 
					
						
							|  |  |  |     killall bridge | 
					
						
							|  |  |  |     ./bridge -c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-07 11:19:08 -07:00
										 |  |  | When in cli mode: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * `login` will activate account. | 
					
						
							|  |  |  | * `info` will show creds to input into host filesystem .env postfix values. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | docker-compose down && docker-compose up are necessary. "restart" will not reload .env | 
					
						
							| 
									
										
										
										
											2024-07-07 11:02:45 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## msmtp test
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-07 11:21:15 -07:00
										 |  |  |     vi ~/.msmtprc | 
					
						
							| 
									
										
										
										
											2024-07-07 11:02:45 -07:00
										 |  |  |     echo "test" | msmtp -a pmb recipient@recipient.email |