Commit Graph

263 Commits

Author SHA256 Message Date
Christian Wittmer
40a0428e0a Accepting request 657814 from home:mkraus:branches:server:mail
binary hardening: link with full RELRO

OBS-URL: https://build.opensuse.org/request/show/657814
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=315
2018-12-18 16:06:05 +00:00
Peter Varkoly
46ab450cbf Accepting request 651597 from home:stroeder:branches:server:mail
Update to 3.3.2

OBS-URL: https://build.opensuse.org/request/show/651597
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=313
2018-11-25 12:37:07 +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
e92c1ca45c - bsc#1092939 - Postfixes postconf gives a lot of LDAP related warnings
o add m4 as buildrequires, as proposed.

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=308
2018-10-04 12:55:56 +00:00
cef8bff55a Accepting request 631725 from home:scarabeus_iv:branches:server:mail
- Add zlib-devel as buildrequires, previously included from
  openssl-devel

OBS-URL: https://build.opensuse.org/request/show/631725
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=306
2018-08-28 08:16:02 +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
Peter Varkoly
d6b9d2b0c0 Accepting request 611041 from home:stroeder:branches:server:mail
- Update to 3.3.1

OBS-URL: https://build.opensuse.org/request/show/611041
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=303
2018-05-21 20:04:06 +00:00
Peter Varkoly
0265416baa Accepting request 605693 from home:lnussel:branches:server:mail
- remove pre-requirements on sysvinit(network) and sysvinit(syslog).
  There seems to be no good reason for that other than blowing up
  the dependencies (bsc#1092408).

OBS-URL: https://build.opensuse.org/request/show/605693
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=301
2018-05-10 06:43:12 +00:00
Peter Varkoly
e67757ddc9 Accepting request 594825 from home:adamm:branches:server:mail
- bsc#1071807 postfix-SuSE/config.postfix: only reload postfix
  if the actual service is running. This prevents spurious
  and irrelevant error messages in system logs.

OBS-URL: https://build.opensuse.org/request/show/594825
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=299
2018-04-09 14:56:51 +00:00
Peter Varkoly
a6245b9317 - bsc#1080772 postfix smtpd throttle getting "hello" if no sasl auth
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=298
2018-03-25 10:14:06 +00:00
Peter Varkoly
5748113448 - bsc#1082514 autoyast: postfix gets not set myhostname properly -
set to localhost

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=296
2018-03-22 14:25:30 +00:00
Peter Varkoly
96f02db6a7 Accepting request 585926 from home:13ilya:branches:server:mail
- Refresh spec-file via spec-cleaner and manual optinizations.
  * Add %license macro.
  * Set license to IPL-1.0 OR EPL-2.0.
- Update to 3.3.0
  * http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-3.3.0.RELEASE_NOTES
  * Dual license: in addition to the historical IBM Public License
    1.0, Postfix is now also distributed with the more recent Eclipse
    Public License 2.0. Recipients can choose to take the software
    under the license of their choice. Those who are more comfortable
    with the IPL can continue with that license.
  * The postconf command now warns about unknown parameter names
    in a Postfix database configuration file. As with other unknown
    parameter names, these warnings can help to find typos early.
  * Container support: Postfix 3.3 will run in the foreground with
    "postfix start-fg". This requires that Postfix multi-instance
    support is disabled (the default). To collect Postfix syslog
    information on the container's host, mount the host's /dev/log
    socket into the container, for example with "docker run -v
    /dev/log:/dev/log ...other options...", and specify a distinct
    Postfix syslog_name setting in the container (for example with
    "postconf syslog_name=the-name-here").
  * Milter support: applications can now send RET and ENVID parameters
    in SMFIR_CHGFROM (change envelope sender) requests.
  * Postfix-generated From: headers with 'full name' information
    are now formatted as "From: name <address>" by default. Specify
    "header_from_format = obsolete" to get the earlier form "From:
    address (name)".
  * Interoperability: when Postfix IPv6 and IPv4 support are both
    enabled, the Postfix SMTP client will now relax MX preferences
    and attempt to schedule similar numbers of IPv4 and IPv6
    addresses. This works around mail delivery problems when a
    destination announces lots of primary MX addresses on IPv6, but
    is reachable only over IPv4 (or vice versa). The new behavior
    is controlled with the smtp_balance_mx_inet_protocols parameter.
  * Compatibility safety net: with compatibility_level < 1, the
    Postfix SMTP server now warns for mail that would be blocked
    by the Postfix 2.10 smtpd_relay_restrictions feature, without
    blocking that mail. There still is a steady trickle of sites
    that upgrade from an earlier Postfix version.

OBS-URL: https://build.opensuse.org/request/show/585926
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=294
2018-03-13 07:02:46 +00:00
Peter Varkoly
c2cddd1e53 - bsc#1065411 Package postfix should require package system-user-nobody
- bsc#1080772 postfix smtpd throlle getting "hello" if no sasl auth
   was configured

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=292
2018-02-13 10:43:09 +00:00
04c4a8f237 Accepting request 555076 from home:dimstar:Factory
- Fix usage of fillup_only:-y is not a valid option to this macro.

fillup_only: invalid option -- 'y'
error: Unknown option y in fillup_only(dans)

Up to RPM 4.14, this was simply ignored. RPM 4.14 errors out.

OBS-URL: https://build.opensuse.org/request/show/555076
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=290
2017-12-08 08:50:52 +00:00
b7b86bea6f Accepting request 544715 from home:RBrownSUSE:branches:server:mail
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544715
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=288
2017-11-24 09:59:20 +00:00
77d8915a9e Accepting request 539853 from home:kukuk:branches:server:mail
- Don't mark postfix.service as config file, this is no config
  file.
- Some of the Requires(pre) are needed for post-install and at
  runtime, fix the requires.

OBS-URL: https://build.opensuse.org/request/show/539853
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=286
2017-11-13 09:28:31 +00:00
Peter Varkoly
787d766399 Accepting request 537545 from home:stroeder:branches:server:mail
- update to 3.2.4
  * DANE interoperability. Postfix builds with OpenSSL 1.0.0 or
    1.0.1 failed to send email to some sites with "TLSA 2 X X" DNS
    records associated with an intermediate CA certificate. Problem
    report and initial fix by Erwan Legrand.
  * Missing dynamicmaps support in the Postfix sendmail command.
    This broke authorized_submit_users settings that use a
    dynamically-loaded map type. Problem reported by Ulrich Zehl.

OBS-URL: https://build.opensuse.org/request/show/537545
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=284
2017-10-30 16:24:20 +00:00
Peter Varkoly
2c4f575ffd - bnc#1059512 L3: Postfix Problem
The applied changes breaks existing postfix configurations because
  daemon_directory was not adapted to the new value.

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=282
2017-10-20 12:32:34 +00:00
Christian Wittmer
af685a8a5f Accepting request 534110 from home:computersalat:devel:mail
fix build for SLE(nothing provides libnsl-devel)

OBS-URL: https://build.opensuse.org/request/show/534110
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=281
2017-10-15 23:10:09 +00:00
Peter Varkoly
862bfafd53 To manage multiple Postfix instances on a single host requires
that daemon_directory and shlib_directory is different to
  avoid use of the shared directories also as per-instance directories.
  For this reason daemon_directory was set to /usr/lib/postfix/bin/.
  shlib_directory stands /usr/lib/postfix/.

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=280
2017-10-11 14:01:15 +00:00
Peter Varkoly
ac95c5e1e3 - bnc#1059512 L3: Postfix Problem
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=279
2017-10-09 09:13:42 +00:00
Peter Varkoly
67ea6c4f86 * Add fix-postfix-script.patch
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=277
2017-09-29 18:46:23 +00:00
Peter Varkoly
535d279360 Accepting request 529111 from home:varkoly:branches:server:mail
- bnc#1016491 postfix raported to log "warning: group or other writable:"
   on each symlink in config.

OBS-URL: https://build.opensuse.org/request/show/529111
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=276
2017-09-28 14:24:06 +00:00
Michael Ströder
6c8f34c68d Accepting request 528692 from home:stroeder:branches:server:mail
- update to 3.2.3
 * Extension propagation was broken with "recipient_delimiter = .".
   This change reverts a change that was trying to be too clever.
 * The postqueue command would abort with a panic message after it
   experienced an output write error while listing the mail queue.
   This change restores a write error check that was lost with the
   Postfix 3.2 rewrite of the vbuf_print formatter.
 * Restored sanity checks for dynamically-specified width and precision
   in format strings (%*, %.*, and %*.*). These checks were lost with
   the Postfix 3.2 rewrite of the vbuf_print formatter.

OBS-URL: https://build.opensuse.org/request/show/528692
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=275
2017-09-25 17:08:25 +00:00
a9109da5eb Accepting request 517521 from home:kukuk:branches:server:mail
- Add libnsl-devel build requires for glibc obsoleting libnsl

OBS-URL: https://build.opensuse.org/request/show/517521
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=273
2017-09-05 07:39:34 +00:00
Peter Varkoly
a9d55c3f30 - bnc#1045264 L3: postmap problem
* Applying proposed patch of leen.meyer@ziggo.nl in bnc#771811

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=271
2017-07-27 10:42:02 +00:00
Michael Ströder
d5c96b9845 Accepting request 504271 from home:stroeder:branches:server:mail
update to upstream release 3.2.2

OBS-URL: https://build.opensuse.org/request/show/504271
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=269
2017-06-16 18:01:12 +00:00
Matthias Mailänder
ceed4ac90b OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=267 2017-05-25 15:01:48 +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
Dr. Werner Fink
6b265ae5e9 .
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=263
2017-04-13 09:36:49 +00:00
Dr. Werner Fink
0f9fd20b85 some smaller fixes
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=262
2017-04-13 09:23:37 +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
Peter Varkoly
1ca4ad7ebb - bnc#830818 - yast2-mail does not set amavis configuration correctly
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=260
2017-04-09 18:32:47 +00:00
Christian Wittmer
6e63b0e03a Accepting request 486859 from home:computersalat:devel:mail
update postfix-master.cf.patch: recover lost submission, smtps sections

OBS-URL: https://build.opensuse.org/request/show/486859
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=259
2017-04-08 22:23:20 +00:00
b2d3bb7fd7 Accepting request 481462 from home:kukuk:sysusers
- Require system group mail
- Use mail group name instead of GID

OBS-URL: https://build.opensuse.org/request/show/481462
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=257
2017-03-21 16:17:14 +00:00
Peter Varkoly
9d961d0071 Accepting request 477732 from home:darix:playground
- update to 3.2.0
- refresh postfix-master.cf.patch

OBS-URL: https://build.opensuse.org/request/show/477732
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=255
2017-03-08 19:37:21 +00:00
Peter Varkoly
dfac6ec4c2 Accepting request 477282 from home:wrosenauer:devel
Current Postfix breaks other packages' builds if they are relying on a working postfix configuration in buildroot (e.g. mailman).
Postfix tries to add users and groups w/o the proper requires.
I've converted the current lines with the ones documented currently here:
https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups

OBS-URL: https://build.opensuse.org/request/show/477282
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=254
2017-03-06 18:50:16 +00:00
Peter Varkoly
b6f400e587 Accepting request 458874 from home:kukuk:branches:server:mail
- Fix requires:
  - shadow is needed for postfix-mysql pre-install section
  - insserv is not needed if systemd is used

OBS-URL: https://build.opensuse.org/request/show/458874
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=252
2017-02-20 10:00:51 +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
6a2a6aa883 Accepting request 449692 from home:varkoly:branches:server:mail
- FATE#322322 Update postfix to version 3.X
  Merging changes with SLES12-SP2
  Removeved patches: add_missed_library.patch bnc#947707.diff dynamic_maps.patch postfix-db6.diff
    postfix-opensslconfig.patch bnc#947519.diff dynamic_maps_pie.patch
    postfix-linux45.patch postfix-post-install.patch
    These are included in the new version of postfix
- Remove references to SuSEconfig.postfix from sysconfig docs.
  (bsc#871575)
- bnc#947519 SuSEconfig.postfix should enforce umask 022
- bnc#947707 mail generated by Amavis being prevented from being re-adressed by /etc/postfix/virtual
- bnc#972346 /usr/sbin/SuSEconfig.postfix is wrong

OBS-URL: https://build.opensuse.org/request/show/449692
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=248
2017-01-12 20:20:32 +00:00
Michael Ströder
8c2b0e7094 Accepting request 448623 from home:varkoly:branches:server:mail
- update to 3.1.4 
  * The postscreen daemon did not merge the client test status information
    for concurrent sessions from the same IP address.
  * The Postfix SMTP server falsely rejected a sender address when validating
    a sender address with "smtpd_reject_unlisted_recipient = yes" or with
    "reject_unlisted_sender". Cause: the address validation code did not query sender_canonical_maps.
  * The virtual delivery agent did not detect failure to skip to the end
    of a mailbox file, so that mail would be delivered to the beginning of the file.
    This could happen when a mailbox file was already larger than the virtual mailbox size limit.
  * The postsuper logged an incorrect rename operation count after creating a missing directory.
  * The Postfix SMTP server falsely rejected mail when a sender-dependent "error"
    transport was configured. Cause: the SMTP server address validation code
    was not updated when the sender_dependent_default_transport_maps feature
    was introduced.
  * The Postfix SMTP server falsely rejected an SMTPUTF8 sender address, when "smtpd_delay_reject = no".
  * The "postfix tls deploy-server-cert" command used the wrong certificate
    and key file. This was caused by a cut-and-paste error in the postfix-tls-script file.

OBS-URL: https://build.opensuse.org/request/show/448623
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=247
2017-01-03 16:59:26 +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
Matthias Mailänder
d307e1ddc9 Accepting request 434065 from home:stroeder:branches:server:mail
update to 3.1.3 (successfully tested)

OBS-URL: https://build.opensuse.org/request/show/434065
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=243
2016-10-10 19:42:25 +00:00
7820cd9411 Accepting request 424712 from home:stroeder:branches:server:mail
update to 3.1.2

OBS-URL: https://build.opensuse.org/request/show/424712
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=241
2016-09-07 08:46:19 +00:00
86bdca5aad Accepting request 399666 from home:Andreas_Schwab:Factory
- postfix-post-install.patch: remove empty patch

OBS-URL: https://build.opensuse.org/request/show/399666
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=239
2016-06-19 21:20:47 +00:00
Christian Wittmer
aa98e2cd5b Accepting request 398783 from home:computersalat:devel:mail
fix ChangeLog

OBS-URL: https://build.opensuse.org/request/show/398783
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=237
2016-05-29 16:50:38 +00:00
Christian Wittmer
0583b1476c Accepting request 397714 from home:varkoly:branches:server:mail
- Fix typo in config.postfix

OBS-URL: https://build.opensuse.org/request/show/397714
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=236
2016-05-29 16:24:32 +00:00
f31762c30a Accepting request 397601 from home:varkoly:branches:server:mail
- bnc#981097 config.postfix creates broken main.cf for tls client configuration 
- bnc#981099 /etc/sysconfig/postfix: POSTFIX_SMTP_TLS_CLIENT incomplete
- update to 3.1.1:
- The new address_verify_pending_request_limit
  parameter introduces a safety limit for the number of address
  verification probes in the active queue.  The default limit is 1/4
  of the active queue maximum size. The queue manager enforces the
  limit by tempfailing probe messages that exceed the limit. This
  design avoids dependencies on global counters that get out of sync
  after a process or system crash.
- Machine-readable, JSON-formatted queue listing with "postqueue -j"
  (no "mailq" equivalent). 
- The milter_macro_defaults feature provides an optional list of macro
  name=value pairs. These specify default values for Milter macros when
  no value is available from the SMTP session context.
- Support to enforce a destination-independent delay between email
  deliveries.  The following example inserts 20 seconds of delay
  between all deliveries with the SMTP transport, limiting the delivery
  rate to at most three messages per minute.
      smtp_transport_rate_delay = 20s  
- Historically, the default setting "postscreen_dnsbl_ttl = 1h" assumes
  that a "not found" result from a DNSBL server will be valid for one
  hour.  This may have been adequate five years ago when postscreen
  was first implemented, but nowadays, that one hour can result in
  missed opportunities to block new spambots. 
  To address this, postscreen now respects the TTL of DNSBL "not
  found" replies, as well as the TTL of DNSWL replies (both "found"
  and "not found").  The TTL for a "not found" reply is determined
  according to RFC 2308 (the TTL of an SOA record in the reply).
  Support for DNSBL or DNSWL reply TTL values is controlled by two

OBS-URL: https://build.opensuse.org/request/show/397601
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=235
2016-05-24 04:57:19 +00:00
2f91f25eeb Accepting request 390633 from home:dstoecker
Option "smtputf8_enable" does not work properly with current build. This patch fixes the issue.

OBS-URL: https://build.opensuse.org/request/show/390633
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=234
2016-04-21 11:02:22 +00:00