Skip to content

Add option to specify passwordmap file#2

Open
sled wants to merge 1 commit intofw8:masterfrom
at-point:adding-passwordmap-file
Open

Add option to specify passwordmap file#2
sled wants to merge 1 commit intofw8:masterfrom
at-point:adding-passwordmap-file

Conversation

@sled
Copy link

@sled sled commented Jun 23, 2020

This PR allows you to specify the RELAYHOST_PASSWORDMAP in a file so it can be used with docker secrets as follows:

docker-compose.yml:

services:
  postfix:
    image: ....
    environment:
      RELAY_AUTH: 'yes'
      RELAYHOST_PASSWORDMAP_FILE: /run/secrets/relay_passwordmap
secrets:
  relay_passwordmap:
    external: true

Copy link

@gooseleggs gooseleggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants