diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-08-06 14:05:13 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-08-06 14:05:13 +0000 |
commit | c2bde9abdefaba3e926607c03f01b078bae29015 (patch) | |
tree | 26591ab207c0ddd92a7415d512a1a8b116c4ead3 /usr.sbin | |
parent | 2ae4b5918b8e7e071b3421e081923a1f8d357c56 (diff) |
swap the postfix example for an smtpd one;
based on a diff from Peter J. Philipp, documentation/6205
ok gilles, millert
while here, add missing makemap entry to the sendmail example
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/mailwrapper/mailer.conf.5 | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/usr.sbin/mailwrapper/mailer.conf.5 b/usr.sbin/mailwrapper/mailer.conf.5 index 354be6bd55a..78aab7359b7 100644 --- a/usr.sbin/mailwrapper/mailer.conf.5 +++ b/usr.sbin/mailwrapper/mailer.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mailer.conf.5,v 1.10 2009/02/07 16:58:23 martynas Exp $ +.\" $OpenBSD: mailer.conf.5,v 1.11 2009/08/06 14:05:12 jmc Exp $ .\" $NetBSD: mailer.conf.5,v 1.1 1999/03/25 16:40:17 is Exp $ .\" .\" Copyright (c) 1998 @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 7 2009 $ +.Dd $Mdocdate: August 6 2009 $ .Dt MAILER.CONF 5 .Os .Sh NAME @@ -70,21 +70,22 @@ invocation behavior. sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail +makemap /usr/libexec/sendmail/makemap newaliases /usr/libexec/sendmail/sendmail hoststat /usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail .Ed .Pp This example shows how to invoke the -.Sy postfix +.Xr smtpd 8 MTA suite in place of .Xr sendmail 8 . .Bd -literal -# Emulate sendmail using postfix -sendmail /usr/local/sbin/sendmail -send-mail /usr/local/sbin/sendmail -mailq /usr/local/sbin/sendmail -newaliases /usr/local/sbin/sendmail +# Emulate sendmail using smtpd +sendmail /usr/sbin/smtpctl +send-mail /usr/sbin/smtpctl +makemap /usr/libexec/smtpd/makemap +newaliases /usr/libexec/smtpd/makemap .Ed .Sh SEE ALSO .Xr mail 1 , |