Commit graph

360 commits

Author SHA1 Message Date
dependabot[bot]
2d02b84b16
Build(deps): Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 10:01:59 +00:00
Boky
11f1fb0cf9
Remove typos from README.md 2025-07-29 13:00:02 +02:00
mrskul
bbe209cea2
Allow setting existing secret name for TLS certs (#233)
* allow change of cert secret name

* change to helpers.tpl

* update secretName

* fix certname

* fix name of default

* set static name

* Removing comment

* update Readme and set cert name as ${mail.fullname}

* update test file name

* add create

* Removing the certs.existing. As this was not setup to be used.

* Update to allow setting only existingSecret or certs.create

* allow existing secret to add certs script

---------

Co-authored-by: nicholasm <nicholas.matters@prontocloud.com.au>
2025-07-29 12:59:03 +02:00
Dan Mills
a47f941243
Add externalTrafficPolicy to helm Fixes #239 (#240)
* Add externalTrafficPolicy to helm Fixes #239

* Add externalTrafficPolicy to documentation
2025-07-29 12:58:47 +02:00
Mario Zelger
76bde40218
added ability to define resource options for the metrics exporter (#238) 2025-07-01 09:29:19 +02:00
Bojan Čekrlić
9fcd02f67c Fix: Refactor sasl compilation a bit, hopefuly to run without issues 2025-03-01 19:24:38 +01:00
Bojan Čekrlić
d0590c7c82 Fix: Position of whitespace was wrong and bash complained about syntax error. 2025-03-01 19:03:21 +01:00
Bojan Čekrlić
fb8761f43c Fix: Replace local with export, as local can only be used inside a function 2025-03-01 18:58:44 +01:00
Bojan Čekrlić
437fb8bdb5 Fix: Do not install rust on mips64el 2025-03-01 18:57:14 +01:00
Bojan Čekrlić
676da62a7f Fix: Do not install "msal" on linux/386 as the compilation fails 2025-03-01 18:37:21 +01:00
Bojan Čekrlić
6fd4b113ab Fix: Install rust and cargo through apk for Alpine
Otherwise, rus installer will die with "unsupported platform" on certain
architectures.
2025-03-01 18:33:32 +01:00
Bojan Čekrlić
430b881b43 Fix: Try to fix rust bindins build 2025-03-01 18:26:29 +01:00
Bojan Čekrlić
7b4d54f631 Fix: Uninstallation of rustup requires "-y" for non-interactive use 2025-03-01 17:57:21 +01:00
Bojan Čekrlić
9f551fa108 Fix: Missing python3-venv 2025-03-01 17:50:02 +01:00
Bojan Čekrlić
294a6baa05 Fix: Install latest version of rust for multi-platform build 2025-03-01 17:41:43 +01:00
Bojan Čekrlić
cbc07b1fea Fix: Fix multiplatform build of SASL2 2025-03-01 16:09:44 +01:00
Bojan Čekrlić
0e25ca0334 Fix building SASL 2025-03-01 15:53:38 +01:00
Bojan Čekrlić
69d1a4cd81 Fix: Create python venv after bulding SASL 2025-03-01 09:36:45 +01:00
Bojan Čekrlić
7b87c5bf58 Fix for #225: Ensure that SASL authenticated connections are not rejected 2025-03-01 09:18:35 +01:00
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