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

other: POSTMASTER_ADDRESS in 15-lda.conf #3850

Open
jsonn opened this issue Jan 29, 2024 · 2 comments
Open

other: POSTMASTER_ADDRESS in 15-lda.conf #3850

jsonn opened this issue Jan 29, 2024 · 2 comments
Labels
area/configuration (file) area/scripts kind/improvement Improve an existing feature, configuration file or the documentation meta/help wanted The OP requests help from others - chime in! :D service/dovecot service/postfix stale-bot/ignore Indicates that this issue / PR shall not be closed by our stale-checking CI

Comments

@jsonn
Copy link
Contributor

jsonn commented Jan 29, 2024

Subject

Something else that requires developers attention

Description

In the main Dockerfile (

sedfile -i -e 's/^.*postmaster_address.*/postmaster_address = '${POSTMASTER_ADDRESS:="postmaster@domain.com"}'/g' /etc/dovecot/conf.d/15-lda.conf
) 15-lda.conf is currently patched to contain the value of POSTMASTER_ADDRESS with a fallback value. It's not clear to me how this is supposed to ever work:

  1. The environment variable is not set at this point in the build environment.
  2. The line is replaced with the correct runtime value anyway (
    sedfile -i 's|^postmaster_address = .*$|postmaster_address = '"${POSTMASTER_ADDRESS}"'|g' /etc/dovecot/conf.d/15-lda.conf
    )

Is there any point left in doing the change in the main Dockerfile?

@jsonn jsonn added the meta/help wanted The OP requests help from others - chime in! :D label Jan 29, 2024
@polarathene
Copy link
Member

Is there any point left in doing the change in the main Dockerfile?

No, it should be removed. v14 changed Debian image and carries a bunch of other changes, so refactoring the Dockerfile has been delayed to a release after that.

There's a lot in there that can be pulled out into a separate build script like we do with packages.sh and compile.sh.

Regarding postmaster, it has a variety of concerns to address: #3769

@polarathene polarathene added service/dovecot service/postfix area/scripts kind/improvement Improve an existing feature, configuration file or the documentation area/configuration (file) labels Feb 2, 2024
Copy link
Contributor

This issue has become stale because it has been open for 20 days without activity.
This issue will be closed in 10 days automatically unless:

  • a maintainer removes the meta/stale label or adds the stale-bot/ignore label
  • new activity occurs, such as a new comment

@github-actions github-actions bot added the meta/stale This issue / PR has become stale and will be closed if there is no further activity label Feb 23, 2024
@georglauterbach georglauterbach added stale-bot/ignore Indicates that this issue / PR shall not be closed by our stale-checking CI and removed meta/stale This issue / PR has become stale and will be closed if there is no further activity labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration (file) area/scripts kind/improvement Improve an existing feature, configuration file or the documentation meta/help wanted The OP requests help from others - chime in! :D service/dovecot service/postfix stale-bot/ignore Indicates that this issue / PR shall not be closed by our stale-checking CI
Projects
None yet
Development

No branches or pull requests

3 participants