[BACK]Return to mailer.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

File: [cvs.NetBSD.org] / src / etc / mailer.conf (download)

Revision 1.12, Sat Feb 19 17:25:16 2005 UTC (15 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.11: +12 -8 lines

Try to explain what this file does a little bit better.

#	$NetBSD: mailer.conf,v 1.12 2005/02/19 17:25:16 perry Exp $
#
# This file configures /usr/sbin/mailwrapper, which selects the MTA
# (Mail Transport Agent) that is is invoked when programs like
# /usr/sbin/sendmail are executed.
# 
# See mailwrapper(8) and mailer.conf(5) for an explanation of how this works.
# See also rc.conf(5) and afterboot(8) for more details on setting up an MTA.
#
#
# The following configuration is correct for Sendmail
# If you want to use another mailer (postfix, exim, qmail, etc),
# replace these lines with appropriate substitutes.

sendmail	/usr/libexec/sendmail/sendmail
send-mail	/usr/libexec/sendmail/sendmail
mailq		/usr/libexec/sendmail/sendmail
newaliases	/usr/libexec/sendmail/sendmail
hoststat	/usr/libexec/sendmail/sendmail
purgestat	/usr/libexec/sendmail/sendmail

# The following (commented out) configuration is correct for Postfix.
#
# Notes for running postfix:
#  - postfix configuration requires either 
#    hostname to be a FQDN, or for $mydomain 
#    to be set in /etc/postfix/main.cf
#  - postfix does not listen on the network
#    by default; to enable inbound mail reception,
#    configure /etc/postfix/main.cf and then uncomment
#    the smtp service in /etc/postfix/master.cf
#
#sendmail	/usr/libexec/postfix/sendmail
#send-mail	/usr/libexec/postfix/sendmail
#mailq		/usr/libexec/postfix/sendmail
#newaliases	/usr/libexec/postfix/sendmail