Commit Graph

320 Commits

Author SHA256 Message Date
Dirk Stoecker
e72473c7cd Accepting request 861418 from home:adkorte
- Only do the conversion from the hash/btree databases to lmdb when
  the default database type changes from hash to lmdb and do not
  stop and start the service (the old compiled databases can live
  together with the new ones)
  - convert-bdb-to-lmdb.sh
- Clean up the specfile
  * Remove < 1330 conditional builds
  * Use generated postfix-files instead of the obsolete one from
    postfix-SUSE.tar.gz
  * Use dynamicmaps.cf.d instead of modifying dynamicmaps.cf upon
    (de)installation of optional mysql, pgsql and ldap subpackages
  * Use default location for post-install, postfix-tls-script,
    postfix-wrapper and postmulti-script

OBS-URL: https://build.opensuse.org/request/show/861418
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=403
2021-01-21 15:03:29 +00:00
Peter Varkoly
435c4c06fc - postfix-bdb-lmdb should provide postfix-lmdb
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=402
2021-01-20 15:19:40 +00:00
Dirk Stoecker
74bf85f0c8 Typo
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=401
2021-01-07 13:57:16 +00:00
Peter Varkoly
c09192b758 Fix changes.
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=400
2021-01-05 10:24:21 +00:00
Peter Varkoly
17ec2d520b - Set default lmd to default db.
- Convert btree tables to lmdb too. Stop postfix befor converting from
  bdb to lmdb
- This package is without bdb support. That's why convert must be done

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=399
2021-01-05 10:18:13 +00:00
Peter Varkoly
d5d7245c6d - Set default lmd to default db. Convert btree tables to lmdb too.
This package is without bdb support. That's why convert must be done
  without any suse release condition.
  o remove patch postfix-no-btree.patch
  o add set-default-db-type.patch

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=398
2021-01-04 12:20:02 +00:00
Peter Varkoly
a8b270e441 o add postfix-no-btree.patch
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=395
2020-12-26 19:44:45 +00:00
Peter Varkoly
a66dd981a8 Accepting request 858657 from home:adkorte:branches:server:mail
- Set database type for address_verify_map and postscreen_cache_map
  to lmdb (btree requires Berkeley DB)
- Set default database type to lmdb and fix update_postmaps script
- Use variable substition instead of sed to remove .db suffix and
  substitute hash: for lmdb: in /etc/postfix/master.cf as well.
  Check before substitution if there is something to do (to keep
  rpmcheck happy).

OBS-URL: https://build.opensuse.org/request/show/858657
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=394
2020-12-26 19:40:41 +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
Michael Ströder
ed575adb9f Accepting request 846985 from home:stroeder:branches:server:mail
Update to 3.5.8

OBS-URL: https://build.opensuse.org/request/show/846985
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=391
2020-11-08 21:19:25 +00:00
Michael Ströder
57935136ec correct signature file
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=389
2020-08-31 15:42:25 +00:00
Michael Ströder
5ef8204b28 satisfy the stupid OBS sig check
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=388
2020-08-31 14:51:37 +00:00
Michael Ströder
f69183f4a7 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=387 2020-08-31 14:44:37 +00:00
Michael Ströder
f00d7c1ac5 satisfy the stupid OBS sig check
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=386
2020-08-31 14:44:11 +00:00
Michael Ströder
b7e217c28d Accepting request 830829 from home:stroeder:branches:server:mail
- Update to 3.5.7
  * Fixed random certificate verification failures with
    "smtp_tls_connection_reuse = yes", because tlsproxy(8) was using
    the wrong global TLS context for connections that use DANE or
    non-DANE trust anchors.

OBS-URL: https://build.opensuse.org/request/show/830829
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=385
2020-08-31 13:38:42 +00:00
Michael Ströder
795ec68bb5 Accepting request 830023 from home:kukuk:container
- Move ldap into an own sub-package like all other databases
- Move manual pages to correct sub-package

OBS-URL: https://build.opensuse.org/request/show/830023
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=384
2020-08-27 14:36:19 +00:00
Peter Varkoly
3e9d059e37 Accepting request 828436 from home:kukuk:container
- Use sysusers.d to create system accounts
- Remove wrong %config for systemd directory content

OBS-URL: https://build.opensuse.org/request/show/828436
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=383
2020-08-21 10:07:25 +00:00
5b2b84fcec Accepting request 825043 from home:adkorte:branches:server:mail
- Use the correct signature file for source verification
- Rename postfix-3.5.6.tar.gz.sig to postfix-3.5.6.tar.gz.asc (to
  prevent confusion, as the signature file from upstream with .sig
  extension is incompatible with the build service)

Upstream provides serveral signatures for source verification.
Unfortunately, the one we need uses '.gpg2' as an extension,
so we need to rename this to an extension that is recognized
by the build service. This is handled automatically by the
.spec file when running (locally) 'osc service runall'.

Upstream also provides a signature with '.sig' extension, but
this is for an obsolete PGP format, which is not recognized
by the build service.

OBS-URL: https://build.opensuse.org/request/show/825043
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=381
2020-08-10 07:40:30 +00:00
Michael Ströder
f2b6bd2b42 Accepting request 822884 from home:stroeder:branches:server:mail
- Update to 3.5.6 with following fixes:
  * Workaround for unexpected TLS interoperability problems when Postfix
    runs on OS distributions with system-wide OpenSSL configurations.
  * Memory leaks in the Postfix TLS library, the largest one
    involving multiple kBytes per peer certificate.

OBS-URL: https://build.opensuse.org/request/show/822884
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=380
2020-07-26 22:20:03 +00:00
Michael Ströder
5c28858eed Accepting request 821361 from home:adkorte:branches:server:mail
- Add source verification (add postfix.keyring)

OBS-URL: https://build.opensuse.org/request/show/821361
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=378
2020-07-16 23:12:15 +00:00
Peter Varkoly
d74138d4eb Accepting request 818604 from home:kukuk:container
- Use systemd_ordering instead of systemd_require.
- Move /etc/postfix/system to /usr/lib/postfix/systemd [bsc#1173688]
- Drop /var/adm/SuSEconfig from %post, it does nothing.
- Rename postfix-SuSE to postfix-SUSE
- Delete postfix-SUSE/README.SuSE, company name spelled wrong, 
  completly outdated and not used.
- Delete postfix-SUSE/SPAMASSASSIN+POSTFIX.SuSE, company name
  spelled wrong, outdated and not used.
- sysconfig.mail-postfix: Fix description of MAIL_CREATE_CONFIG,
  SuSEconfig is gone since ages.
- update_chroot.systemd: Remove advice to run SuSEconfig.
- Remove rc.postfix, not used, outdated.
- mkpostfixcert: Remove advice to run SuSEconfig.

OBS-URL: https://build.opensuse.org/request/show/818604
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=376
2020-07-03 18:16:52 +00:00
Michael Ströder
70973495ce Update to 3.5.4
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=374
2020-06-29 18:45:27 +00:00
Michael Ströder
1e9396c123 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=373 2020-06-29 18:45:20 +00:00
Michael Ströder
e3a1cf7057 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=372 2020-06-29 18:43:52 +00:00
Michael Ströder
4ad237bec7 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=371 2020-06-29 18:43:28 +00:00
Dirk Stoecker
17b8818cfb Accepting request 814753 from home:stroeder:branches:server:mail
Update to 3.5.3

OBS-URL: https://build.opensuse.org/request/show/814753
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=369
2020-06-19 06:38:20 +00:00
Michael Ströder
55706286a7 Accepting request 806997 from home:stroeder:branches:server:mail
Update to 3.5.2

OBS-URL: https://build.opensuse.org/request/show/806997
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=367
2020-05-18 15:22:35 +00:00
Peter Varkoly
c9c8ca76ad Accepting request 803713 from home:adkorte
- boo#1106004 fix incorrect locations for files in postfix-files

OBS-URL: https://build.opensuse.org/request/show/803713
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=365
2020-05-12 21:05:03 +00:00
08ff5cea88 Accepting request 795485 from home:stroeder:branches:server:mail
Update to 3.5.1 fixing DNSSEC and DANE. Successfully tested on Tumbleweed x86_64 with dane-only TLS policy.

OBS-URL: https://build.opensuse.org/request/show/795485
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=363
2020-04-20 18:33:45 +00:00
Peter Varkoly
14375c8ad9 Accepting request 784676 from home:stroeder:branches:server:mail
Update to 3.4.10

OBS-URL: https://build.opensuse.org/request/show/784676
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=361
2020-03-13 15:30:49 +00:00
Peter Varkoly
087693089c - bsc#1162891 server:mail/postfix: cond_slp bug on TW after
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=359
2020-02-07 17:12:35 +00:00
Peter Varkoly
485a820975 - bsc# 1162891 server:mail/postfix: cond_slp bug on TW after
moving /etc/services to /usr/etc/services

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=358
2020-02-07 17:08:17 +00:00
Peter Varkoly
c642a9d518 - bsc#1160413 postfix fails with -fno-common
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=357
2020-02-05 12:27:52 +00:00
Peter Varkoly
a60417ac2f Accepting request 769568 from home:stroeder:branches:server:mail
Update to 3.4.9 (bug fixes)

OBS-URL: https://build.opensuse.org/request/show/769568
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=356
2020-02-03 14:23:23 +00:00
Peter Varkoly
4aa978eb77 Accepting request 751453 from home:stroeder:branches:server:mail
Update to 3.4.8

OBS-URL: https://build.opensuse.org/request/show/751453
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=354
2019-11-28 10:07:19 +00:00
Michael Ströder
0c3272c9f2 Accepting request 732522 from home:stroeder:branches:server:mail
Update to 3.4.7

OBS-URL: https://build.opensuse.org/request/show/732522
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=352
2019-09-28 18:49:14 +00:00
Peter Varkoly
f801426f8b Accepting request 732857 from home:marxin:branches:server:mail
- Backport deprecated-RES_INSECURE1.patch in order to fix
  boo#1149705.

OBS-URL: https://build.opensuse.org/request/show/732857
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=350
2019-09-25 09:37:32 +00:00
Peter Varkoly
566b0da6bd - bsc#1120757 L3: File Permissions->Paranoid can cause a system hang
Break loop if postfix has no permission in spool directory.
  - add postfix-avoid-infinit-loop-if-no-permission.patch

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=349
2019-09-19 06:21:01 +00:00
Christian Wittmer
760dae75df Accepting request 722016 from home:computersalat:devel:mail
fix for boo#1144946

OBS-URL: https://build.opensuse.org/request/show/722016
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=347
2019-08-09 15:14:53 +00:00
Peter Varkoly
9ed48dca17 - bsc#1142881 - mkpostfixcert from Postfix still uses md
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=344
2019-07-26 08:26:51 +00:00
Michael Ströder
ce8a0ea819 Accepting request 718547 from home:mgerstner:branches:server:mail
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

OBS-URL: https://build.opensuse.org/request/show/718547
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=343
2019-07-25 14:20:54 +00:00
Christian Wittmer
3a857c7776 Accepting request 717671 from home:computersalat:devel:mail
fix for: Can't connect to local MySQL server through socket '/run/mysql/mysql.sock'

OBS-URL: https://build.opensuse.org/request/show/717671
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=342
2019-07-23 13:43:33 +00:00
Michael Ströder
e34d827b7f Accepting request 713194 from home:stroeder:branches:server:mail
Update to 3.4.6

OBS-URL: https://build.opensuse.org/request/show/713194
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=340
2019-07-03 09:41:02 +00:00
Peter Varkoly
8b5ce26cd2 - Ensure that postfix is member of all groups as before.
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=338
2019-06-26 13:52:59 +00:00
Peter Varkoly
b7c235ecd7 Accepting request 711551 from home:mgoppold:mail
ensure that postfix is member of all groups as before (i.e. amavis run as milter with user vscan and postfix belong to the vscan group)

OBS-URL: https://build.opensuse.org/request/show/711551
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=337
2019-06-26 11:54:05 +00:00
Lars Vogdt
8756bb6078 Accepting request 709462 from home:dimstar:Factory
Allow OBS to pick better candidates to shorten rebuild queues

OBS-URL: https://build.opensuse.org/request/show/709462
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=335
2019-06-15 14:58:34 +00:00
Peter Varkoly
338de954d0 Accepting request 708089 from home:scarabeus_iv:branches:server:mail
- Drop the omc config fate#301838:
  * it is obsolete since SLE11

OBS-URL: https://build.opensuse.org/request/show/708089
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=333
2019-06-06 09:54:36 +00:00
Michael Ströder
25d535fa9d Accepting request 701530 from home:varkoly:branches:server:mail
- bsc#1104543 config.postfix does not start tlsmgr in master.cf
  when using POSTFIX_SMTP_TLS_CLIENT="must". Applyed the proposed
  patch.

OBS-URL: https://build.opensuse.org/request/show/701530
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=331
2019-05-14 04:36:54 +00:00
Peter Varkoly
575e5e15f9 Accepting request 690159 from home:stroeder:branches:server:mail
Update to 3.4.5

OBS-URL: https://build.opensuse.org/request/show/690159
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=329
2019-04-01 09:01:43 +00:00
Peter Varkoly
262723174e Accepting request 686001 from home:varkoly:branches:server:mail
- Update to 3.4.4
  o Incompatible changes
    - The Postfix SMTP server announces CHUNKING (BDAT
      command) by default. In the unlikely case that this breaks some
      important remote SMTP client, disable the feature as follows:
      
      /etc/postfix/main.cf:
          # The logging alternative:
          smtpd_discard_ehlo_keywords = chunking
          # The non-logging alternative:
          smtpd_discard_ehlo_keywords = chunking, silent_discard
    - This introduces a new master.cf service 'postlog'
      with type 'unix-dgram' that is used by the new postlogd(8) daemon.
      Before backing out to an older Postfix version, edit the master.cf
      file and remove the postlog entry.
    - Postfix 3.4 drops support for OpenSSL 1.0.1
    - To avoid performance loss under load, the
      tlsproxy(8) daemon now requires a zero process limit in master.cf
      (this setting is provided with the default master.cf file). By
      default, a tlsproxy(8) process will retire after several hours.
    - To set the tlsproxy process limit to zero:
      postconf -F tlsproxy/unix/process_limit=0
      postfix reload
  o Major changes 
    - Postfix SMTP server support for RFC 3030 CHUNKING
      (the BDAT command) without BINARYMIME, in both smtpd(8) and
      postscreen(8). This has no effect on Milters, smtpd_mumble_restrictions,
      and smtpd_proxy_filter. See BDAT_README for more.
    - Support for logging to file or stdout, instead of using syslog.
    - Logging to file solves a usability problem for MacOS, and

OBS-URL: https://build.opensuse.org/request/show/686001
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=328
2019-03-30 17:47:38 +00:00