Commit Graph

325 Commits

Author SHA256 Message Date
Peter Varkoly
11a8ac6e1a - (bsc#1183305) - config.postfix uses db as suffix for postmaps
Depending on DEF_DB_TYPE uses lmdb or db

- (bsc#1182833) - /usr/share/fillup-templates/sysconfig.postfix
  still refers to /etc/services
  Use getent to detect if smtps is already defined.

- (bsc#1183305) - config.postfix uses db as suffix for postmaps
  Depending on DEF_DB_TYPE uses lmdb or db

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=408
2021-03-10 15:26:18 +00:00
Peter Varkoly
6ff4332937 - (bsc#1182833) - /usr/share/fillup-templates/sysconfig.postfix
still refers to /etc/services
  Use getent to detect if smtps is already defined.

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=407
2021-03-05 13:24:07 +00:00
Peter Varkoly
2cc20d71c0 - (bsc#1180473) [Build 20201230] postfix has invalid default config
(bsc#1181381) [Build 130.3] openQA test fails in mta, mutt - 
  postfix broken: "queue file write error" and "error: unsupported 
  dictionary type: hash"
  Export DEF_DB_TYPE before starting the perl script.
- Update to 3.5.9
- 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

- Set lmdb to be the default db.
- Convert btree tables to lmdb too. Stop postfix before converting from
  bdb to lmdb
- 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

- Set database type for address_verify_map and postscreen_cache_map
  to lmdb (btree requires Berkeley DB)

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=406
2021-02-05 17:53:11 +00:00
Peter Varkoly
c6d3532a7e - bsc#1180473 - [Build 20201230] postfix has invalid default config
Fixing config.postfix and sysconfig.postfix

- bsc#1180473 - [Build 20201230] postfix has invalid default config
  Fixing config.postfix and sysconfig.postfix

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=405
2021-01-27 15:17:30 +00:00
Michael Ströder
fe9b479dfc Accepting request 866536 from home:polslinux:branches:server:mail
- Update to 3.5.9:
  * improves the reporting of DNSSEC problems that may affect
    DANE security

OBS-URL: https://build.opensuse.org/request/show/866536
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=404
2021-01-25 10:42:59 +00:00
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