Commit graph

363 commits

Author SHA1 Message Date
mrskul
2c94e4fe0e
update Readme and set cert name as ${mail.fullname} 2025-05-28 15:43:27 +10:00
mrskul
c131bdae37
Removing comment 2025-04-14 12:55:55 +10:00
mrskul
2adcca514f
set static name 2025-04-11 17:22:06 +10:00
mrskul
853bcd4bc7
fix name of default 2025-04-11 17:13:03 +10:00
mrskul
57771cf5b3
fix certname 2025-04-11 17:11:30 +10:00
mrskul
71bd0c69ec
update secretName 2025-04-11 17:10:17 +10:00
mrskul
b5078e78d3
change to helpers.tpl 2025-04-11 17:09:41 +10:00
mrskul
01c9b01b90
allow change of cert secret name 2025-04-11 16:49:09 +10: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