Commit Graph

23 Commits

Author SHA256 Message Date
Dirk Stoecker
113e4ff966 Accepting request 1156371 from home:adkorte:branches:server:mail
- update to 3.9.0
  * As described in DEPRECATION_README, the SMTP server features
    "permit_naked_ip_address", "check_relay_domains", and
    "reject_maps_rbl" have been removed, after they have been logging
    a warning for some 20 years. These features now log a warning
    and return a "server configuration error" response.
  * The MySQL client no longer supports MySQL versions < 4.0. MySQL
    version 4.0 was released in 2003.
  * As covered in DEPRECATION_README, the configuration parameter
    "disable_dns_lookup" and about a dozen TLS-related parameters
    are now officially obsolete. These parameters still work, but
    the postconf command logs warnings that they will be removed
    from Postfix.
  * As covered in DEPRECATION_README, "permit_mx_backup" logs a
    warning that it will be removed from Postfix.
  * In message headers, Postfix now formats numerical days as
    two-digit days, i.e. days 1-9 have a leading zero instead of a
    leading space. This change was made because the RFC 5322 date
    and time specification recommends (i.e. SHOULD) that a single
    space be used in each place that folding white space appears.
    This change avoids a breaking change in the length of a date
    string.
  * The MySQL client default characterset is now configurable with
    the "charset" configuration file attribute. The default is
    "utf8mb4", consistent with the MySQL 8.0 built-in default, but
    different from earlier MySQL versions where the built-in default
    was "latin1".
  * Support to query MongoDB databases, contributed by Hamid Maadani,
    based on earlier code by Stephan Ferraro. See MONGODB_README
    and mongodb_table(5)
  * The RFC 3461 envelope ID is now exported in the local(8) delivery
    agent with the ENVID environment variable, and in the pipe(8)
    delivery agent with the ${envid} command-line attribute.
  * Configurable idle and retry timer settings in the mysql: and
    pgsql: clients. A shorter than default retry timer can sped up
    the recovery after error, when Postfix is configured with only
    one server in the "hosts" attribute. After the code was frozen
    for release, we have learned that Postfix can recover faster
    from some errors when the single server is specified multiple
    times in the "hosts" attribute.
  * Optional Postfix TLS support to request an RFC7250 raw public
    key instead of an X.509 public-key certificate. The configuration
    settings for raw key public support will be ignored when there
    is no raw public key support in the local TLS implementation
    (i.e. Postfix with OpenSSL versions before 3.2). See RELEASE_NOTES
    for more information.
  * Preliminary support for OpenSSL configuration files, primarily
    OpenSSL 1.1.1b and later. This introduces two new parameters
    "tls_config_file" and "tls_config_name", which can be used to
    limit collateral damage from OS distributions that crank up
    security to 11, increasing the number of plaintext email
    deliveries. Details are in the postconf(5) manpage under
    "tls_config_file" and "tls_config_name".
  * With "smtpd_forbid_unauth_pipelining = yes" (the default),
    Postfix defends against multiple "blind" SMTP attacks. This
    feature was back-ported to older stable releases but disabled
    by default.
  * With "smtpd_forbid_bare_newline = normalize" (the default)
    Postfix defends against SMTP smuggling attacks. See RELEASE_NOTES
    for details. This feature was back-ported to older stable
    releases but disabled by default.
  * Prevent outbound SMTP smuggling, where an attacker uses Postfix
    to send email containing a non-standard End-of-DATA sequence,
    to exploit inbound SMTP smuggling at a vulnerable remote SMTP
    server. With "cleanup_replace_stray_cr_lf = yes" (the default),
    the cleanup daemon replaces each stray <CR> or <LF> character
    in message content with a space character. This feature was
    back-ported to older stable releases with identical functionality.
  * The Postfix DNS client now limits the total size of DNS lookup
    results to 100 records; it drops the excess records, and logs
    a warning. This limit is 20x larger than the number of server
    addresses that the Postfix SMTP client is willing to consider
    when delivering mail, and is far below the number of records
    that could cause a tail recursion crash in dns_rr_append() as
    reported by Toshifumi Sakaguchi. This also introduces a similar
    limit on the number of DNS requests that a check_*_*_access
    restriction can make. All this was back-ported to older stable
    releases with identical functionality.
- refreshed patch:
  % postfix-no-md5.patch
- change obsoleted "disable_dns_lookups" to "smtp_dns_support_level"
  % postfix-SUSE.tar.gz
  % postfix-main.cf.patch
  % postfix-master.cf.patch

OBS-URL: https://build.opensuse.org/request/show/1156371
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=481
2024-05-14 13:19:15 +00:00
Christian Wittmer
3582bebe7f Accepting request 1143513 from home:computersalat:devel:mail
rework fix for bsc#1192173, rework SMTP Smuggling defaults, sync main.cf patches, sync changes files

OBS-URL: https://build.opensuse.org/request/show/1143513
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=472
2024-02-08 20:14:21 +00:00
07cc4efcf2 - update default configuration to enable the long-term fix for
bsc#1218304, CVE-2023-51764, SMTP smuggling attack:
  * smtpd_forbid_bare_newline = yes
  * smtpd_forbid_bare_newline_exclusions = $mynetworks

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=464
2023-12-28 07:59:42 +00:00
3cb9d1d661 Accepting request 1035682 from home:varkoly:branches:server:mail
- postfix default main.cf myhostname default causes conflict
  (bsc#1192173)
  Use the postfix build in defaults for myhostname and mydestination 

- postfix default main.cf myhostname default causes conflict
  (bsc#1192173)
  Use the postfix build in defaults for myhostname and mydestination

OBS-URL: https://build.opensuse.org/request/show/1035682
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=449
2022-12-03 07:52:41 +00:00
Christian Wittmer
95b653935f Accepting request 989467 from home:computersalat:devel:mail
Update to 3.7.2, libpcre2

OBS-URL: https://build.opensuse.org/request/show/989467
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=444
2022-08-04 10:20:32 +00:00
a24981fe02 Accepting request 975425 from home:computersalat:devel:mail
fix config.postfix 'hash' leftover with relay_recipients

OBS-URL: https://build.opensuse.org/request/show/975425
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=442
2022-05-10 08:10:05 +00:00
Peter Varkoly
6206005962 Accepting request 904453 from home:computersalat:devel:mail
add OpenDKIM handling

OBS-URL: https://build.opensuse.org/request/show/904453
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=418
2021-07-14 14:34:12 +00:00
Christian Wittmer
db7610879d Accepting request 901774 from home:computersalat:devel:mail
rework config.postfix for BackupMX and relay_recipients

OBS-URL: https://build.opensuse.org/request/show/901774
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=416
2021-06-26 12:18:59 +00:00
Michael Ströder
505c9a6190 Accepting request 896790 from home:darix:playground
This is work in progress:

Do not accept yet

How do we plan to handle the section from the RELEASE_NOTES about the internal process updates?

https://de.postfix.org/ftpmirror/official/postfix-3.6.0.RELEASE_NOTES

do we just hope that the restart will be fast enough?

OBS-URL: https://build.opensuse.org/request/show/896790
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=413
2021-06-02 10:12:35 +00:00
Peter Varkoly
9feb64fd6d - bsc#1176650 L3: What is regularly triggering the "fillup"
command and changing modify-time of /etc/sysconfig/postfix?
  o Remove miss placed fillup_only call from %verifyscript

- Remove Berkeley DB dependency (JIRA#SLE-12191)
  The pacakges postfix is build without Berkely DB support.
  lmdb will be used instead of BDB.
  The pacakges postfix-bdb is build with Berkely DB support.
  o add patch for main.cf for postfix-bdb package 
    postfix-bdb-main.cf.patch

- bsc#1176650 L3: What is regularly triggering the "fillup" 
  command and changing modify-time of /etc/sysconfig/postfix?
  o Remove miss placed fillup_only call from %verifyscript

- Remove Berkeley DB dependency (JIRA#SLE-12191)
  The pacakges postfix is build without Berkely DB support.
  lmdb will be used instead of BDB.
  The pacakges postfix-bdb is build with Berkely DB support.
  o add patch for main.cf for postfix-bdb package 
    postfix-bdb-main.cf.patch

- Update to 3.5.8
  * The Postfix SMTP client inserted <CR><LF> into message headers longer
    than $line_length_limit (default: 2048), causing all subsequent header
    content to become message body content.
  * The postscreen daemon did not save a copy of the
    postscreen_dnsbl_reply_map lookup result. This has no effect when the
    recommended texthash: look table is used, but it could result in stale
    data with other lookup tables.

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=393
2020-12-24 07:17:02 +00:00
Christian Wittmer
1ec76ae8b7 Accepting request 667333 from home:computersalat:devel:mail
rework postfix-mysql, needed for reject_unverified_recipient

OBS-URL: https://build.opensuse.org/request/show/667333
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=317
2019-01-20 22:14:18 +00:00
Christian Wittmer
ff511e1c37 Accepting request 651541 from home:computersalat:devel:mail
disable weak RC4 cipher, improve relay_domains & restriction examples

OBS-URL: https://build.opensuse.org/request/show/651541
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=312
2018-11-24 17:23:43 +00:00
Christian Wittmer
5f45aebfdb Accepting request 643762 from home:computersalat:devel:mail
update config.postfix, update main.cf patch

OBS-URL: https://build.opensuse.org/request/show/643762
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=310
2018-10-30 20:13:37 +00:00
Peter Varkoly
b9616b59b0 - bsc#1087471 Unreleased Postfix update breaks SUSE Manager
o Removing setting smtpd_sasl_path and smtpd_sasl_type to empty

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=304
2018-05-25 11:19:50 +00:00
Christian Wittmer
168e82144c Accepting request 489488 from home:computersalat:devel:mail
revert changes of postfix-main.cf.patch from rev=261

OBS-URL: https://build.opensuse.org/request/show/489488
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=265
2017-04-19 22:34:52 +00:00
Peter Varkoly
3899726842 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=261 2017-04-13 06:56:45 +00:00
Christian Wittmer
7ad041c2f4 Accepting request 451782 from home:computersalat:devel:mail
some fixes for config.postfix

OBS-URL: https://build.opensuse.org/request/show/451782
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=250
2017-01-22 00:53:48 +00:00
Christian Wittmer
f7c485bb41 Accepting request 442124 from home:computersalat:devel:mail
several improvements for config.postfix

OBS-URL: https://build.opensuse.org/request/show/442124
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=245
2016-11-26 16:56:05 +00:00
4a313bda65 Accepting request 373635 from home:varkoly:branches:server:mail
- update to 3.1.0 
- Since version 3.0 postfix supports dynamic loading of cdb:, ldap:, 
  lmdb:, mysql:, pcre:, pgsql:, sdbm:, and sqlite: database clients.
  Thats why the patches dynamic_maps.patch and dynamic_maps_pie.patch
  could be removed.
- Adapting all the patches to postfix 3.1.0
- The patch postfix-db6.diff is not more neccessary
- Backwards-compatibility safety net.
  With NEW Postfix installs, you MUST install a main.cf file with
  the setting "compatibility_level = 2". See conf/main.cf for an
  example.
  
  With UPGRADES of existing Postfix systems, you MUST NOT change the
  main.cf compatibility_level setting, nor add this setting if it
  does not exist.
  
  Several Postfix default settings have changed with Postfix 3.0.  To
  avoid massive frustration with existing Postfix installations,
  Postfix 3.0 comes with a safety net that forces Postfix to keep
  running with backwards-compatible main.cf and master.cf default
  settings. This safety net depends on the main.cf compatibility_level
  setting (default: 0). Details are in COMPATIBILITY_README.
- Major changes - tls
* [Feature 20160207] A new "postfix tls" command to quickly enable
  opportunistic TLS in the Postfix SMTP client or server, and to
  manage SMTP server keys and certificates, including certificate
  signing requests and TLSA DNS records for DANE.
* As of the middle of 2015, all supported Postfix releases no longer
  nable "export" grade ciphers for opportunistic TLS, and no longer
  use the deprecated SSLv2 and SSLv3 protocols for mandatory or

OBS-URL: https://build.opensuse.org/request/show/373635
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=232
2016-03-18 17:07:45 +00:00
Christian Wittmer
4ff5275f96 Accepting request 238955 from home:computersalat:devel:mail
fix typo in update_chroot.systemd, fix config.postfix 'insserv amavis', add some dovecot stuff to main/master.cf

OBS-URL: https://build.opensuse.org/request/show/238955
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=193
2014-06-27 23:38:12 +00:00
Peter Varkoly
2f53906b8e Accepting request 184960 from home:Andreas_Schwab:Factory
- postfix-main.cf.patch: remove duplicate entry for inet_protocols

OBS-URL: https://build.opensuse.org/request/show/184960
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=172
2013-07-30 15:24:20 +00:00
Christian Wittmer
e67e4f7083 Accepting request 179287 from home:computersalat:devel:mail
fix warnings, update vda patch

OBS-URL: https://build.opensuse.org/request/show/179287
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=170
2013-06-17 11:12:27 +00:00
Peter Varkoly
c11c23b4ca Accepting request 147975 from home:computersalat:devel:mail
rebase patches

OBS-URL: https://build.opensuse.org/request/show/147975
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=156
2013-01-14 08:34:26 +00:00