Bojan Čekrlić
a99abca165
Fix: disable building postfix-expoter for ppc64le and s390x
...
Builds fail:
```
[linux/s390x builder 8/8] RUN env GOOS="linux" GOARCH="s390x" GOARM="$( echo "" | grep -E -o "\d+$")" go build -ldflags '-extldflags "-static"' -o /bin/postfix_exporter
606.1 net: gcc: signal: segmentation fault (core dumped)
...
```
```
[linux/ppc64le builder 8/8] RUN env GOOS="linux" GOARCH="ppc64le" GOARM="$( echo "" | grep -E -o "\d+$")" go build -ldflags '-extldflags "-static"' -o /bin/postfix_exporter
ERROR: process "/bin/sh -c env GOOS=\"${TARGETOS}\" GOARCH=\"${TARGETARCH}\" GOARM=\"$( echo \"$TARGETVARIANT\" | grep -E -o \"\\\\d+$\")\" go build -ldflags '-extldflags \"-static\"' -o /bin/postfix_exporter" did not complete successfully: exit code: 1
gcc: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
```
2025-01-31 08:47:47 +01:00
Bojan Čekrlić
6b6d67eeac
Fix: Rollback to kumina/postfix_exporter
2025-01-31 07:45:23 +01:00
Bojan Čekrlić
3fc96164b2
Fix: Rollback sals plugin to 0.25
2025-01-31 07:31:59 +01:00
Bojan Čekrlić
b359a946bf
Fix: Remove linux/arm/v6 from build of postfix-exporter
2025-01-31 07:26:42 +01:00
Bojan Čekrlić
12708dc8c7
Fix: Temporarily remove linux/ppc64le, as the build crashes.
2025-01-30 20:36:09 +01:00
Bojan Čekrlić
35e538934c
Fix: Remove build for ARMv5, as Go does not support ARMv5 images anymore.
2025-01-30 20:30:57 +01:00
Bojan Čekrlić
29f5eb7e4c
Fix: Always build on build platform.
2025-01-30 20:26:16 +01:00
Bojan Čekrlić
085746ea4d
Fix: Try to fix building of postfix-exporter
2025-01-30 20:18:42 +01:00
Bojan Čekrlić
1bdf77822f
Fix: Fix building of docker image for postfix exporter
2025-01-30 19:53:18 +01:00
Nico Weichbrodt
0a8e84b855
Don't enable smtputf8 when running on alpine on container restart ( #224 )
2025-01-30 19:45:05 +01:00
Bojan Čekrlić
0286619ef2
Fix: Install packages only if available on said architecture.
2025-01-26 17:02:43 +01:00
Bojan Čekrlić
d0e4572fc9
Fix: Switch to an updated branch of postfix_exporter
2025-01-26 16:56:06 +01:00
Bojan Čekrlić
b957465e02
Fix: call update-binfmts
ony if it exists.
2025-01-26 16:48:59 +01:00
Bojan Čekrlić
0b2e8ee5a1
Fix: add some code documentation.
2025-01-26 16:48:29 +01:00
Bojan Čekrlić
6b2fa906c6
New: Add postfix-pgsql and postfix-mysql packages for integration with DBs
2025-01-26 16:41:43 +01:00
Bojan Čekrlić
5113756b08
Fix: Proper detection for libcurl4t64
2025-01-16 23:56:28 +01:00
Bojan Čekrlić
8a5aed21e8
Fix: Use libcurl4t64
where available, otherwise use libcurl4
.
2025-01-16 23:44:12 +01:00
Bojan Čekrlić
1fcc02381e
Fix: Rename libcurl4 to libcurl4t64
2025-01-16 23:34:40 +01:00
Bojan Čekrlić
f2244bafaa
Upd: Upgrade SASL XOATUH to release 0.26
2025-01-16 23:16:40 +01:00
Bojan Čekrlić
f4051b7e05
Fix: Remove package colorized-logs
as it's not available in Alpine
2025-01-16 23:13:24 +01:00
Bojan Čekrlić
926429ba81
Upd: Move to newer distributions
2025-01-16 23:06:41 +01:00
Bojan Čekrlić
bdb8f86848
Upd: Upgrade distro versions + fix a few typos
2025-01-16 22:46:45 +01:00
Sushain Cherivirala
994d4ae646
Delete duplicate logrotate config for mail.log
( #214 )
2024-10-17 12:33:02 +02:00
Sushain Cherivirala
9d3643a805
Fix container.postfixsecurityContext
( #211 )
...
This is a typo, the field is named `container.postfix.securityContext`
2024-09-15 10:40:35 +03:00
Bojan Čekrlić
33a5edce05
Fix: Use docker compose
instead of docker-compose
, if available.
2024-09-02 20:55:19 +02:00
pixil98
11cc00c942
Include ldap support in docker image ( #205 )
...
* include postfix-ldap in docker build
* Add integration tests (#3 )
* Redo ldap test to use postmap instead of sending email
---------
Co-authored-by: Aaron Reisman <areisman@epic.com>
2024-08-26 18:10:32 +02:00
dependabot[bot]
92ab9769d8
Build(deps): Bump docker/build-push-action from 5 to 6
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 08:23:48 +02:00
Eric Busalacchi
71bf33b2e4
Mention SES Creds are Region Specific, fix broken URL
2024-06-01 10:44:23 +02:00
Jarek
f65c22454f
add k8s version min requirement
2024-04-30 22:35:01 +02:00
Jarek
86ee369d26
Add missing appProtocol
2024-04-30 22:35:01 +02:00
Bojan Čekrlić
fc5f540436
Fix #196 : Remove duplicated 'name:' that caused helm chart to fail
2024-04-24 08:39:47 +02:00
Bojan Čekrlić
c50f864ed8
Fix #188 : Create file /etc/default/locale
...
File is created "manually" to keep cron happy and prevent it from
spewing errors into the log. Hopefully this will be enough.
2024-04-23 07:23:57 +01:00
Bojan Čekrlić
95119aa607
Fix #169 : Explicitly state different UIDs/GIDs across distros
...
This is a simple documentation update to notify users that UIDs/GIDs may
(and in fact are) different across distros.
The documentation now reflects the last known state od UIDs/GIDs.
Startup now announces specific UIDs/GIDs used to make sure people are
aware of any future changes.
2024-04-23 07:03:03 +01:00
Bojan Čekrlić
bd8c14c3bf
Upt: Update GitHub actions to newer versions
...
Node 16 actions are deprecated. Hopefully this update will remove the
warning.
2024-04-21 18:02:00 +01:00
Bojan Čekrlić
aba3d60919
Fix: Update HorizontalPodAutoscaler to autoscaling/v2
2024-04-21 17:54:47 +01:00
shcherbak
55f2f71dd5
fix HorizontalPodAutoscaler apiVersion
2024-04-21 17:43:45 +02:00
shcherbak
e3898ed071
autoscaling.apiVersion
2024-04-21 17:43:45 +02:00
Bojan Čekrlić
4b46b1d173
Fix #180 : Rename authentication methods
...
This is a really dirt fix for issue #180 . It will replace "well-known"
enumerated plugin names with SASL mechanism names. While this is more of
a "bandage" than the actual proper fix, I have currently found no better
ways to do it.
Most likely this issue will rise up again with another SASL plugin and
we will deal with it then. At this stage, it should cover most of the
use cases transparently.
2024-04-21 16:38:54 +01:00
dependabot[bot]
a26f85d79d
Build(deps): Bump WyriHaximus/github-action-helm3 from 3 to 4
...
Bumps [WyriHaximus/github-action-helm3](https://github.com/wyrihaximus/github-action-helm3 ) from 3 to 4.
- [Release notes](https://github.com/wyrihaximus/github-action-helm3/releases )
- [Commits](https://github.com/wyrihaximus/github-action-helm3/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: WyriHaximus/github-action-helm3
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 15:19:39 +02:00
Bojan Čekrlić
b358d71454
Fix for #192 : Automatically add domains to provided usernames for SASL
...
So, according to the documentation, usernames must always include a
domain for SASL.
In other words. User cannot be `johhny` but `johhny@example.org`.
Further info can be found on this ticket: https://github.com/bokysan/docker-postfix/issues/192
This commit will automatically append domain if one is not provided in
`SMTPD_SASL_USERS`.
2024-04-16 22:11:34 +02:00
dependabot[bot]
bda13b30fa
Build(deps): Bump peaceiris/actions-gh-pages from 3 to 4
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 10:56:52 +02:00
Bojan Čekrlić
1e80626550
Upd: Update documentation - fix typos, make it more explicit we use Debian as default
2024-02-25 09:24:13 +01:00
Bojan Čekrlić
025cb58d0e
Upt: Add postfix-pcre, add additional checks for sanity and mount /tmp to emptydir
2024-02-25 09:12:28 +01:00
Filipe
5ea8c32ffa
Expand volumeClaimTemplates spec
...
Use the full volumeClaimTemplates spec to avoid manifest diffs when using ServerSideApply/Diff
2024-02-07 13:47:18 +01:00
Sébastien De Marchi
bf84322ca6
Fix sasldb with SMTPD_SASL_USERS env variable
...
We encountered an issue where the script common-run.sh would fail if the SMTPD_SASL_USERS environment variable was defined. The failure occurred immediately after displaying the "Enable smtpd sasl auth" message, preventing the container from starting correctly.
The root cause was traced to a conditional check for the existence of the /etc/sasl2/sasldb2 file. When the file did not exist, the subsequent `chown` operation was skipped as intended, but the script would still fail due to an undefined behavior in the shell context.
The addition of a debug message "Sasldb configured" before the closing `fi` statement has resolved the issue. This change appears to stabilize the script execution, allowing the container to start as expected.
While the underlying cause is not fully understood and warrants further investigation, this commit serves as a temporary workaround to ensure functionality in environments where SMTPD_SASL_USERS is set.
2024-01-19 10:36:33 +01:00
dependabot[bot]
6f0831fc91
Build(deps): Bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 09:18:12 +01:00
Bojan Čekrlić
a1b30f31f9
Fix for #174 : Incrase healthcheck timeout
...
Default timeout for healthcheck by kubernetes is too low. As we wait up
for 2 seconds for the Postfix and DKIM to respond, this exceeds the
threshold and the healthcheck fails with:
```
Readiness probe failed: command "sh -c /scripts/healthcheck.sh" timed out
```
By simply increasing `timeoutSeconds` this issue is resolved.
2024-01-09 17:00:04 +01:00
Bojan Čekrlić
83b9af5c9b
Fix for #174 : Try to refactor healthcheck
2024-01-09 10:59:04 +01:00
Bojan Čekrlić
df9771b6e2
Fix for #172 : Change order of parameters for netcat
2024-01-07 16:51:33 +01:00
Henry Thasler
9b2d54f15e
improved healthcheck with proper command sequence
2024-01-06 11:59:50 +01:00