2024-07-07 18:02:45 +00: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 18:19:08 +00:00
|
|
|
Build only seems to require `#usermod -aG docker username`. Not tested as root/sudo/
|
|
|
|
|
2024-07-07 18:02:45 +00: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 18:19:08 +00: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 18:02:45 +00:00
|
|
|
|
|
|
|
## msmtp test
|
|
|
|
|
2024-07-07 18:21:15 +00:00
|
|
|
vi ~/.msmtprc
|
2024-07-07 18:02:45 +00:00
|
|
|
echo "test" | msmtp -a pmb recipient@recipient.email
|