462 Commits
Author SHA1 Message Date
Hauke Mehrtens 6cc62b05dd alpine: use GNU C17 for the legacy collation APIs
GCC 15 defaults to GNU C23, where an empty parameter list
specifies zero arguments. Alpine's unprototyped strucmp
declaration conflicts with its two-argument definition, and
the compiler rejects calls through its collation callback.

Build this source in GNU C17 mode so its legacy declarations
retain the intended semantics. Fedora used the same dialect
for the still-affected Alpine 2.26 release.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2336274
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-11-29 10:34:07 +02:00
Roberto Andrei Bolda ea15f3057a msmtp: add missing dependencies for msmtp-queue
msmtpq builds the queue ID with uuidgen, and msmtp-listqueue.sh calls
grep with --colour, which BusyBox grep does not support. Without them
msmtpq fails to enqueue any mail and msmtp-listqueue.sh prints the
BusyBox grep usage instead of the queue:

  /usr/bin/msmtpq: line 580: uuidgen: command not found
  grep: unrecognized option: colour

Add uuidgen and grep to the dependencies of msmtp-queue.

The pr command is only used by msmtpq to print source context in its
error messages, so it is not needed for normal operation and is not
added as a dependency.

Fixes: #31176
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
2026-11-25 06:44:45 +02:00
Josef Schlehofer 464c90c530 pigeonhole: add version check override
The generic package test of the CI fails for dovecot-pigeonhole:

  No executables in the package provided version 0.5.21.1

None of the Sieve tools has a version option. doveconf loads the
Pigeonhole settings plugin and prints its version. Check that instead.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:53 +01:00
Josef Schlehofer 8383b33c75 dovecot: add version check override
The generic package test of the CI fails for dovecot-utils:

  No executables in the package provided version 2.3.21.1

doveadm has no version option and prints only its usage. Check that
doveadm runs and look for the ABI version string compiled into it,
e.g. 2.3.ABIv21(2.3.21.1). The override replaces the generic version
check for all packages from this directory, so check dovecot --version
for the main package.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:53 +01:00
Josef Schlehofer d40b3e8eb3 pigeonhole: backport security fixes
Take the Pigeonhole parts of the Dovecot security fixes from the Debian
bookworm security updates, up to 1:2.3.19.1+dfsg1-2.1+deb12u7, and apply
them to 0.5.21.1, one patch per CVE.

Fixes:
  - CVE-2025-59032
  - CVE-2026-27857
  - CVE-2026-27858
  - CVE-2026-33263
  - CVE-2026-33605
  - CVE-2026-40013
  - CVE-2026-40016
  - CVE-2026-40204
  - CVE-2026-42007
  - CVE-2026-42394
  - CVE-2026-52681

The patch for CVE-2026-52681 needed a small change for 0.5.21.1,
described in its header. It also moves the Sieve CPU usage tracking from
the compiled scripts to a sieve-rusage file per user.

The patches add source files, so the build runs autoreconf now.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:53 +01:00
Josef Schlehofer 30c761530f pigeonhole: fix the library path of managesieve-login
managesieve-login is linked without an RPATH, unlike the other
Pigeonhole binaries, so it does not find its libraries in
/usr/lib/dovecot:

  Error loading shared library libdovecot-login.so.0: No such file or
  directory (needed by /usr/libexec/dovecot/managesieve-login)

The managesieve-login service fails to start and ManageSieve is not
available. Link with /usr/lib/dovecot as RPATH, which the other
binaries already have.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:53 +01:00
Josef Schlehofer 2455282b8f dovecot: backport security fixes
Dovecot 2.3.21.1 is the last release of the 2.3 series. Upstream fixed
the issues below in 2.4 only. Debian backported the fixes to 2.3 in its
bookworm security updates, up to 1:2.3.19.1+dfsg1-2.1+deb12u7. Take the
patches from there and apply them to 2.3.21.1, one patch per CVE.

Fixes:
  - CVE-2025-59031
  - CVE-2026-0394
  - CVE-2026-27852
  - CVE-2026-27855
  - CVE-2026-27856
  - CVE-2026-27857
  - CVE-2026-27859
  - CVE-2026-33263
  - CVE-2026-33603
  - CVE-2026-33604
  - CVE-2026-33606
  - CVE-2026-33607
  - CVE-2026-40014
  - CVE-2026-40015
  - CVE-2026-40017
  - CVE-2026-40018
  - CVE-2026-40020
  - CVE-2026-40203
  - CVE-2026-40204
  - CVE-2026-40205
  - CVE-2026-42006
  - CVE-2026-42008
  - CVE-2026-42391
  - CVE-2026-42393
  - CVE-2026-42394
  - CVE-2026-42395
  - CVE-2026-52681
  - CVE-2026-52687
  - CVE-2026-73208
  - CVE-2026-73209

Three of the Debian patches are already part of 2.3.21.1 and are left
out. The patches for CVE-2026-40018 and CVE-2026-40203 needed small
changes for 2.3.21.1, described in their headers.

The Debian patch for CVE-2026-42391 limits only the client_id kept from
the IMAP ID command, so with imap_id_log set the logged ID reply still
grew with every key/value pair. Limit it to the same 30 pairs as the
upstream fix does.

The fix for CVE-2026-33607 is a mitigation, it limits IMAP LIST pattern
matching to 20000 steps. The fix for CVE-2026-40017 converts strmap
files to a new format, which older Dovecot versions cannot read.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:53 +01:00
Josef Schlehofer 7951fec146 dovecot: update to 2.3.21.1
Fixes:
  - CVE-2024-23184
  - CVE-2024-23185

Release notes:
https://raw.githubusercontent.com/dovecot/core/2.3.21.1/NEWS

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:53 +01:00
Josef Schlehofer 9ba1c1ab52 mailsend: indent the package metadata with two spaces
GNU make treats a line that starts with a tab in a rule context as part
of a recipe, even when it looks like a variable definition [1].
Build/Compile and Package/mailsend/install are recipes and start with a
tab.

The Package/mailsend/default, Package/mailsend and
Package/mailsend-nossl blocks only hold variable definitions, so indent
them with two spaces like the CONFLICTS line.

The generated package metadata is unchanged.

[1] https://www.gnu.org/software/make/manual/html_node/Recipe-Syntax.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-03 08:49:44 +01:00
Josef Schlehofer c7c2475ffd mailsend: add missing CONFLICTS between variants
mailsend and mailsend-nossl both install /usr/bin/mailsend, but nothing
marks them as conflicting, so they can be selected and installed
together.

Declare the conflict so that they cannot be selected or installed
together.

Checked the Conflicts field in the generated package metadata.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-03 08:49:44 +01:00
Sander van Deijck b0358ea46a alpine: drop alpine-nossl package
Since alpine 2.24, upstream requires OpenSSL, so the nossl variant was
marked @BROKEN in commit 29b91b0141 ("alpine: update to 2.24") and
cannot be built.

Drop it. With only the OpenSSL variant left, also drop the build
variant handling and pass the OpenSSL configure arguments
unconditionally. The resulting alpine package is unchanged.

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
2026-10-24 12:02:18 +03:00
Romain Isnel 116592c42f mutt: update to 2.4.3
Fixes CVE 2026-107570.

Changelog since last version: https://gitlab.com/muttmua/mutt/-/compare/mutt-2-4-2-rel...mutt-2-4-3-rel

Signed-off-by: Romain Isnel <ri@frmg.eu>
2026-10-10 10:35:33 +03:00
Josef Schlehofer ce188c6505 exim: update to 4.100.1
Security release:
- Proxy protocol: fix an out-of-bounds read in V1 header parsing
  (GCVE-25-2026-09-50-1).
- Proxy protocol: do not use uninitialised data as the length of an
  incompletely received V2 header (GCVE-25-2026-09-55-1).
- GnuTLS: fix a use-after-free when a client closes the connection
  during session startup (GCVE-25-2026-09-51-1).
- Block more SMTP smuggling variants, extending the fixes for
  CVE-2023-51766 (GCVE-25-2026-09-56-1).

All patches apply without changes.

Link: https://code.exim.org/exim/exim/src/tag/exim-4.100.1/doc/doc-txt/ChangeLog
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-28 00:14:32 +01:00
Josef Schlehofer a983abe730 exim: add download URL for superseded releases
downloads.exim.org keeps only the current release in exim4/ and moves
older tarballs to exim4/old/. Since 4.100.1 came out, the download of
4.100 from the primary URL fails with 404 and only works through the
OpenWrt mirror.

Add exim4/old/ as a second source URL.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-28 00:14:32 +01:00
Romain Isnel 928ac2bcb5 mutt: update to 2.4.2
Changelog since last version: https://gitlab.com/muttmua/mutt/-/compare/mutt-2-1-5-rel...mutt-2-4-2-rel

Signed-off-by: Romain Isnel <ri@frmg.eu>
2026-09-05 18:39:01 +03:00
Romain Isnel 90a18faa07 msmtp: update to 1.8.34
Release note: https://marlam.de/msmtp/news/msmtp-1-8-34/

Signed-off-by: Romain Isnel <ri@frmg.eu>
2026-09-04 20:54:34 +02:00
Daniel Golle 38d078d319 exim: update to 4.100
Security release, plus one further release the same day.

4.99.5:
JH/01 Restrict named-queue names. Previously, files could be corrupted by
      poor choices of name. (GCVE-25-2026-07-45-1)

JH/02 Do not expand a local_part gotten from a .forward file, under
      force_command in a pipe transport. (GCVE-25-2026-07-45-3)

4.100: fixes a use-after-free in duplicate processing combined with
continued transport; fixes crashes after deferred local deliveries
from an uninitialised pointer, and excessive DNS lookups on temporary
errors for remote deliveries, both from a mistaken 4.99 optimisation;
fixes a memory leak in DNS lookups present since 4.95; fixes
Proxy-protocol connections evaluating host-based ACL options
(host_reject_connection, helo_verify_hosts, message_size_limit, and
others) against the proxy's own address/name instead of the real
client behind it. Also: dbm lookups no longer return tainted data by
mistake, RFC2047-encoding header size counting, DMARC for empty
envelope senders, and a number of smaller build/portability fixes.

Refreshed patches/030-openssl-deprecated.patch,
patches/100-localscan_dlopen.patch and patches/200-fix-build.patch
for context moved by the version bump. patches/100 also needed six
log_write() call sites fixed: 4.100 dropped log_write()'s leading
selector argument, so the patch's dlopen-failure diagnostics were
passing LOG_MAIN|LOG_REJECT into the format-string slot. All four
patches, including 050, now carry git am headers.

Extended patches/050-fix-crosscompile.patch: 4.100 fixed the dkim.o
partial-link rule in src/miscmods/Makefile (raw `ld -r` -> `$(LD) -r`)
but left the sibling dmarc.o/dmarc_native.o and sieve_filter.o rules
on the unqualified `ld`, which cannot parse a foreign architecture's
relocations when cross-compiling. Applied the same fix to both; these
are the only two `ld -r` sites left in the pristine 4.100 tree.

Build-verified locally for the gnutls and ldap variants on
x86_64/musl.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-24 02:30:57 +01:00
Josef Schlehofer e755a9aef2 tree-wide: remove redundant test.sh files
Generic version checks were introduced in actions-shared-workflows,
making these individual test.sh files obsolete.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-07-04 23:42:46 +03:00
Daniel Golle ea3f6dc802 exim: update to version 4.99.4
Maintenance release on the 4.99 stable series.

https://github.com/Exim/exim/blob/exim-4.99.4/doc/doc-txt/ChangeLog
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-10 21:28:20 +01:00
Daniel Golle 82d729ced2 exim: update to 4.99.3 (security release)
4.99.3 (security release):
 * Addresses EXIM-Security-2026-05-01.1: a remotely reachable
   Use-After-Free vulnerability in Exim's BDAT (binary data
   transmission) body parsing path when using the GnuTLS
   backend. This can lead to heap corruption and potential code
   execution. Affects 4.97 through 4.99.x when built with GnuTLS
   support AND with STARTTLS and CHUNKING advertised.
   Reported by xbow security.

Previous security releases folded into this bump:

4.99.2 (security release):
 * Addresses Exim-Security-2026-04.1, covering 4 CVEs:
   - CVE-2026-40684: Possible crash with malicious DNS data (musl libc)
   - CVE-2026-40685: Possible OOB read/write on corrupt JSON in header
   - CVE-2026-40686: Possible OOB read with large UTF8 trailing characters
   - CVE-2026-40687: Possible OOB read/write with SPA authenticator

4.99.1 (security release):
 * Re-incarnation of CVE-2025-26794, ports fixes from 4.98.1/4.98.2.

Link: https://exim.org/static/doc/security/EXIM-Security-2026-05-01.1/
Link: https://git.exim.org/exim.git/blob/refs/tags/exim-4.99.3:/doc/doc-txt/ChangeLog
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-14 23:13:25 +01:00
Yanase Yuki b0d8a3d384 treewide: cleanup URLs
This commit converts plain HTTP URLs to HTTPS, and updates
old or outdated URLs.

Signed-off-by: Yanase Yuki <dev@zpc.st>
2026-05-08 22:28:27 +02:00
Alexandru Ardelean 8d3c004213 treewide: set me where PKG_MAINTAINER empty
Seems a lot of packages are just getting abandoned by people.
Will pick these up and see them through.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:48:36 +03:00
Fabrice Fontaine bb47b02796 mail/bogofilter: fix PKG_CPE_ID
cpe:/a:bogofilter_project:bogofilter is the correct CPE ID for bogofilter:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:bogofilter_project:bogofilter

Fixes: 299e5b0a9b (treewide: add PKG_CPE_ID for better cvescanner coverage)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2026-03-20 15:54:46 +02:00
Fabrice Fontaine fc6cb08c64 mail/opendkim: assign PKG_CPE_ID
cpe:/a:opendkim:opendkim is the correct CPE ID for opendkim:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:opendkim:opendkim

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2026-03-15 09:21:15 +02:00
Daniel F. Dickinson 444b62cbcc mailsend: fix ssl variant to use opensssl
As described in #28261 Not compiled with OpenSSL, the SSL variant of
the mailsend package is not actually being compiled with OpenSSL.

This is due to an upstream configure check borrowed from an ancient
version of BIND, which no longer works.

As a workaround we add `-DHAVE_OPENSSL=1` to the `TARGET_CFLAGS` when
building the SSL variant.

This results in a complaint about COPTS not being honoured correctly,
but results in `mailsend` compiled with OpenSSL (i.e. works).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-02-04 07:39:56 +02:00
W. Michael Petullo 428d835cb5 sendmail: update to 8.18.2
Remove two patches no longer needed due to changes upstream.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2026-01-09 10:52:21 +01:00
Josef Schlehofer 4e86243a89 pigeonhole: update to version 0.5.21.1
Release notes:
```
v0.5.21.1 2024-08-14  Aki Tuomi <aki.tuomi@open-xchange.com>

	- sieve: When saving to local storage failed after a successful action
	  in sieve (e.g. redirect, vacation), the mail was reported as
	  successfully delivered, although it was lost locally.
```
Copy&pasted from
https://raw.githubusercontent.com/dovecot/pigeonhole/0.5.21.1/NEWS

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-01-01 15:27:12 +01:00
Josef Schlehofer 547ac2e84e pigeonhole: change package versioning
The current pigeonhole Makefile is more complex than it needs to be, with
too many unique variables and the resulting package version
is currently this one:
```
dovecot-pigeonhole_2.3.21.0.5.21-r1_aarch64_cortex-a53.ipk
```

and based on Repology [1], it looks like we are the only GNU/Linux
distribution, who includes dovecot version and pigeonhole version
together. We should not include the extra dovecot version, because
even project [2]  website does not do it except their tarball.

What we can do better is that we added and modify a little bit
EXTRA_DEPENDS, which ensures that pigenhole 0.5.21.1 will be used
for Dovecot 2.3, because of that, we can have package version as
it should be.

```
dovecot-pigeonhole_0.5.21-r1_arm_cortex-a9_vfpv3-d16.ipk
```

Because of the changed versioning, we can remove the dynamic shell
execution for version extraction.

[1] https://repology.org/project/dovecot-pigeonhole/versions
[2] https://pigeonhole.dovecot.org/download

Fixes: 6c6a40ab57 ("pigeonhole: fix runtime dependency on dovecot's ABI")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-01-01 15:27:12 +01:00
Josef Schlehofer d4f9e59a96 dovecot-pigeonhole: fix Makefile syntax to match dovecot
Use $(XARGS) variable instead of plain xargs command, consistent with
the dovecot package implementation. Remove unnecessary space in
EXTRA_DEPENDS version constraint.

Fixes failing error on buildbot:
```
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
Makefile:62: *** multiple target patterns.  Stop.
time: package/feeds/packages/pigeonhole/compile#0.52#0.42#1.15
```

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-01-01 15:27:12 +01:00
Daniel Golle aed8ca7bd9 exim: update to version 4.99
See https://code.exim.org/exim/exim/releases/tag/exim-4.99

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-12-01 22:37:41 +00:00
Josef Schlehofer ae8e14e8cd msmtp: update to version 1.8.32
Release notes:
https://marlam.de/msmtp/news/msmtp-1-8-32/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-15 07:02:47 +02:00
Josef Schlehofer c488e1297f msmtp: update to version 1.8.31
Release notes:
https://marlam.de/msmtp/news/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-01 08:44:15 +02:00
Aleksey Vasilenko d84ce3454a sendmail: fix build on hosts with Berkley DB installed
Buildbot caught an error:
  "Berkeley DB file locking needs flock() for version 5.x (and greater?)"

It is caused by leakage of host-installed Berkley DB into the build.
Since libmilter is not using the DB and because of convoluted build
process of sendmail, we do the workaround  - define a macro which
prevents the error without affecting libmilter binary.

Also change source URL from FTP to HTTPS.

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2025-09-24 01:11:42 -03:00
Aleksey VasilenkoandW. Michael Petullo 3000e1a420 sendmail: update to 8.18.1
- Fix GCC 15 build with 2 patches from Gentoo [1][2]
- Refresh existing patch
- Extend 010-enable-nonroot-install.patch to remove "-o U -g G" from
  more install targets (fixes 'invalid user buildbot' in CI)

[1]: https://github.com/gentoo/gentoo/blob/master/mail-mta/sendmail/files/sendmail-8.18.1-c23-sm_strtoll.patch
[2]: https://github.com/gentoo/gentoo/blob/master/mail-mta/sendmail/files/sendmail-8.18.1-c23-ctime.patch

Co-authored-by: W. Michael Petullo <mike@flyn.org>
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2025-09-20 23:11:51 +08:00
W. Michael Petullo ade9ad4316 sendmail: fix building as non-root user
Buildbot builds started failing with this:

[...]
install -c -o buildbot -g buildbot -m 644 ../../include/libmilter/mfapi.h /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/sendmail-8.16.1/ipkg-install/usr/include/libmilter/mfapi.h
install: invalid user 'buildbot'

Extend 010-enable-nonroot-install.patch to remove "-o U -g G" from more
install targets.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-08-17 07:33:45 +03:00
Konstantin Demin 14aed6a41b exim: adjust with glibc and libcrypt-compat
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2025-07-14 10:40:15 +02:00
Konstantin Demin 1fdedadcc4 alpine: adjust with glibc and libcrypt-compat
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2025-07-14 10:40:15 +02:00
W. Michael Petullo 12a1ede20a bogofilter: replace no-docs patch with backport of upstream commit
Bogofilter added a --disable-documentation option to configure in
response to https://gitlab.com/bogofilter/bogofilter/-/issues/17.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-06-06 23:05:09 +02:00
W. Michael Petullo ea0ccd5d15 bogofilter: update to 1.3.0.rc1
Bogofilter development has moved to gitlab.com.
Upstream list of changes is available at
https://gitlab.com/bogofilter/bogofilter/-/blob/main/bogofilter/NEWS.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-06-02 22:02:21 +03:00
Sergey Ponomarev 0e413008c8 emailrelay: Add support of build with MbedTLS
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev 0d5659690d emailrelay: move config options to Config.in
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev d5e4a8a7e7 emailrelay: update to v2.6
The emailrelay-filter-copy was removed and   --filter=copy: can be used instead.
Minor improvement of description.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev c5604731ca emailrelay: fix reference link
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev 0cba893a3d emailrelay: more options
--as-client mode.
dnsbl: to reject bad IPs.
spool_dir and delivery_dir: to set storage on USB disk.
filter: for SpamAssassin.
POP3 options.
Specify interface.
Use --forward-to-some by default.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev 7383eb093b emailrelay: conf: TLS split cert and private key
Since v2.3.1 --server-tls-certificate and --client-tls-certificate may be comma separated list of privkey and fullchain so users don't need to merge the both files.
The privkey must be firts, the cert second.
Reflect this in config samples.

Alternatively instead of comma separated the emailrelay allows just pass two --server-tls-certificate options: one for a privkey and second time for a cert.

So the server_tls_certificate option may be a list. But instead to make it easier to configure from UCI let's add a separate option server-tls-key which is dedicated for a privkey.

Similarly, the client-tls-key is a private key part for the --client-tls-certificate

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev ccd014b247 emailrelay: conf: TLS options
The server_tls/client_tls option also requires certs.

server_tls_required
server_tls_certificate
server_tls_verify
client_tls_required
client_tls_certificate
client_tls_verify

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev 996b2ec672 emailrelay: fix server_tls
The --server-tls is a boolean option and don't have an arg.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Sergey Ponomarev caa4f7f8fa emailrelay: early return if not enabled
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2025-05-21 11:08:36 +02:00
Wei-Ting Yang ae56deff2c treewide: assign some PKG_CPE_IDs
Assign some PKG_CPE_IDs to enhance CVE coverage.

https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=aardvark-dns
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=alpine_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=boringssl
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ecdsautils
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=file_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=knot_resolver
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=libwrap
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=lsof_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nfdump
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nlnetlabs%20name_server_daemon
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=rclone
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=setserial
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tang_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tesseract_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tmate-ssh-server
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ttyd
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=uw-imap
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=v2ray-core
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=zstandard

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-05-20 08:57:12 +02:00
Rosen Penev a2f30ef123 alpine: fix compilation with GCC14
Wrong function prototypes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-05-19 09:50:34 +08:00