Commit graph

341 commits

Author SHA1 Message Date
Bojan Čekrlić
50c95039c4 Fix for installation of msal library
This will create a python venv and point sasl-xoauth2-tool to use
this venv. This way, when the user executes the command, it will
"automagically" work instead of failing.
2025-03-01 09:14:07 +01:00
Bojan Čekrlić
3b2d8db991 Fix: Remove python pre-installation as SASL building fails in that case 2025-03-01 08:07:48 +01:00
Bojan Čekrlić
92f514b647 Fix: Fix missing backslash 2025-02-28 20:24:18 +01:00
Bojan Čekrlić
b96f9e0cc0 Fix #227: Add msal library to installation 2025-02-28 20:15:07 +01:00
Bojan Čekrlić
4f058d420b Fix #227: Instal msal library into the image 2025-02-28 19:44:29 +01:00
Bojan Čekrlić
bd3a68c4f5 Fix: Fix broken postfix-install.sh script, move other spaces to tabs as well 2025-02-28 19:17:01 +01:00
Bojan Čekrlić
b43c3d9582 Fix: spaces -> tabs 2025-02-28 18:59:22 +01:00
Bojan Čekrlić
07b46c743b Feat: Add the posibility to automatically set hostname on run 2025-02-28 18:58:23 +01:00
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