aboutsummaryrefslogtreecommitdiff
path: root/contrib/sendmail
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Merge commit '1fdae2e33fdc751bc2ec74c81fcde14323e4e965'Gregory Neil Shapiro2025-10-091-1/+1
| | | | | | | | | | Be explicit that newaliases for sendmail (Upstream sendmail.org commit 3084151d898) PR: 289259 MFC after: 1 hour (cherry picked from commit e9f7c3de111b9dda23e1763e030688d78a71d8ff)
* Merge commit '850ef5ae11d69ea3381bd310f564f025fc8caea3'Gregory Neil Shapiro2024-02-07116-2164/+6701
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge vendor sendmail 8.18.1 into HEAD (cherry picked from commit d39bd2c1388b520fcba9abed1932acacead60fba) Add new source file for sendmail 8.18.1 (cherry picked from commit 19d4fb85bf17579780e8f0c3cbae8a5e92a6922e) New sendmail 8.18.1 cf file (cherry picked from commit 1b6a5580c1f999fb1ba5f9860cf63a8aefc55b3c) Minor change to update these files so new freebsd*.cf files are generated (cherry picked from commit 2c191ba6b0b5d1b3729a5ac428d51cfc5d5f3d2e) Belatedly update version and date for sendmail 8.18.1 upgrade (cherry picked from commit 31fbc98c949bfca30ab55afef04b4396a61b7e92) Add a note about sendmail 8.18.1's stricter SMTP protocol enforcement (akin to commit 21c1f1deb6a3ac6a60e4516261e5264a28e0b7a6 in main) Update import date for stable/14 Relnotes: Yes Security: CVE-2023-51765
* Note upgrade to sendmail 8.17.1Gregory Neil Shapiro2023-02-011-2/+2
|
* sendmail 8.17.1 included this fix, though in a different location soGregory Neil Shapiro2023-01-151-5/+1
| | | | removing the FreeBSD local code in favor of the vendor branch version
* Merge commit '28fbd2825d216dafca4d991ad96d05b312f4f9a3'Gregory Neil Shapiro2023-01-15159-2918/+7656
|\ | | | | | | Merge vendor sendmail 8.17.1 into HEAD
* | rc.sendmail: remove unused scriptBaptiste Daroussin2022-11-091-2/+0
| | | | | | | | | | | | | | | | 20 years ago the use of rc.sendmail script was dropped in favor of /etc/rc.d/sendmail, it is time to retire the script entirely now. MFC after: 1 week
* | sendmail: fix auth with cyrus-sasl-2.1.28Ed Maste2022-10-261-1/+4
| | | | | | | | | | | | | | | | | | | | Apply patch extracted from sendmail-8-17.1.9 snapshot by dinoex@. PR: 262935 Reviewed by: gshapiro MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37119
* | Update commit instructions. Still more TBD as I plan out the firstGregory Neil Shapiro2022-01-301-20/+1
| | | | | | | | git-based vendor import.
* | Key decleration of union semun on src versionBrooks Davis2020-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __FreeBSD__ is defined by the compiler derived from the triple. When building FreeBSD 11 on a FreeBSD 12 with a CROSS_TOOLCHAIN=llvm10, __FreeBSD__ was set to 12 when building lib32 (for some reason no triple is being passed which seems to mean that we're taking default values from the build system). This in turn meant we end up with a double decleration of union semun which is a build error. Reviewed by: gshapiro, dim Differential Revision: https://reviews.freebsd.org/D26902 Notes: svn path=/head/; revision=367063
* | Merge sendmail 8.16.1 to HEAD: See contrib/sendmail/RELEASE_NOTES for detailsGregory Neil Shapiro2020-07-15231-4827/+12981
|\| | | | | | | | | | | | | | | | | Includes build infrastructure & config updates required for changes in 8.16.1 MFC after: 5 days Notes: svn path=/head/; revision=363233
* | Plug possible memory leaks in the previous patch.Jung-uk Kim2020-02-271-0/+2
| | | | | | | | | | | | | | | | | | Two DH_free() calls were accidentally removed. Pointyhat to: jkim Notes: svn path=/head/; revision=358413
* | Do not free p and g parameters after calling DH_set0_pqg(3).Jung-uk Kim2020-02-271-5/+13
| | | | | | | | | | | | | | | | | | It is specifically mentioned in the manual page. Note it has no functional change in reality because DH_set0_pqg() cannot fail when both p and g are not NULL. Notes: svn path=/head/; revision=358412
* | Fix style inconsistencies near our OpenSSL 1.1.x patch.Jung-uk Kim2020-02-271-13/+13
| | | | | | | | Notes: svn path=/head/; revision=358411
* | Fix a white space.Jung-uk Kim2020-02-271-1/+1
| | | | | | | | Notes: svn path=/head/; revision=358410
* | Fix broken STARTTLS when SharedMemoryKey is enabled.Hiroki Sato2020-02-271-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenSSL 1.1 API patch for sendmail had a bug which prevented sm_RSA_generate_key() function from working. This function is used to generate a temporary RSA key for a shared memory region used for TLS processing. Note that 12.0 and 12.1-RELEASE include this bug. This affects only if SM_CONF_SHM compile-time option (enabled by default) and SharedMemoryKey run-time option (not enabled by default) in a .cf file are specified. The latter corresponds to confSHARED_MEMORY_KEY in a .mc file. PR: 242861 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D23734 Notes: svn path=/head/; revision=358404
* | Fix various -Wpointer-compare warningsBrooks Davis2019-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This warning (comparing a pointer against a zero character literal rather than NULL) has existed since GCC 7.1.0, and was recently added to Clang trunk. Almost all of these are harmless, except for fwcontrol's str2node, which needs to both guard against dereferencing a NULL pointer (though in practice it appears none of the callers will ever pass one in), as well as ensure it doesn't parse the empty string as node 0 due to strtol's awkward interface. Submitted by: James Clarke <jtrc27@jrtc27.com> Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D21914 Notes: svn path=/head/; revision=353326
* | MFV r351553:Hiroki Sato2019-08-272-16/+14
|\| | | | | | | | | | | | | | | | | | | | | | | Fix a problem which prevented -OServerSSLOptions or -OClientSSLOptions specified in the command-line option from working. This patch has been accepted by the upstream. Reviewed by and discussed with: gshapiro Notes: svn path=/head/; revision=351554
* | Make sendmail work with OpenSSL 1.1 API. Taken from the ports tree.Jung-uk Kim2018-10-011-15/+70
| | | | | | | | | | | | | | | | | | https://svnweb.freebsd.org/ports/head/mail/sendmail/files/patch-tls.c?revision=466240 Requested by: gshapiro Notes: svn path=/projects/openssl111/; revision=339079
* | Revert r338773. A patch from the ports tree will be committed.Jung-uk Kim2018-10-011-121/+40
| | | | | | | | | | | | | | Requested by: gshapiro Notes: svn path=/projects/openssl111/; revision=339078
* | Make sendmail(8) buildable.Jung-uk Kim2018-09-191-40/+121
| | | | | | | | Notes: svn path=/projects/openssl111/; revision=338773
* | Don't declare union semun in userspace unless _WANT_SEMUN is defined.Brooks Davis2018-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | POSIX explicitly states that the application must declare union semun. This makes no sense, but it is what it is. This brings us into line with Linux, MacOS/Darwin, and NetBSD. In a ports exp-run a moderate number of ports fail due to a lack of approprate autotools-like discovery mechanisms or local patches. A commit to address them will follow shortly. PR: 224300, 224443 (exp-run) Reviewed by: emaste, jhb, kib Exp-run by: antoine Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14492 Notes: svn path=/head/; revision=330299
* | Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* | Remove unneeded libutil dependency for sendmail.Bryan Drewery2015-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | It included libutil.h for setproctitle(3), which was moved from libutil to libc in r65353 in 2000. Reviewed by: gshapiro [sendmail change] Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D4261 Notes: svn path=/head/; revision=291235
* | Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on newGregory Neil Shapiro2015-08-071-0/+1
| | | | | | | | | | | | | | | | | | version imports. Obtained from: garga@ Notes: svn path=/head/; revision=286400
* | Update for sendmail 8.15.2 importGregory Neil Shapiro2015-07-071-2/+2
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=285231
* | Merge sendmail 8.15.2 to HEADGregory Neil Shapiro2015-07-0776-1110/+3918
|\| | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=285229
* | An additional fix for the openssl Weak DH remediation:Gregory Neil Shapiro2015-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The import of openssl to address the FreeBSD-SA-15:10.openssl security advisory includes a change which rejects handshakes with DH parameters below 768 bits. sendmail releases prior to 8.15.2 (not yet released), defaulted to a 512 bit DH parameter setting for client connections. The first fix committed last week changed the default to 1024 bits. This commit fixes the case where the DHParameters option is set to a file which doesn't exist, which is the case on newer versions of FreeBSD which enable STARTTLS by default by auto-creating TLS certificates. MFC after: 2 days Notes: svn path=/head/; revision=284717
* | The import of openssl to address the FreeBSD-SA-15:10.openssl securityGregory Neil Shapiro2015-06-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | advisory includes a change which rejects handshakes with DH parameters below 768 bits. sendmail releases prior to 8.15.2 (not yet released), defaulted to a 512 bit DH parameter setting for client connections. This commit chages that default to 1024 bits. sendmail 8.15.2, when released well use a default of 2048 bits. MFC after: 1 day Notes: svn path=/head/; revision=284436
* | Default to turning off OpenSSL SSL_OP_TLSEXT_PADDING as it breaksGregory Neil Shapiro2015-03-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | compatibility with some sites This change comes from 8.15 but is being backported to FreeBSD releases not yet using 8.15. MFC after: 3 days Noted by: julian@ Notes: svn path=/head/; revision=280155
* | Remove build specific details from sendmail.cf/submit.cf in support ofGregory Neil Shapiro2015-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | https://wiki.freebsd.org/ReproducibleBuilds The contrib/sendmail change will be made in the upstream source for a future sendmail release. Reviewed by: des MFC after: 3 days Notes: svn path=/head/; revision=277787
* | Update for sendmail 8.14.9 importGregory Neil Shapiro2014-05-221-2/+2
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=266528
* | Merge sendmail 8.14.9 to HEADGregory Neil Shapiro2014-05-22547-584/+593
|\| | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=266527
* | Update for sendmail 8.14.8 importGregory Neil Shapiro2014-01-261-2/+2
| | | | | | | | | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=261197
* | Remove local FreeBSD workaround now that upstream project has a better fix.Gregory Neil Shapiro2014-01-261-4/+0
| | | | | | | | | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=261196
* | Merge sendmail 8.14.8 to HEADGregory Neil Shapiro2014-01-26491-1127/+1782
|\| | | | | | | | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=261194
* | Update link to vendor import instructionsGregory Neil Shapiro2014-01-261-1/+1
| | | | | | | | Notes: svn path=/head/; revision=261189
* | Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags toGregory Neil Shapiro2013-08-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | prevent problems between the resolver and Microsoft DNS servers with AAAA lookups. The upstream open source project will work on a more permanent fix for the next release. Issue noted by Pavel Timofeev. MFC after: 3 days Notes: svn path=/head/; revision=254251
* | Update for sendmail 8.14.7Gregory Neil Shapiro2013-04-211-2/+2
| | | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=249730
* | Merge sendmail 8.14.7 to HEADGregory Neil Shapiro2013-04-2144-275/+799
|\| | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=249729
* | Merge sendmail 8.14.6 errata issueGregory Neil Shapiro2013-02-181-1/+1
|\| | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=246947
* | Update import info based on recent experiences and sendmail 8.14.6 import.Gregory Neil Shapiro2012-12-291-19/+6
| | | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=244834
* | Merge sendmail 8.14.6 to HEADGregory Neil Shapiro2012-12-2936-287/+678
|\| | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=244833
* | cyrus-sasl 2.1.26 was released. In this version, the type of callbackHajimu UMEMOTO2012-11-281-7/+13
| | | | | | | | | | | | | | | | | | | | functions was changed from "unsigned long" to "size_t". Reviewed by: gshapiro MFC after: 3 days Notes: svn path=/head/; revision=243649
* | Properly define true/false when defining __bool_true_false_are_definedGregory Neil Shapiro2012-09-101-0/+2
| | | | | | | | | | | | | | | | | | | | for filters which pull in mfapi.h before stdbool.h. Issue reported by Petr Rehor, maintainer of amavisd-milter port. MFC after: 3 days Notes: svn path=/head/; revision=240292
* | Shut up warnings with Cyrus SASL 2.1.25.Hajimu UMEMOTO2011-10-013-7/+12
| | | | | | | | | | | | | | | | Spotted by: ache Tested by: ache Notes: svn path=/head/; revision=225906
* | Make Sendmail properly set login class and cpumask.Edward Tomasz Napierala2011-06-301-0/+6
| | | | | | | | Notes: svn path=/head/; revision=223701
* | Update notes regarding FreeBSD importGregory Neil Shapiro2011-06-141-2/+2
| | | | | | | | Notes: svn path=/head/; revision=223071
* | Merge sendmail 8.14.5 to HEADGregory Neil Shapiro2011-06-1443-397/+879
|\| | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=223067
* | Remove -mdoc macros from -man pageUlrich Spörlein2010-06-091-8/+3
| | | | | | | | | | | | | | | | | | Neither groff nor mandoc render these when in -man mode. This was introduced in r38083 as a local change, therefore no commit to the vendor branch. Notes: svn path=/head/; revision=208938
* | Update FreeBSD informationGregory Neil Shapiro2010-01-261-2/+2
| | | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=203006