- imported a set of bug fixes as suggested. - improved manpages a bit. - some MILTER improvements. Submitted by: gshapiroc2a6bac90d
sendmail -- race condition vulnerabilityentered 2006-03-24
Reliable, highly configurable mail transfer agent with utilities
# pkg install sendmailinstalls 8.18.2_1 from latest; from quarterly (2026Q4) 8.18.2_1# cd /usr/ports/mail/sendmail && make install clean# make -C /usr/ports/mail/sendmail config # change options first
smmsp, group smmspyou should add in /etc/make.conf: SENDMAIL_CF_DIR= /usr/local/share/sendmail/cf To deliver all local mail to your mailhub, edit the last line of submit.mc: FEATURE(`msp','[mailhub.do.main]`)dnl To update your configuration look at /usr/local/share/sendmail/cf/README. --------------------------------------------------- To use the binaries supplied by the port you should add the following lines to your sendmail.mc file before any mailer or feature definition: define(`confEBINDIR', `/usr/local/libexec')dnl define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl --------------------------------------------------- To activate sendmail as your default mailer, run: $ cd /usr/local/etc/mail && cp mailer.conf.sendmail mailer.conf Your '/usr/local/etc/mail/mailer.conf' should look like this: # # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail # sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail hoststat /usr/local/sbin/sendmail purgestat /usr/local/sbin/sendmail You may also need to update /etc/rc.conf.
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 8.18.2_1 | 8.18.2_1 | – |
| FreeBSD 15 | 8.18.2_1 | 8.18.2_1 | – |
| FreeBSD 14 | 8.18.2_1 | 8.18.2_1 | 8.18.2_1 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 8.18.2_1 | 8.18.2_1 | – |
| FreeBSD 14 | 8.18.2_1 | 8.18.2_1 | 8.18.2_1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
pkg audit for the packaged version 8.18.2_1.- imported a set of bug fixes as suggested. - improved manpages a bit. - some MILTER improvements. Submitted by: gshapiroc2a6bac90d
update target mailer.conf, to change the new entries too.7ac4376078
Suppressed warning from shell.02361d2f05
- Update to new release: sendmail-8.12.3 - Patches removed that are now in the distribution - More MILTER dokumentation - sm-client.sh.sample have now 'restart' command. - Add standalone startupscript for all sendmail deamons - Update pkg-message This version fixes a long-standing MIME (7 to 8-bit) conversion bug and several smaller problems, e.g., a possible communication problem between the MTA and libmilter, a bug in handling (invalid) addresses containing 8-bit characters, a possible problem with small timeouts being lost on slow machines if itimers are used, and the handling of the 421 reply code and timeouts in the SMTP delivery code. There are two changes in the msp feature that may change the behavior: MX lookups are turned on for the SMTP mailers and hence `[localhost]' is used as default instead of `localhost', and confTIME_ZONE is set to USE_TZ in submit.mc. A complete list of changes can be found in the release notes.b26e4e183b
- Update noattach to 1.0beta11 - syncronize sample startup-scripts PR: 36005 Submitted by: oli@amun.isnic.iscfecb977d8
- define PICKY_HELO_CHECK as default9d72171169
BUMP portrevision Add patches: ----- MEDIUM ----- mikea@kconline.com: Sendmail 8.12.x has an implementation bug in the milter code that causes the milter daemons to fail when they are bombarded with 20-30 messages from a mail server. mail sendmail[82323]: g1N53lNY082323: Milter (milter-amavis): select(read): Interrupted system call The patch available at the link above definitely fixes the Milter timeout problem. Before applying the patch, I would see this every 5 to 15 minutes in our logs. here hasn't been another one since I applied the patch 5 hours ago. ----- LOW ----- dionex@freebsd.org: Fix SafeFileEnv, it won't work if configured up with a trailing '/' ----- PR: 35363 Submitted by: mikea@kconline.com,dinoex5f11dc60c5
- Build milter with -D_THREAD_SAFE - Use PTHREAD_LIBS, so build under CURRENT should use -lc_r Submitted by: gshapiro9329fd34a9
Bump PORTREVISION for latest libmilter changes60cc39498d
Mikhail Teterin: A little milter application I installed (spamassassin related) was hanging every once in a while. I'm not sure if this patch will fix it, but it sure seems like the right step to take. Without it, the libmilter sources are compiled without the -pthread, even though the library is linked with -pthread (rather needlessly, since it is a static lib only). Submitted by: mi1872f119c5
- Change SENDMAIL_WIT_MILTER to SENDMAIL_WITHOUT_MILTER MILTER is build by default in any case now, previosly only when defined in "BATCH". - Add CFLAGS awareness to build, Submitted by: mi P:788746e7ca
- Add html-docs when made with SENDMAIL_WITH_MILTER=yes75ac461139
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.897d06aa97- Add conf_libsm_LIBS for option SENDMAIL_WITH_LDAP the base lib needs now ldap_err2string too.11ea5682e9
- Update to sendmail-8.12.256cf43809d
- make portlint happier - use DOCSDIR or EXAMPLESDIR - get rid of some INTERACTIVE scrips in news/ifmail2025ba84ee
- Fix a missing $ condition in the default Received:-header Submitted by: freebsd@BuggerIT.com.au (Taras M. Dowhaluk)f84ba5a386
fix spelling20195c03a2
improved pkg-message Thanks to Stephane.Lentz@ansf.alcatel.fr608ce54ae3
- use ${INSTALL_SCRIPT} for samples in ${PREFIX}/etc/rc.d/4ba91b59c4Install the Operarion Manual as share/doc/sendmail/op.ps19002eec46
Add more includes and libs to Option MILTER +include/libmilter/mfdef.h +lib/libsm.a +lib/libsmdb.ac1dd86b94f
group smmsp was reconverted to wheeel after pkg_add, fixed.9facb69137
Remove user only if uid matches, so a user in the bas system won't be deleted. Remove double deletion of docdir.d8ec51ebaa
- Option MILTER fixed. - Allow to build without milter-support24f64fc37d
- Add senndmail-old as module - reserve UID 90 for sendmail client queuefd751f1110
- Update to sendmail 8.12.1 This ports will creates a new user and group named smmsp. Setting up the serer and client queues. You need to create an "sumbit.cf" for local submission.9c724bfe99
remove empty dir: share/doc/sendmail3477ac9a45
- Add a patch for some nameserver problems sendmail 8.11.6, failing DNS AAAA lookups Has been mentioned on freebsd-stable Subject: something strange with sendmail 8.11.6 on FreeBSD Submitted by: gshapiro@freebsd.org240b393ed3
Urgent Update to 8.11.6: Sendmail, Inc., and the Sendmail Consortium announce the availability of sendmail 8.11.6 and 8.12.0.Beta19. These new versions fix a security problem reported by SecurityFocus regarding command line processing. This vulnerability is present in sendmail open source versions between 8.10.0 and 8.11.5 as well as all 8.12.0.Beta versions. Therefore, sendmail 8.12.0.Beta users should upgrade to 8.12.0.Beta19. The problem was not present in 8.10 or earlier versions. However, as always, we recommend using the latest version. Note that this problem is not remotely exploitable.af01a1bc5f
- Removed FreeBSD Tag from manpage94ce6cf63d
- clean patches from unnessary tags Submitted by: gshapiro@freebsd.org (Gregory Neil Shapiro)00824b0241
- Update to 8.11.5
Fix a possible race condition when sending a HUP signal to restart
the daemon. This could terminate the current process without
starting a new daemon. Problem reported by Wolfgang Breyha
of SE Netway Communications.
Only apply MaxHeadersLength when receiving a message via SMTP or
the command line. Problem noted by Andrey J. Melnikoff.
When finding the system's local hostname on an IPv6-enabled system
which doesn't have any IPv6 interface addresses, fall back
to looking up only IPv4 addresses. Problem noted by Tim
Bosserman of EarthLink.
When commands were being rejected due to check_relay or TCP
Wrappers, the ETRN command was not giving a response.
Incoming IPv4 connections on a Family=inet6 daemon (using
IPv4-mapped addresses) were incorrectly labeled as "may be
forged". Problem noted by Per Steinar Iversen of Oslo
University College.
Shutdown address test mode cleanly on SIGTERM. Problem noted by
Greg King of the OAO Corporation.
Restore the original real uid (changed in main() to prevent
out of band signals) before invoking a delivery agent.
Some delivery agents use this for the "From " envelope
"header". Problem noted by Leslie Carroll of the
University at Albany.
Mark closed file descriptors properly to avoid reuse. Problem
noted by Jeff Bronson of J.D. Bronson, Inc.
Setting Timeout options on the command line will also override
their sub-suboptions in the .cf file, e.g., -O
Timeout.queuereturn=2d will set all queuereturn timeouts
to 2 days. Problem noted by Roger B.A. Klorese.
CONFIG: Fix parsing for IPv6 domain literals in addresses
(user@[IPv6:address]). Problem noted by Liyuan Zhou.4fa663ae20- generate comment in sendmail.cf with standard date - apply an extension to the vacation manpage85b38a1001
change MAINTAINER to FreeBSD.org address385c248462
Sendmail: - Save more documentation in %%PREFIX%%/share/doc/sendmail - Update Sendmail package, only libmilter will be installed. - Bump PORTREVISION - Cleanup configuration, reduced overhead in "site.config.m4" files - New option SENDMAIL_WITHOUT_IPV6=yes - Use global WITH_TLS as well as SENDMAIL_WITH_TLS - New slave ports: sendmail-sasl, sendmail-ldap - vbsfilter now build a packaged7eb63a9e1
- Make full featured package, ordered PKGNAMESUFFIX6ff3f45ac6
- Store documentation in ${PREFIX}/share/doc/sendmail: KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES MILTER46a0dc2f7badd Japanese mirror to MASTER_SITES.418424d95d
- Update to Sendmail 8.11.4, possible race condition. - Added PKGNAMESUFFIX - removed patch for IPV6, fixed in Release0b3686cdb7
- Changed dependency of cyrus-sasl to lib-depends, user package will register this now.77c5bc1b6f
- Change Order of Options,hope its better readable now. - LDAP Support shall work in old and new versions now.644a4ebe1d
New patch: The socket was IPv6, but the bind used an IPv4 sockaddr struct. Submitted by: Sean Farley <sean-freebsd@farley.org>dacabbc8d5
- Option to add LDAP Support - Cleanup dublicate labels - Allow to build a package manually. Submitted by: phantom@ark.cris.net (Alexey Zelkin)3e48e0246d
extra Whitespaces removed21dfb27757
Fixed package list for option milter, port still marked "NO_PACKAGE", so no PORTREVISION needed.de3cf9242c
- Listed an overview of options - Added support for optional configuraion in files/site.config.m4.localff1aa7cfc6
sendmail -- TLS/SASL/SFIO enhancement: This is a diff to the current port that implements SFIO and SASL options support in addition to TLS. It makes the sendmail port conform more closely to the available documentation for such security enhancements. ken@nova.org - renamed option from SENDMAIL_WITH_TSL to SENDMAIL_WITH_TLS - new option SENDMAIL_WITH_SFIO - fixed bug in site.config.m4.sasl PR: 25661 Submitted by: ken@nova.orgec702c06b2
- Update to new release 8.11.3 - filters has been removed, will reappear in a seperate port - install additional headers and libs for SENDMAIL_WITH_MILTER=yes - pkh-commed reduced to make portlint happy Reviewed by: gshapirobe24244bf1
SENDMAIL_WITH_MILTER support sample filter is build. GPL attachmentfilter ist build.75a197a7a1