Skip to content

Include whitelist_clients.local in postgrey setup from config folder#564

Merged
tomav merged 1 commit intodocker-mailserver:masterfrom
nueaf:whitelist_clients.local
Apr 12, 2017
Merged

Include whitelist_clients.local in postgrey setup from config folder#564
tomav merged 1 commit intodocker-mailserver:masterfrom
nueaf:whitelist_clients.local

Conversation

@nueaf
Copy link
Copy Markdown
Contributor

@nueaf nueaf commented Mar 29, 2017

Copies whitelist_clients.local from config dir to /etc/postgrey.
Test is made by communicating directly with postgrey via nc on port 10023 in order to test for the correct client_name instead of localhost.

Credit for that solution to this blog post: http://www.brandonchecketts.com/archives/manually-testing-postgrey-through-a-telnet-session

@tomav tomav merged commit ec6e5ee into docker-mailserver:master Apr 12, 2017
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Apr 12, 2017

Thanks @nueaf

@kortenkamp
Copy link
Copy Markdown

This leads to
mail | cp: cannot stat '/tmp/docker-mailserver/whitelist_clients.local': No such file or directory
on startup if there is no whitelist_clients.local file. After updating to the latest image my server seems to no longer accept mail – while investigating the reason I found this.

@nueaf
Copy link
Copy Markdown
Contributor Author

nueaf commented May 7, 2017

Sorry about that. I will add a check to see if the file exists before trying to copy it.

RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
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.

3 participants