Skip to content

Use "texthash" Postfix lookup format instead of "hash"#382

Merged
tomav merged 1 commit intodocker-mailserver:masterfrom
tyranron:texthash_format
Nov 21, 2016
Merged

Use "texthash" Postfix lookup format instead of "hash"#382
tomav merged 1 commit intodocker-mailserver:masterfrom
tyranron:texthash_format

Conversation

@tyranron
Copy link
Copy Markdown
Contributor

As far as Postfix setup inside Docker container does not require to re-apply configuration on-fly, and reconfiguration is done with container restarts (which actually stops and starts Postfix) we can use texthash: Postfix lookup format instead of hash:, which allows us don't mess with pre-postmap commands.

Also, I changed a bit handling of such lookup files to make them survive container restarts a bit better. Initially, if we create a container with accounts configuration, then remove all accounts and restart container, those accounts will be in lookup files still. I made them stripped before accounts configuration is applied.

@tomav tomav merged commit 90708bc into docker-mailserver:master Nov 21, 2016
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Nov 21, 2016

Thank you @tyranron

@tyranron tyranron deleted the texthash_format branch January 9, 2017 09:29
RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
Use "texthash" Postfix lookup format instead of "hash"
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