Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 12, 2017

Conversation

nueaf
Copy link
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
Contributor

tomav commented Apr 12, 2017

Thanks @nueaf

@kortenkamp
Copy link

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
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.

None yet

3 participants