SHA256
1
0
forked from pool/sendmail

271 Commits

Author SHA256 Message Date
7dc6efa47d Accepting request 1151694 from server:mail
Prepare for RPM 4.20 (forwarded request 1151482 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1151694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=123
2024-02-27 21:44:52 +00:00
878de97e78 Accepting request 1151482 from home:dimstar:rpm4.20:s
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151482
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=239
2024-02-26 13:56:31 +00:00
ddaf88ac5b Accepting request 1144171 from server:mail
- Update to version sendmail 8.18.1 2024/01/31
  * sendmail is now stricter in following the RFCs and rejects
    some invalid input with respect to line endings
    and pipelining:
    - Prevent transaction stuffing by ensuring SMTP clients
      wait for the HELO/EHLO and DATA response before sending
      further SMTP commands.  This can be disabled using
      the new srv_features option 'F'.  Issue reported by
      Yepeng Pan and Christian Rossow from CISPA Helmholtz
      Center for Information Security.
    - Accept only CRLF . CRLF as end of an SMTP message
      as required by the RFCs, which can disabled by the
      new srv_features option 'O'.
    - Do not accept a CR or LF except in the combination
      CRLF (as required by the RFCs).  These checks can
      be disabled by the new srv_features options
      'U' and 'G', respectively.  In this case it is
      suggested to use 'u2' and 'g2' instead so the server
      replaces offending bare CR or bare LF with a space.
      It is recommended to only turn these protections off
      for trusted networks due to the potential for abuse.
  * Full DANE support is available if OpenSSL versions 1.1.1 or 3.x
    are used, i.e., TLSA RR 2-x-y and 3-x-y are supported
    as required by RFC 7672.
  * OpenSSL version 3.0.x is supported.  Note: OpenSSL 3 loads by
    default an openssl.cnf file from a location specified
    in the library which may cause unwanted behaviour
    in sendmail.  Hence sendmail sets the environment
    variable OPENSSL_CONF to /etc/mail/sendmail.ossl
    to override the default.  The file name can be

OBS-URL: https://build.opensuse.org/request/show/1144171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=122
2024-02-06 15:32:53 +00:00
8defaad305 .
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=237
2024-02-05 10:11:29 +00:00
6b86618f4d Update to sendmail 8.18.1 to fix CVE-2023-51765
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=236
2024-02-05 08:59:37 +00:00
475383fb93 Accepting request 1142755 from server:mail
- Correct permisson files path to /usr/share/permissions/permissions.d/ (boo#1219339)

- Fix file provides of openssl and timeout 

- Avoid error messages of chkstat as this tools does not
  accept slashes at the end of directory paths! 
- Move sendmails permissions files to /usr/share/permissions/

- Work on certificates usage of smart and relay host 
- Work on certificates for running sendmail

OBS-URL: https://build.opensuse.org/request/show/1142755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=121
2024-02-01 17:04:25 +00:00
0dee1fe53d boo#1219339
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=234
2024-01-30 11:46:18 +00:00
bf059d795f Fix file provides of openssl and timeout
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=233
2024-01-30 08:02:10 +00:00
e0b898c1c1 Some work on certificates
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=232
2024-01-18 12:18:50 +00:00
79693416b9 Accepting request 1135112 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1135112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=120
2023-12-26 17:26:59 +00:00
d17c1cf199 var-run.mount seems to gone
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=230
2023-12-18 18:16:08 +00:00
c5ab183eed Accepting request 1094805 from server:mail
- Update to pre version sendmail 8.17.2
  * Make sure DANE checks (if enabled) are performed even if
    CACertPath or CACertFile are not set or unusable.
  * Note: if the code to set up TLS in the client fails, then
    {verify} will be set to TEMP but DANE requirements
    will be ignored, i.e., by default mail will be sent
    without STARTTLS.  This can be changed via a
    LOCAL_TLS_SERVER ruleset.
  * Pass server name to clt_features ruleset instead of client
    name to account for limitations in macro availability
    described below in CONFIG section.  This may break
    custom clt_features rulesets which expect to receive
    the client name as input.
  * Fix a regression introduced in 8.17.1: aliases file which
    contain continuation lines caused parsing errors.
  * Add an FFR (for future release) compile time option _FFR_LOG_STAGE
    to log the protocol stage as stage= for some errors during
    delivery attempts to make troubleshooting simpler.  This
    new logging may be enabled in a future release.
  * When EAI is enabled, milters also got the arguments of MAIL/RCPT
    commands in argv[0] for xxfi_envfrom()/xxfi_envrcpt()
    callbacks instead of just the mail address.
    Problem reported by Dilyan Palauzo.
  * When EAI is enabled, mailq prints UTF-8 addresses as such
    if SMTPUTF8 was used.
  * When EAI is enabled, the $h macro is now in the correct format.
    Previously this could cause wrong values for relay=
    in log entries and the mailer argument vector.
  * When the compile time option USE_EAI is enabled, vacation could
    fail to respond when it should.  Problem reported by

OBS-URL: https://build.opensuse.org/request/show/1094805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=119
2023-06-24 18:13:36 +00:00
bb23932522 Update to sendmail-8.17.2
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=228
2023-06-23 08:50:54 +00:00
ab6ac15951 Accepting request 1090230 from server:mail
- Use the bash intrinsic virtual file /dev/tcp/localhost/<port>
  to check for MTA port

- Avoid fuser for detecting if sendmail is listen on MTA port

OBS-URL: https://build.opensuse.org/request/show/1090230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=118
2023-06-02 22:06:38 +00:00
627bc30e8c Use the bash intrinsic virtual file /dev/tcp/localhost/<port> to check for MTA port
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=226
2023-06-01 09:01:52 +00:00
46364c508d Avoid fuser for detecting if sendmail is listen on MTA port
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=225
2023-05-31 12:22:32 +00:00
93a7c91a5a Accepting request 1065705 from server:mail
- Drop NIS/NISPLUS support for Tumbleweed (boo#1208221)

OBS-URL: https://build.opensuse.org/request/show/1065705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=117
2023-02-14 15:44:39 +00:00
f9a5857f92 Drop NIS/NISPLUS support for Tumbleweed
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=223
2023-02-14 10:18:54 +00:00
a31f07dcf4 Accepting request 1060641 from server:mail
- Fix source URLs: ftp.sendmail.com was restructured and the
  pub/sendmail directory is now the root directory.

- Switch over to https URLs (forwarded request 1060633 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1060641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=116
2023-01-25 16:42:35 +00:00
61faa30271 Accepting request 1060633 from home:dimstar:Factory
- Fix source URLs: ftp.sendmail.com was restructured and the
  pub/sendmail directory is now the root directory.

- Switch over to https URLs

OBS-URL: https://build.opensuse.org/request/show/1060633
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=221
2023-01-24 12:28:33 +00:00
cb7e422b7b ftp -> https
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=220
2023-01-24 12:10:55 +00:00
67ada50953 Accepting request 1059997 from home:kukuk:cleanup
- Fix wrong "without sysvinit", don't require sysvinit in that case

OBS-URL: https://build.opensuse.org/request/show/1059997
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=219
2023-01-24 12:09:25 +00:00
6804b18c5b Accepting request 1057036 from server:mail
- Migration of PAM settings to /usr/lib/pam.d. (forwarded request 1045669 from schubi2)

OBS-URL: https://build.opensuse.org/request/show/1057036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=115
2023-01-10 13:59:18 +00:00
cae08d692f Accepting request 1045669 from home:schubi2:pam_usr_etc
- Migration of PAM settings to /usr/lib/pam.d.

OBS-URL: https://build.opensuse.org/request/show/1045669
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=217
2023-01-09 10:30:00 +00:00
d6453ef766 Accepting request 1031106 from server:mail
- Remove maybe perilous shell script code from sm-client.pre (boo#1202937)

OBS-URL: https://build.opensuse.org/request/show/1031106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=114
2022-10-27 11:53:43 +00:00
d88f7e19fc boo#1202937
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=215
2022-10-25 09:34:25 +00:00
54cefd7fec Accepting request 1010237 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1010237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=113
2022-10-13 13:39:58 +00:00
0b45b01352 Accepting request 1008186 from server:mail
- Do not start sendmail-client as user mail as this one is not
  allowed to check port smtp aka 25
- Fix sm-client.pre script as ports are not only numbers but
  also alias names 

- Rework system service unit files
  * sendmail-client now use user and group mail which requires
  * /etc/mail/system/ becomes readable by all users e.g. mail
  * sendmail now uses -bD to avoid a fork, this requires Type=exec 
- Various bug fixes
- Require user and group mail for post and verify scriptlets
- Add a %ghost for /run/sendmail whic his created by
  tmpfile systemd configuration of sendmail

- Own /var/spool/mail (boo#1179574)

- Avoid older alias.db
- Avoid that sendmail can not write its pid file 
- Allow sendmail and its helper like maildrop and procmail
  to write into the users mail folder

OBS-URL: https://build.opensuse.org/request/show/1008186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=112
2022-10-10 16:43:08 +00:00
93909af698 Use group(mail) and user(mail) only on modern distributions
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=212
2022-10-05 12:25:16 +00:00
607a5972fd Fix unintentional time out for waiting on port 25 aka smtp
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=211
2022-09-16 14:13:21 +00:00
8d16789dce .
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=210
2022-09-16 13:33:23 +00:00
4c912409a6 Rework for tmpfile
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=209
2022-09-16 13:29:44 +00:00
e44988f6d8 .
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=208
2022-09-12 11:21:23 +00:00
d176d5e8d2 Accepting request 1001405 from home:lnussel:branches:server:mail
- Own /var/spool/mail (boo#1179574)

OBS-URL: https://build.opensuse.org/request/show/1001405
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=207
2022-09-12 10:55:52 +00:00
006effbfbc Allow mail spooling tinto user's home mail folder
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=206
2022-07-14 08:27:17 +00:00
ae6f0d87ca Accepting request 950458 from server:mail
- Allow mail delivery below /home again, that is disable
  "ProtectHome=read-only" for now

OBS-URL: https://build.opensuse.org/request/show/950458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=111
2022-02-03 23:45:50 +00:00
07c0900bfe Allow mail delivery below /home again
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=205
2022-02-01 14:42:52 +00:00
5767b3ad50 Accepting request 948986 from server:mail
- No snapshots

- Update to final version sendmail 8.17.1
  * Several potential memory leaks and other similar problems
    (mostly in error handling code) have been fixed.
     Problems reported by Tomas Korbar of RedHat.
- Port patches to new version
  * sendmail-8.14.7-select.dif
  * sendmail-8.17.1.dif

OBS-URL: https://build.opensuse.org/request/show/948986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=110
2022-01-27 22:16:17 +00:00
14f847876e Avoid snapshots
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=204
2022-01-25 10:14:17 +00:00
196d4c509a Update to final sendmail 8.17.1
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=203
2022-01-18 09:40:01 +00:00
f4023960ee Accepting request 932215 from server:mail
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort (forwarded request 932207 from jsegitz)

OBS-URL: https://build.opensuse.org/request/show/932215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=109
2021-11-20 21:47:49 +00:00
d00a9cfde9 Accepting request 932207 from home:jsegitz:branches:systemdhardening:server:mail
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/932207
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=202
2021-11-18 10:44:51 +00:00
aa32db155e Accepting request 906268 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/906268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=108
2021-07-18 21:44:57 +00:00
7c11deceee Require libopenssl-1_1-devel on older SLE-11
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=201
2021-07-07 09:52:59 +00:00
71492c2298 .
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=200
2021-07-05 06:47:02 +00:00
43ece18a34 Accepting request 903383 from server:mail
- Re-add 'sysvinit(network)' build dependency 

- Use %set_permissions on path /var/spool/clientmqueue/ as well (boo#1187809) 

- Update to pre version sendmail 8.17.1 (8.17.0.3)
  * Deprecation notice: due to compatibility problems with some
    third party code, we plan to finally switch from K&R
    to ANSI C. If you are using sendmail on a system
    which does not have a compiler for ANSI C contact us
    with details as soon as possible so we can determine
    how to proceed.
  * Experimental support for SMTPUTF8 (EAI, see RFC 6530-6533)
    is available when using the compile time option USE_EAI
    (see also devtools/Site/site.config.m4.sample for other
    required settings) and the cf option SMTPUTF8.
    If a mail submission via the command line requires
    the use of SMTPUTF8, e.g., because a header uses UTF-8
    encoding, but the addresses on the command line are all
    ASCII, then the new option -U must be used, and
    the cf option SMTPUTF8 must be set in submit.cf.
    Please test and provide feedback.
  * Experimental support for SMTP MTA Strict Transport Security
    (MTA-STS, see RFC 8461) is available when using
    - the compile time option _FFR_MTA_STS (which requires
      STARTTLS, MAP_REGEX, SOCKETMAP, and _FFR_TLS_ALTNAMES),
    - FEATURE(sts), which implicitly sets the cf option
      StrictTransportSecurity,
    - postfix-mta-sts-resolver, see
    https://github.com/Snawoot/postfix-mta-sts-resolver.git
  * New ruleset check_other which is called for all unknown SMTP

OBS-URL: https://build.opensuse.org/request/show/903383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sendmail?expand=0&rev=107
2021-07-02 11:26:38 +00:00
e4f5e1958e sysvinit(network)
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=199
2021-07-01 11:00:30 +00:00
9b1bbceb2c snapshots
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=198
2021-06-29 13:48:15 +00:00
375ea891c6 %set_permissions
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=197
2021-06-29 09:37:04 +00:00
61f18b9b2f tmpfiles.d
OBS-URL: https://build.opensuse.org/package/show/server:mail/sendmail?expand=0&rev=196
2021-06-25 13:38:43 +00:00