2005-02-19 20:25:16 +03:00
|
|
|
# $NetBSD: mailer.conf,v 1.12 2005/02/19 17:25:16 perry Exp $
|
1998-12-26 01:11:49 +03:00
|
|
|
#
|
2005-02-19 20:25:16 +03:00
|
|
|
# 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.
|
1998-12-26 01:11:49 +03:00
|
|
|
#
|
2004-07-22 07:44:12 +04:00
|
|
|
#
|
2005-02-19 20:25:16 +03:00
|
|
|
# The following configuration is correct for Sendmail
|
|
|
|
# If you want to use another mailer (postfix, exim, qmail, etc),
|
|
|
|
# replace these lines with appropriate substitutes.
|
|
|
|
|
2003-03-21 02:09:56 +03:00
|
|
|
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
|
2002-10-17 19:41:54 +04:00
|
|
|
|
2005-02-19 20:25:16 +03:00
|
|
|
# The following (commented out) configuration is correct for Postfix.
|
2002-10-17 19:41:54 +04:00
|
|
|
#
|
2004-03-27 03:07:48 +03:00
|
|
|
# Notes for running postfix:
|
2004-03-27 02:54:29 +03:00
|
|
|
# - postfix configuration requires either
|
|
|
|
# hostname to be a FQDN, or for $mydomain
|
|
|
|
# to be set in /etc/postfix/main.cf
|
2004-03-27 03:07:48 +03:00
|
|
|
# - 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
|
2004-03-27 02:54:29 +03:00
|
|
|
#
|
2002-10-17 19:41:54 +04:00
|
|
|
#sendmail /usr/libexec/postfix/sendmail
|
2002-12-01 14:36:53 +03:00
|
|
|
#send-mail /usr/libexec/postfix/sendmail
|
2002-10-17 19:41:54 +04:00
|
|
|
#mailq /usr/libexec/postfix/sendmail
|
|
|
|
#newaliases /usr/libexec/postfix/sendmail
|