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

postgrey whitelist_recipients support #998

Closed
millerjason opened this issue Jul 5, 2018 · 1 comment
Closed

postgrey whitelist_recipients support #998

millerjason opened this issue Jul 5, 2018 · 1 comment

Comments

@millerjason
Copy link
Contributor

Context

My use case requires support for postgrey's whitelist_recipients file. Similar to whitelist_clients.local, I would like to add this support to the user config directory.

Expected Behavior

Add support for user whitelist_recipients file.

Actual Behavior

Default postgrey whitelist_recipients is provided.

Possible Fix

Add whitelist_recipients to config directory, add support for install in target/start-mailserver.sh, plus relevant tests.

    if [ -f /tmp/docker-mailserver/whitelist_recipients ]; then
            cp -f /tmp/docker-mailserver/whitelist_recipients /etc/postgrey/whitelist_recipients
    fi

Steps to Reproduce

  1. Add config/whitelist_recipients
  2. Start up service

Your Environment

  • Amount of RAM available: 16GB
  • Mailserver version used: docker-mailserver
  • Docker version used: 18.03.1-ce
  • Environment settings relevant to the config:
  • Any relevant stack traces ("Full trace" preferred):
@johansmitsnl
Copy link
Contributor

Could you provide a PR and a test for this?

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

No branches or pull requests

2 participants