Commit Graph

84 Commits

Author SHA1 Message Date
Adolf Belka
cfb6d9c7fd postfix: Update to version 3.8.4 + prevent smtp smuggling
- Update from version 3.8.3 to 3.8.4
- Update of rootfile not required
- Permanent fix for smtp smuggling will be in version 3.9. However the fix has been
   backported into version 3.8.4 but with the default for the parameter of "no".
- This patch sets the defaults for all the main.cf parameters highlighted by Wietse
   Venema in http://www.postfix.org/smtp-smuggling.html
- Additionally the implementation of smtpd_forbid_bare_newline = yes has been added to
   the install.sh pak for postfix so that it will be included into any main.cf file being
   restored from backup. This parameter is available for the first time in 3.8.4 so will
   not be in any backup prior to this release and can therefore be safely applied to
   restored versions of main.cf.
- This fix in install.sh will be able to be removed when version 3.9 is released early
   in 2024 as the default for that parameter in that version onwards will then be "yes"
- Changelog
    3.8.4
	Security: with "smtpd_forbid_bare_newline = yes" (default
	 "no" for Postfix < 3.9), reply with "Error: bare <LF>
	 received" and disconnect when an SMTP client sends a line
	 ending in <LF>, violating the RFC 5321 requirement that
	 lines must end in <CR><LF>. This prevents SMTP smuggling
	 attacks that target a recipient at a Postfix server. For
	 backwards compatibility, local clients are excluded by
	 default with "smtpd_forbid_bare_newline_exclusions =
	 $mynetworks". Files: mantools/postlink, proto/postconf.proto,
	 global/mail_params.h, global/smtp_stream.c, global/smtp_stream.h,
	 smtpd/smtpd.c.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2024-01-08 10:00:02 +00:00
Adolf Belka
84a36f5fac postfix: Update to version 3.8.3
- Update from version 3.8.2 to 3.8.3
- Update of rootfile not required
- Changelog
    3.8.3
	    Bugfix (defect introduced Postfix 2.5, date 20080104): the Postfix SMTP server
	     was waiting for a client command instead of replying immediately, after a
	     client certificate verification error in TLS wrappermode. Reported by
	     Andreas Kinzler.
	    Usability: the Postfix SMTP server (finally) attempts to log the SASL username
	     after authentication failure. In Postfix logging, this appends
	     ", sasl_username=xxx" after the reason for SASL authentication failure. The
	     logging replaces an unavailable reason with "(reason unavailable)", and
	     replaces an unavailable sasl_username with "(unavailable)". Based on code by
	     Jozsef Kadlecsik.
	    Compatibility bugfix (defect introduced: Postfix 2.11, date 20130405): in
	     forward_path, the expression ${recipient_delimiter} would expand to an empty
	     string when a recipient address had no recipient delimiter. The compatibility
	     fix is to use a configured recipient delimiter value instead. Reported by
	     Tod A. Sandman.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-11-21 19:19:09 +00:00
Peter Müller
b0894a954c Postfix: Update to 3.8.2
Refer to https://www.postfix.org/announcements/postfix-3.8.2.html for
the changelog of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-10-09 08:17:11 +00:00
Peter Müller
71245ad02a Postfix: Update to 3.8.1
Please refer to https://www.postfix.org/announcements/postfix-3.8.1.html
for the release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-06-25 21:01:09 +00:00
Peter Müller
68a18ea0a9 Postfix: Update to 3.8.0
Please refer to https://www.postfix.org/announcements/postfix-3.8.0.html
for this versions' release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-24 18:58:25 +00:00
Peter Müller
309ff65ec6 Postfix: Bump package version
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-18 22:34:27 +00:00
Arne Fitzenreiter
0c3838cb40 postfix: patch for build with kernel 6.x 2023-01-08 10:08:32 +00:00
Peter Müller
e87bc0b456 Postfix: Update to 3.7.3
This is an urgent bugfix release, see
https://www.postfix.org/announcements/postfix-3.7.3.html for its
announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-18 14:38:17 +00:00
Michael Tremer
c183124f58 Bump PAK_VER for all packages that use SERVICES
Since we have extended services.cgi that it reads the Services field
from the Pakfire metadata, we will need to make sure that that metadata
is going to be on those systems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-09-15 10:43:54 +00:00
Peter Müller
43b9482a26 Postfix: Update to 3.7.2
Please refer to https://www.postfix.org/announcements/postfix-3.7.2.html
for this versions' release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-19 12:18:13 +00:00
Peter Müller
8f855e933d Postfix: Update to 3.7.1
Please refer to https://www.postfix.org/announcements/postfix-3.7.1.html
for this versions' release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-29 19:39:17 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
1af1ea5585 Postfix: Update to 3.7.0
See https://www.postfix.org/announcements/postfix-3.7.0.html for this
version's release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-03-21 11:31:28 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Robin Roevens
f15707c78c buildprocess: Add extra metadata to pak lfs files
* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 15:13:15 +00:00
Michael Tremer
8d02d167a6 postfix: Fix FTBFS with glibc 2.34
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-05 12:10:37 +00:00
Peter Müller
9a3aca047b Postfix: update to 3.6.3
Please refer to http://www.postfix.org/announcements/postfix-3.6.3.html
for this versions' release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2021-11-24 14:05:28 +00:00
Peter Müller
37aa3a110c Postfix: update to 3.6.2
Please refer to http://www.postfix.org/announcements/postfix-3.6.2.html
for this version's release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Peter Müller
f034b95156 Postfix: update to 3.6.1
This versions' release announcement can be retrieved here:
http://www.postfix.org/announcements/postfix-3.6.1.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:03:38 +00:00
Peter Müller
c5d855492e Postfix: update to 3.6.0
Please refer to http://www.postfix.org/announcements/postfix-3.6.0.html
for this versions' release announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-11 16:05:24 +00:00
Peter Müller
f90fd27a70 Postfix: update to 3.5.9
This release adds runtime detection of DNSSEC support; please refer to
http://www.postfix.org/announcements/postfix-3.5.9.html for its full
announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:37:16 +00:00
Peter Müller
79feb120a0 Postfix: update to 3.5.8
Please refer to http://www.postfix.org/announcements/postfix-3.5.8.html
for the release announcement of this version.

The second version of this patch should correctly apply against next,
while the first did not due to human error and/or lack of coffee. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-23 14:31:50 +00:00
Adolf Belka
ddad38e232 postfix: Update to 3.5.7
- Update postfix from version 3.5.6 to 3.5.7
  see ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/postfix-3.5.7.RELEASE_NOTES

Supporting request from Peter Müller
Signed-off-by: Adolf Belka<ahb@ipfire@gmail.com
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-09-17 18:52:43 +00:00
Peter Müller
10771d94ad Postfix: update to 3.5.6
Please refer to http://www.postfix.org/announcements/postfix-3.5.6.html
for release announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-18 10:19:49 +00:00
Peter Müller
454a21d8b0 Postfix: update to 3.5.4
Please refer to http://www.postfix.org/announcements/postfix-3.5.4.html
for release announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-17 17:53:14 +00:00
Peter Müller
f250bb04e2 Postfix: update to 3.5.1
Please refer to http://www.postfix.org/announcements/postfix-3.5.1.html
for further information.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-09 12:24:31 +00:00
Michael Tremer
2dc2a27803 lfs: Drop quotes in DEPS variable
Not sure why this has ever been there. This simply makes it
nicer to read and edit because we can have line-breaks now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-24 08:57:27 +00:00
Peter Müller
c8870ddc01 Postfix: update to 3.5.0
Please refer to http://www.postfix.org/announcements/postfix-3.5.0.html
for release announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-21 15:55:30 +00:00
Peter Müller
6d0a2f8b1e Postfix: update to 3.4.8
See http://www.postfix.org/announcements/postfix-3.4.8.html for release
announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-12-02 17:09:09 +00:00
Peter Müller
f3900bc44b Postfix: update to 3.4.6
See http://www.postfix.org/announcements/postfix-3.4.6.html
for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-08-20 17:36:26 +00:00
Peter Müller
f40cd26de2 Postfix: update to 3.4.5
See http://www.postfix.org/announcements/postfix-3.4.5.html for
release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-04-06 16:09:02 +01:00
Peter Müller
867151a8b2 Postfix: update to 3.4.3
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-03-13 09:35:07 +00:00
Peter Müller
e29c6d29c9 Postfix: update to 3.4.1
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-03-10 18:22:39 +00:00
Peter Müller
75936b067f Postfix: update to 3.3.2
See http://www.postfix.org/announcements/postfix-3.3.2.html for release
note. This makes Postfix TLS 1.3/OpenSSL 1.1.1a ready.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-01-23 05:41:33 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Peter Müller
f0d62e2f53 Postfix: update to 3.3.1
This updates Postfix to recent 3.3.x series, which contains
some new features. Release announcement available at
http://www.postfix.org/announcements/postfix-3.3.1.html

The third version of this patch superseds the first and
second one which were broken due to bugs in the MUAs GPG
implementation.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-08-16 18:53:48 +01:00
Peter Müller
44b507c9e9 postfix: update to 3.2.6
Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-17 18:19:59 +01:00
Michael Tremer
ca4c354e08 Bump release of all packages linked against OpenSSL
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-26 16:28:16 +00:00
Michael Tremer
4fcf8acfea postfix: Don't depend on amavis
This can be used together but there is no need to
always install amavis when someone wants to use postfix

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 11:52:07 +00:00
Michael Tremer
db116a33d6 postfix: Don't depend on MySQL any more
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 11:51:46 +00:00
Michael Tremer
abf2b05474 postfix: Don't ship our own configuration
This is outdated and half of it is not maintained any more.

Users should configure postfix themselves based on the
default configuration.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 11:50:51 +00:00
Michael Tremer
b349f4da63 postfix: Temporarily disable NIS
This makes postfix FTBFS because glibc has removed their
RPC headers.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-11 20:56:12 +00:00
Michael Tremer
2e615d2bb7 postfix: Update to 3.2.4
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-02 11:15:55 +00:00
Jonatan Schlag
06c99e6d4d postfix: move initscript to src/initscripts/packages and use new macro
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2017-02-25 15:54:55 +01:00
Michael Tremer
27957a3f2b Merge remote-tracking branch 'ms/x86_64' into next 2015-09-11 15:06:09 +01:00
Michael Tremer
837f3a96f0 postfix: Fix build on x86_64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-22 12:29:50 +02:00
Michael Tremer
982ac2f7a2 postfix: Uninstall sendmail alternative when uninstalling
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-21 09:54:20 +01:00
Alexander Marx
5267e19c3a make postfix ready for alternatives (chkconfig)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-21 09:36:13 +01:00
Arne Fitzenreiter
65712deca2 postfix: bump PAK_VER to fix link against new openssl.
fixes: #10864
2015-06-02 09:09:20 +02:00
Michael Tremer
c050a22433 postfix: Do proper configuration.
Adds LDAP support because the libs are always installed.
Disables IPv6, because IPFire 2 does not support IPv6.
The rest is cleanup stuff.
2013-06-18 16:48:31 +02:00