1*e37f3393Smbalmer# $NetBSD: mailer.conf,v 1.18 2011/07/24 08:28:11 mbalmer Exp $ 20e30defaSperry# 3ac4f38d3Sperry# This file configures /usr/sbin/mailwrapper, which selects the MTA 4*e37f3393Smbalmer# (Mail Transport Agent) that is invoked when programs like 593efb147Swiz# /usr/sbin/sendmail are executed. 60e30defaSperry# 7ac4f38d3Sperry# See mailwrapper(8) and mailer.conf(5) for an explanation of how this works. 8ac4f38d3Sperry# See also rc.conf(5) and afterboot(8) for more details on setting up an MTA. 9d2dd73eeSatatat# 10ace25de7Schristos# The following configuration is correct for Postfix. 110f79acf9Ssoren# 120909a311Sdan# Notes for running postfix: 13b5947413Sdan# - postfix configuration requires either 14b5947413Sdan# hostname to be a FQDN, or for $mydomain 15b5947413Sdan# to be set in /etc/postfix/main.cf 160909a311Sdan# - postfix does not listen on the network 170909a311Sdan# by default; to enable inbound mail reception, 180909a311Sdan# configure /etc/postfix/main.cf and then uncomment 190909a311Sdan# the smtp service in /etc/postfix/master.cf 20b5947413Sdan# 21ace25de7Schristossendmail /usr/libexec/postfix/sendmail 22ace25de7Schristosmailq /usr/libexec/postfix/sendmail 23ace25de7Schristosnewaliases /usr/libexec/postfix/sendmail 24