aboutsummaryrefslogtreecommitdiff
path: root/etc/mail
Commit message (Collapse)AuthorAgeFilesLines
* misc: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. This is for the misfits that have only a few: COPYRIGHT, gnu, tools, rescue, and etc. Sponsored by: Netflix
* etc: remove leftover leading empty comments, blank linesMike Karels2023-08-221-2/+0
| | | | | | | | | Remove leftover empty leading comments/blank lines that had been spacers between $FreeBSD$ and the following content in config files in src/etc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41548
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-167-7/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sendmail: remove leftovers from mta_start_script and rc.sendmailBaptiste Daroussin2022-11-151-1/+1
| | | | | | | | | | Switch /etc/mail/Makefile to use /etc/rc.d/sendmail instead of /etc/rc.sendmail this switch should have been done 20 years ago. While here update the documentation to not refer anymore to mta_start_script Reported by: Jose Luis Duran <jlduran@gmail.com>
* pkgbase: resolve mailer.conf conflict WITHOUT_SENDMAILKyle Evans2020-06-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When WITHOUT_SENDMAIL is set, we end up with two different mailer.conf that conflict, and hilarity ensues. There's currently three different places that we might install mailer.conf: - ^/etc/Makefile (package=runtime, contingent on MK_MAIL != no) - ^/libexec/dma/dmagent/Makefile (package=dma, contingent on MK_SENDMAIL != no) - ^/usr.sbin/mailwrapper/Makefile (package=utilities, contingent on not-installed) The mailwrapper installation will effectively never happen because the ^/etc one will first. This patch simplifies the whole situation; remove the ^/etc/Makefile version and install it primarily in mailwrapper if MK_MAILWRAPPER != "no". The scenarios covered in mailwrapper are: - sendmail(8) is installed, dma(8) may or may not be installed - neither sendmail(8) nor dma(8) is installed In the first scenario, sendmail(8) is dominant so we can go ahead and install the version in ^/etc/mail. In the unlisted scenario, sendmail(8) is not installed but dma(8) is, we'll let ^/libexec/dma/dmagent do the installation. In the second listed scenario, we still want to install an example mailer.conf so just install the base sendmail(8) version. Reviewed by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D24924 Notes: svn path=/head/; revision=361720
* Add support for the authinfo mapGregory Neil Shapiro2019-02-041-3/+3
| | | | | | | Submitted by: keramida Notes: svn path=/head/; revision=343729
* Replace send-mail with the more standarized sendmail, we do not createXin LI2017-12-271-1/+0
| | | | | | | | | links for send-mail in mailwrapper so it did not work anyway. MFC after: 2 weeks Notes: svn path=/head/; revision=327236
* Add a ${CP} alias for copying files in the build.Will Andrews2015-01-161-2/+2
| | | | | | | | | | | | | | | | | Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic Notes: svn path=/head/; revision=277273
* Fix incremental builds involving non-root users with read-only source files.Will Andrews2014-09-181-2/+2
| | | | | | | | | | | | | | Makefiles should not assume that source files can be overwritten. This is the common case for Perforce source trees. This is a followup commit to r211243 in the same vein. MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: r1036319 on 2014/01/29, r1046711 on 2014/03/06 Notes: svn path=/head/; revision=271771
* Merge a number of changes required to hook up OpenBSM 1.2-alpha2'sRobert Watson2012-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | auditdistd (distributed audit daemon) to the build: - Manual cross references - Makefile for auditdistd - rc.d script, rc.conf entrie - New group and user for auditdistd; associated aliases, etc. The audit trail distribution daemon provides reliable, cryptographically protected (and sandboxed) delivery of audit tails from live clients to audit server hosts in order to both allow centralised analysis, and improve resilience in the event of client compromises: clients are not permitted to change trail contents after submission. Submitted by: pjd Sponsored by: The FreeBSD Foundation (auditdistd) Notes: svn path=/head/; revision=243752
* o Add user 'hast'.Maxim Konovalov2011-01-311-0/+1
| | | | Notes: svn path=/head/; revision=218119
* Add the URL for RFC2142Gregory Neil Shapiro2009-03-231-0/+1
| | | | | | | PR: conf/127510 Notes: svn path=/head/; revision=190304
* Use better examples (and comment them out for safety).Gregory Neil Shapiro2008-02-171-5/+12
| | | | | | | | | PR: 118837 Submitted by: Matthew Seaman MFC after: 1 week Notes: svn path=/head/; revision=176353
* Finish adding _dhcp user.Maxim Konovalov2005-06-071-0/+1
| | | | Notes: svn path=/head/; revision=147069
* Add user _pflogd.Maxim Konovalov2004-06-301-0/+1
| | | | Notes: svn path=/head/; revision=131343
* Remove trailing space.Gregory Neil Shapiro2004-06-061-1/+1
| | | | | | | Submitted by: jens Notes: svn path=/head/; revision=130157
* o Add user proxy.Maxim Konovalov2004-03-201-0/+1
| | | | Notes: svn path=/head/; revision=127234
* Bow to popular demand and default SENDMAIL_SUBMIT_MC toGregory Neil Shapiro2003-07-061-4/+13
| | | | | | | | | | | | | `hostname`.submit.mc which is templated from freebsd.submit.mc if the default file does not exist. This makes the building of the submit.cf behavior identical to that of the the sendmail.cf. PR: 44256 Submitted by: Matt Emmerton <matt@gsicomp.on.ca> MFC after: 5 days Notes: svn path=/head/; revision=117291
* Style fixes: tab after a dependency operator should be a single spaceGregory Neil Shapiro2003-07-061-16/+16
| | | | | | | | | | second level indent of tab should be four spaces Submitted by: ru MFC after: 3 days Notes: svn path=/head/; revision=117286
* xten isn't needed after tw is gone.Warner Losh2003-04-271-1/+0
| | | | | | | Approved by: re@ (scottl) Notes: svn path=/head/; revision=114115
* Fix formatting (spaces -> tab)Gregory Neil Shapiro2003-03-251-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=112573
* Allow multiple aliases files to be rebuiltGregory Neil Shapiro2003-02-081-3/+5
| | | | | | | | | PR: bin/40540 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> MFC after: 3 days Notes: svn path=/head/; revision=110576
* Add a comment regarding the use of the msgs alias with sendmail to helpGregory Neil Shapiro2003-02-081-0/+4
| | | | | | | | | users who want to enable it. PR: misc/39951 Notes: svn path=/head/; revision=110551
* Drop support for COPY, -c has been the default mode of install(1)Ruslan Ermilov2002-07-291-2/+2
| | | | | | | | | for a long time now. Approved by: bde Notes: svn path=/head/; revision=100872
* s/${INSTALL} -c/${INSTALL} ${COPY}/Ruslan Ermilov2002-07-181-2/+2
| | | | Notes: svn path=/head/; revision=100313
* Trim EOL spaces.Maxim Konovalov2002-06-301-2/+2
| | | | | | | Reviewed by: gshapiro Notes: svn path=/head/; revision=99134
* Add an alias for sshd.Maxim Konovalov2002-06-301-0/+1
| | | | Notes: svn path=/head/; revision=99133
* Add a new make.conf knob, SENDMAIL_MAP_PERMS, which specifies theGregory Neil Shapiro2002-05-241-0/+6
| | | | | | | | | | | | permissions to use for alias and map database files built by /etc/mail/Makefile. The default is 0640 to assist users in avoiding a file locking local denial of service. MFC after: 1 day pending RE approval Notes: svn path=/head/; revision=97200
* Add a warning regarding localhost-only listening daemons inside jails.Gregory Neil Shapiro2002-05-221-5/+6
| | | | | | | | | | | | | Apparently binding only to 127.0.0.1 inside of a jail actually binds to the jail IP address as well (in effect, bind to all available interfaces in the jail). Submitted by: Helge Oldach <test-smtp@oldach.net> MFC after: 1 day pending RE approval Notes: svn path=/head/; revision=97131
* Fix typo.Gregory Neil Shapiro2002-05-081-1/+1
| | | | | | | | | Submitted by: Marius Strom <marius@marius.org> MFC after: 1 day and RE approval Notes: svn path=/head/; revision=96210
* sys.mk no longer includes bsd.own.mk so I need to include it here forGregory Neil Shapiro2002-04-231-0/+3
| | | | | | | | | the definition of SHAREMODE. Submitted by: Udo Schweigert <Udo.Schweigert@siemens.com> Notes: svn path=/head/; revision=95317
* Fix up submit.cf alternation instructions in light of new SENDMAIL_SUBMIT_MCGregory Neil Shapiro2002-04-141-4/+6
| | | | | | | | | make.conf knob. MFC after: 1 week Notes: svn path=/head/; revision=94678
* Provide a new make.conf knob, SENDMAIL_SUBMIT_MC to allow users to pickGregory Neil Shapiro2002-04-141-11/+33
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=94676
* Add the missing hoststat and purgestat commands. These are normallyGregory Neil Shapiro2002-04-051-0/+2
| | | | | | | | | | | symlinks to the sendmail binary but in FreeBSD's case, they are symlinks to mailwrapper. Submitted by: tisco MFC after: 4 days Notes: svn path=/head/; revision=93858
* Quoting Peter Wemm, "At great personal risk, touch the sendmail startupGregory Neil Shapiro2002-04-051-70/+38
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=93853
* Back out last commit. (This file is installed under /etc/mail.)Ruslan Ermilov2002-04-041-2/+2
| | | | | | | Requested by: gshapiro Notes: svn path=/head/; revision=93765
* Use a relative path to contrib/sendmail/cf.Ruslan Ermilov2002-04-041-2/+2
| | | | Notes: svn path=/head/; revision=93763
* Update the /etc/mail/Makefile "start" target code to match the new startupGregory Neil Shapiro2002-03-281-4/+51
| | | | | | | | | | | logic and added a new set of targets for controlling the MSP queue runner (start-mspq, stop-mspq, and restart-mspq). Reminded by: Mark Santcroos <marks@ripe.net> MFC after: 1 week Notes: svn path=/head/; revision=93315
* Use the proper terminology.Gregory Neil Shapiro2002-03-211-2/+2
| | | | Notes: svn path=/head/; revision=92857
* Fixed a few typos.Ruslan Ermilov2002-02-271-4/+4
| | | | Notes: svn path=/head/; revision=91379
* Add information about how the new sendmail set-group-ID mail submissionGregory Neil Shapiro2002-02-171-0/+39
| | | | | | | | | works and ways to work around common problems people might have. Include information on reverting to a set-user-ID root sendmail binary in case anyone really needs to do this. Notes: svn path=/head/; revision=90807
* Don't build a submit.cf file if SENDMAIL_SET_USER_ID is setGregory Neil Shapiro2002-02-171-0/+8
| | | | Notes: svn path=/head/; revision=90806
* Grammar fix for commentGregory Neil Shapiro2001-12-301-2/+2
| | | | Notes: svn path=/head/; revision=88684
* Add aliases pointing to postmaster for the two new mail related accounts.Gregory Neil Shapiro2001-12-111-0/+2
| | | | | | | | Reminded by: sheldonh MFC after: 3 days Notes: svn path=/head/; revision=87664
* Handle the sendmail_outbound_enable knob in the start target.Gregory Neil Shapiro2001-11-201-4/+12
| | | | | | | | PR: 32033 MFC after: 3 days Notes: svn path=/head/; revision=86638
* Do not clobber users hostname.mc file if freebsd.mc changes (likely after anGregory Neil Shapiro2001-10-081-1/+1
| | | | | | | | | | installworld). Submitted by: Steve Watt <steve@Watt.COM> MFC after: 2 days Notes: svn path=/head/; revision=84684
* Revert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)Gregory Neil Shapiro2001-08-011-2/+0
| | | | | | | Problem found by: nsayer Notes: svn path=/head/; revision=80796
* If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told toGregory Neil Shapiro2001-07-231-0/+2
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=80176
* New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 whenGregory Neil Shapiro2001-07-231-2/+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 Notes: svn path=/head/; revision=80175
* Allow users to add local Makefile targets.Gregory Neil Shapiro2001-05-151-0/+5
| | | | | | | | Submitted by: dinoex MFC after: 7 days Notes: svn path=/head/; revision=76623