summaryrefslogtreecommitdiffstats
path: root/etc/sendmail
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with etc/Makefile,v 1.324 -- split "install" and "distribution"ru2004-01-221-18/+13
| | | | | | | | | targets, have "distribution" always install original (as from the release media) files, whether SENDMAIL_MC is set or not. Do error handling the make(1) way. Reviewed by: gshapiro Approved by: gshapiro
* Enable IPv6 by default but make it optional so it doesn't affectgshapiro2003-12-241-3/+3
| | | | | | | | sites without IPv6. Submitted by: ume Obtained from: NetBSD MFC after: 1 week
* Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc givengshapiro2003-10-192-11/+29
| | | | | | | | | | the number of broken DNS servers out there in the world. Since we are diverging from the sendmail.org submit.mc, it's time to make our own freebsd.submit.mc. PR: conf/57733 Reviewed by: nork MFC after: 2 weeks
* Turn SENDMAIL_CF_DIR into an officially supported make.conf variablegshapiro2003-09-241-8/+9
| | | | | | | | | and use it in src/etc/sendmail/Makefile in case the user wants to use a different path to the sendmail m4 sources (e.g., sendmail port users). Submitted by: dinoex MFC after: 21 days X-MFC after: RELENG_4 code freeze ends
* Build the submit.cf file instead of installing the version that shipsgshapiro2003-09-011-4/+11
| | | | | | | | | with the vendor sendmail distribution. By doing so, we avoid mergemaster warnings after every 'make' in /etc/mail/. Reported by: Jeremy Chadwick <koitsu@parodius.com> MFC after: 3 days X-MFC after: and re approval
* Revert revision 1.25 now that mergemaster does a 'make all' to buildgshapiro2003-08-101-1/+1
| | | | | | | the required .cf file(s). Submitted by: ru X-MFC after: mergemaster MFC
* Continue trying to build SENDMAIL_CF if the user uses SENDMAIL_CFgshapiro2003-07-101-2/+5
| | | | | | | | | instead of SENDMAIL_MC but don't remove on it 'make clean' as the user may not have the original .mc file and removing it could be dangerous (e.g., make SENDMAIL_CF=/etc/mail/sendmail.cf clean). Noticed by: peter MFC after: 3 days
* Put back install/distribution dependency on the buildable .cfgshapiro2003-07-071-1/+1
| | | | | | files to get mergemaster working again. Noticed by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
* Get rid of unneeded depend targetgshapiro2003-07-061-2/+0
| | | | | Submitted by: ru MFC after: 5 days
* - Prevent buildworld from trying to write to /etc/mail/gshapiro2003-07-061-87/+48
| | | | | | | | | | | | | - Stop 'make clean' from removing SENDMAIL_CF - install and distribute targets should not attempt to build anything - SENDMAIL_ADDITIONAL_CF were not installed in the distribution case - If SENDMAIL_SET_USER_ID was defined, submit.cf was needlessly installed in the distribution case - Collapse install and distribution target into one to remove code duplication Submitted by: ru MFC after: 5 days
* Style fixes: tab after a dependency operator should be a single spacegshapiro2003-07-061-13/+13
| | | | | | | second level indent of tab should be four spaces Submitted by: ru MFC after: 3 days
* The sendmail binary now has a reasonable default for MaxMimeHeaderLengthgshapiro2003-04-181-1/+0
| | | | | | built in. No need to set it here. MFC after: 1 week
* Replace old, not-working URL for an online index of DNS blacklistkeramida2002-10-161-1/+2
| | | | | | | servers with a reference to the Google directory. Reviewed by: gshapiro MFC after: 1 week
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-13/+13
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-5/+5
|
* Change the default permissions for the sendmail statistics file to 0640gshapiro2002-05-241-1/+1
| | | | | | | | instead of 0644 to help protect users against a file locking local denial of service. MFC after: 1 day pending RE approval
* There are still many broken nameservers out there in the wild. Evengshapiro2002-05-211-0/+1
| | | | | | | | | | though I would personally prefer to see the broken nameservers fixed instead of standards compliant applications work around them, I can't force FreeBSD users to help fight that battle. Submitted by: Damon Anton Permezel <dap@damon.com> MFC after: 2 days pending RE approval
* Non-sendmail users use the FreeBSD sendmail startup functionality to startgshapiro2002-04-212-196/+0
| | | | | | | | | | | | alternative MTAs. Therefore, always install rc.sendmail, regardless of NO_SENDMAIL make.conf setting. Users can still set mta_start_script to a different script. This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to src/etc/rc.sendmail. Noticed by: Calvin NG <calvinng@brel.com> MFC after: 3 days
* Provide a new make.conf knob, SENDMAIL_SUBMIT_MC to allow users to pickgshapiro2002-04-141-6/+36
| | | | | | | | | the .mc file used for /etc/mail/submit.cf. By default, /etc/mail/freebsd.submit.mc is installed and used. Requested by: fenner Submitted by: ume MFC after: 1 week
* Add my Copyright on this file so I can allow others to use itgshapiro2002-04-121-0/+1
|
* Quoting Peter Wemm, "At great personal risk, touch the sendmail startupgshapiro2002-04-052-0/+195
| | | | | | | | | | | | | | | | | | | | | again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week
* Fix typosgshapiro2002-03-261-2/+2
| | | | Noticed by: Larry Rosenman <ler@lerctr.org>
* Removed some redundant stuff that causes compilation warnings.ru2002-03-261-5/+0
|
* Instead of dealing with the endless requests to provide more DNS basedgshapiro2002-03-221-11/+7
| | | | | | | | | black lists in the default config, give a pointer to a non-static list. I was convinced this was the right thing to do after getting a PR asking to add ORBZ the day before ORBZ went off the air. PR: conf/35884 MFC after: 4 days
* Correct a comment; FreeBSD-4 --> FreeBSD-5.markm2002-03-161-1/+1
|
* Make sure we don't remove /etc/mail/sendmail.cf on make clean since thisgshapiro2002-02-241-3/+11
| | | | | | | will break a running system during a buildworld. Noticed by: Alexandr Listopad <laa@laa.zp.ua> MFC after: 1 week
* Turn FEATURE(relay_based_on_MX) off by default. It should not be used unlessgshapiro2002-02-171-1/+5
| | | | | | | | absolutely necessary Requested by: peter PR: conf/33855 MFC after: 1 week
* Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as agshapiro2002-02-171-0/+6
| | | | | set-user-ID root binary instead of the new method (set-group-ID smmsp). Therefore, we shouldn't install /etc/mail/submit.cf if it is set.
* Update for sendmail 8.12 which has a new OSTYPE(freebsd5)gshapiro2002-02-172-3/+3
| | | | Fix access_db usage for 8.12
* Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,gshapiro2001-11-201-1/+6
| | | | | | | | installworld should install them. PR: 29928 Submitted by: wollman MFC after: 3 days
* Add missing word in comment.dd2001-09-301-2/+1
|
* Revert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)gshapiro2001-08-011-2/+0
| | | | Problem found by: nsayer
* If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told togshapiro2001-07-231-3/+9
| | | | | | | | | | | | | | | | install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an error: ===> etc/sendmail install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file *** Error code 64 Catch this in the Makefile and don't call install if the source and target are the same file. Reported by: Alexandr Listopad <laa@reis.zp.ua> MFC after: 1 week
* New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 whengshapiro2001-07-231-1/+4
| | | | | | | | | | building a .cf file from a .mc file. Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary build enables that FFR as well. PR: conf/28361 MFC after: 1 week
* MAPS is becoming a subscription (fee based) service, warn usersgshapiro2001-07-131-5/+5
| | | | | | ORBS is gone MFC after: 1 day
* Take advantage of the new OSTYPE(freebsd4) in sendmail 8.11.4gshapiro2001-05-282-3/+3
| | | | MFC after: 1 week
* Add comments regarding enabling IPv6gshapiro2001-03-021-0/+4
| | | | Submitted by: ume
* Move installation of sendmail helpfile into etc/sendmail/Makefile. It isgshapiro2001-03-011-1/+6
| | | | a user configurable file and it would benefit from mergemaster.
* Fix dependencies and cleanup spacing in the filegshapiro2001-02-281-26/+20
|
* Add a pointer to the ORBS web site for more DNS black hole lists.gshapiro2001-02-281-0/+3
|
* Fixup some of the commented out examples:gshapiro2001-02-281-5/+7
| | | | | | | | | | | | | | | | | | 1) blackholes.mail-abuse.org is the same as FEATURE(dnsbl), so specifying it in the "Other DNS based black hole lists" section leads to confusion of specifying it twice. 2) Formatting issues. If error diagnostic not enclosed in double quotes, varius visual artefacts appearse like 1) no space after ; and 2) redundant space after ? (in CGI request), so I add quotes where needed. 3) FEATURE(dnsbl) directly use error code 550 by default, so I made other dnsbl variants use the same error code too. 4) Comment relays.* list as "open relays" list, just "other" word is not explain enough. Submitted by: ache
* Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy buggshapiro2001-02-221-0/+5
| | | | | | report. It allows building multiple .cf files at build time. PR: bin/19897
* Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF asgshapiro2001-02-221-8/+32
| | | | | | | | | users should be configuring via m4 now. If set, use m4 to create the .cf file. Also, if either SENDMAIL_MC or SENDMAIL_CF is set, 'make install' or 'make distribution' in src/etc/sendmail/ will install the appropriate .cf as /etc/mail/sendmail.cf. This fixes some mergemaster problems. PR: conf/13016
* Install freebsd.mc and freebsd.cf in /etc/mail so users have the base filesgshapiro2001-02-221-1/+5
| | | | for creating their own configuration.
* Move creation of the sendmail statistics file from the usr.sbin/sendmailgshapiro2001-02-221-1/+3
| | | | | | Makefile to the etc/sendmail Makefile to be consistent with all of the other /var file creations. In doing so, change the Makefile target from etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
* Clean up freebsd.mc to make it easier for users to read and modify.gshapiro2001-02-221-19/+28
| | | | The freebsd.cf from this new freebsd.mc is functionally equivalent.
* Give some additional DNS black hole possibilities as comments.gshapiro2001-02-121-1/+3
| | | | Submitted by: clive
* Disable the SMTP EXPN and VRFY commands by default to prevent informationgshapiro2000-10-101-0/+1
| | | | | | leakage. Submitted by: Maxime Henrion <mux@qualys.com>
* Do not require a local-host-names file as this configuration file is thegshapiro2000-08-131-1/+3
| | | | | default /etc/mail/sendmail.cf installed on a fresh install. Problem noted by: Hajimu UMEMOTO <ume@mahoroba.org>
* The rest of the changes needed to support the new version of sendmail (8.11.0).gshapiro2000-08-121-2/+3
| | | | | | Beyond changes to the build system, this includes fixing up the sample freebsd.mc configuration for changes in defaults and syntax, removing outdated documentation, and updating the release notes.
OpenPOWER on IntegriCloud