head 1.16; access; symbols netbsd-9-4-RELEASE:1.16 netbsd-10-0-RELEASE:1.16 netbsd-10-0-RC6:1.16 netbsd-10-0-RC5:1.16 netbsd-10-0-RC4:1.16 netbsd-10-0-RC3:1.16 netbsd-10-0-RC2:1.16 netbsd-10-0-RC1:1.16 netbsd-10:1.16.0.36 netbsd-10-base:1.16 netbsd-9-3-RELEASE:1.16 cjep_sun2x-base1:1.16 cjep_sun2x:1.16.0.34 cjep_sun2x-base:1.16 cjep_staticlib_x-base1:1.16 netbsd-9-2-RELEASE:1.16 cjep_staticlib_x:1.16.0.32 cjep_staticlib_x-base:1.16 netbsd-9-1-RELEASE:1.16 phil-wifi-20200421:1.16 phil-wifi-20200411:1.16 is-mlppp:1.16.0.30 is-mlppp-base:1.16 phil-wifi-20200406:1.16 netbsd-8-2-RELEASE:1.16 netbsd-9-0-RELEASE:1.16 netbsd-9-0-RC2:1.16 netbsd-9-0-RC1:1.16 phil-wifi-20191119:1.16 netbsd-9:1.16.0.28 netbsd-9-base:1.16 phil-wifi-20190609:1.16 netbsd-8-1-RELEASE:1.16 netbsd-8-1-RC1:1.16 pgoyette-compat-merge-20190127:1.16 pgoyette-compat-20190127:1.16 pgoyette-compat-20190118:1.16 pgoyette-compat-1226:1.16 pgoyette-compat-1126:1.16 pgoyette-compat-1020:1.16 pgoyette-compat-0930:1.16 pgoyette-compat-0906:1.16 netbsd-7-2-RELEASE:1.16 pgoyette-compat-0728:1.16 netbsd-8-0-RELEASE:1.16 phil-wifi:1.16.0.26 phil-wifi-base:1.16 pgoyette-compat-0625:1.16 netbsd-8-0-RC2:1.16 pgoyette-compat-0521:1.16 pgoyette-compat-0502:1.16 pgoyette-compat-0422:1.16 netbsd-8-0-RC1:1.16 pgoyette-compat-0415:1.16 pgoyette-compat-0407:1.16 pgoyette-compat-0330:1.16 pgoyette-compat-0322:1.16 pgoyette-compat-0315:1.16 netbsd-7-1-2-RELEASE:1.16 pgoyette-compat:1.16.0.24 pgoyette-compat-base:1.16 netbsd-7-1-1-RELEASE:1.16 matt-nb8-mediatek:1.16.0.22 matt-nb8-mediatek-base:1.16 perseant-stdc-iso10646:1.16.0.20 perseant-stdc-iso10646-base:1.16 netbsd-8:1.16.0.18 netbsd-8-base:1.16 prg-localcount2-base3:1.16 prg-localcount2-base2:1.16 prg-localcount2-base1:1.16 prg-localcount2:1.16.0.16 prg-localcount2-base:1.16 pgoyette-localcount-20170426:1.16 bouyer-socketcan-base1:1.16 pgoyette-localcount-20170320:1.16 netbsd-7-1:1.16.0.14 netbsd-7-1-RELEASE:1.16 netbsd-7-1-RC2:1.16 netbsd-7-nhusb-base-20170116:1.16 bouyer-socketcan:1.16.0.12 bouyer-socketcan-base:1.16 pgoyette-localcount-20170107:1.16 netbsd-7-1-RC1:1.16 pgoyette-localcount-20161104:1.16 netbsd-7-0-2-RELEASE:1.16 localcount-20160914:1.16 netbsd-7-nhusb:1.16.0.10 netbsd-7-nhusb-base:1.16 pgoyette-localcount-20160806:1.16 pgoyette-localcount-20160726:1.16 pgoyette-localcount:1.16.0.8 pgoyette-localcount-base:1.16 netbsd-7-0-1-RELEASE:1.16 netbsd-7-0:1.16.0.6 netbsd-7-0-RELEASE:1.16 netbsd-7-0-RC3:1.16 netbsd-7-0-RC2:1.16 netbsd-7-0-RC1:1.16 netbsd-5-2-3-RELEASE:1.13 netbsd-5-1-5-RELEASE:1.13 netbsd-6-0-6-RELEASE:1.14 netbsd-6-1-5-RELEASE:1.14 netbsd-7:1.16.0.4 netbsd-7-base:1.16 yamt-pagecache-base9:1.16 yamt-pagecache-tag8:1.14 netbsd-6-1-4-RELEASE:1.14 netbsd-6-0-5-RELEASE:1.14 tls-earlyentropy:1.16.0.2 tls-earlyentropy-base:1.16 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16 riastradh-drm2-base3:1.15 netbsd-6-1-3-RELEASE:1.14 netbsd-6-0-4-RELEASE:1.14 netbsd-5-2-2-RELEASE:1.13 netbsd-5-1-4-RELEASE:1.13 netbsd-6-1-2-RELEASE:1.14 netbsd-6-0-3-RELEASE:1.14 netbsd-5-2-1-RELEASE:1.13 netbsd-5-1-3-RELEASE:1.13 netbsd-6-1-1-RELEASE:1.14 riastradh-drm2-base2:1.15 riastradh-drm2-base1:1.15 riastradh-drm2:1.14.0.16 riastradh-drm2-base:1.14 netbsd-6-1:1.14.0.20 netbsd-6-0-2-RELEASE:1.14 netbsd-6-1-RELEASE:1.14 netbsd-6-1-RC4:1.14 netbsd-6-1-RC3:1.14 agc-symver:1.14.0.18 agc-symver-base:1.14 netbsd-6-1-RC2:1.14 netbsd-6-1-RC1:1.14 yamt-pagecache-base8:1.14 netbsd-5-2:1.13.0.44 netbsd-6-0-1-RELEASE:1.14 yamt-pagecache-base7:1.14 netbsd-5-2-RELEASE:1.13 netbsd-5-2-RC1:1.13 matt-nb6-plus-nbase:1.14 yamt-pagecache-base6:1.14 netbsd-6-0:1.14.0.14 netbsd-6-0-RELEASE:1.14 netbsd-6-0-RC2:1.14 tls-maxphys:1.14.0.12 tls-maxphys-base:1.16 matt-nb6-plus:1.14.0.10 matt-nb6-plus-base:1.14 netbsd-6-0-RC1:1.14 yamt-pagecache-base5:1.14 yamt-pagecache-base4:1.14 netbsd-6:1.14.0.8 netbsd-6-base:1.14 netbsd-5-1-2-RELEASE:1.13 netbsd-5-1-1-RELEASE:1.13 yamt-pagecache-base3:1.14 yamt-pagecache-base2:1.14 yamt-pagecache:1.14.0.6 yamt-pagecache-base:1.14 cherry-xenmp:1.14.0.4 cherry-xenmp-base:1.14 bouyer-quota2-nbase:1.14 bouyer-quota2:1.14.0.2 bouyer-quota2-base:1.14 matt-mips64-premerge-20101231:1.14 matt-nb5-mips64-premerge-20101231:1.13 matt-nb5-pq3:1.13.0.42 matt-nb5-pq3-base:1.13 netbsd-5-1:1.13.0.40 netbsd-5-1-RELEASE:1.13 netbsd-5-1-RC4:1.13 matt-nb5-mips64-k15:1.13 netbsd-5-1-RC3:1.13 netbsd-5-1-RC2:1.13 netbsd-5-1-RC1:1.13 netbsd-5-0-2-RELEASE:1.13 matt-nb5-mips64-premerge-20091211:1.13 matt-premerge-20091211:1.13 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13 matt-nb4-mips64-k7-u2a-k9b:1.13 matt-nb5-mips64-u1-k1-k5:1.13 matt-nb5-mips64:1.13.0.38 netbsd-5-0-1-RELEASE:1.13 jym-xensuspend-nbase:1.13 netbsd-5-0:1.13.0.36 netbsd-5-0-RELEASE:1.13 netbsd-5-0-RC4:1.13 netbsd-5-0-RC3:1.13 netbsd-5-0-RC2:1.13 jym-xensuspend:1.13.0.34 jym-xensuspend-base:1.13 netbsd-5-0-RC1:1.13 netbsd-5:1.13.0.32 netbsd-5-base:1.13 matt-mips64-base2:1.13 matt-mips64:1.13.0.30 mjf-devfs2:1.13.0.28 mjf-devfs2-base:1.13 netbsd-4-0-1-RELEASE:1.13 wrstuden-revivesa-base-3:1.13 wrstuden-revivesa-base-2:1.13 wrstuden-fixsa-newbase:1.13 wrstuden-revivesa-base-1:1.13 yamt-pf42-base4:1.13 yamt-pf42-base3:1.13 hpcarm-cleanup-nbase:1.13 yamt-pf42-baseX:1.13 yamt-pf42-base2:1.13 wrstuden-revivesa:1.13.0.26 wrstuden-revivesa-base:1.13 yamt-pf42:1.13.0.24 yamt-pf42-base:1.13 keiichi-mipv6-nbase:1.13 keiichi-mipv6:1.13.0.22 keiichi-mipv6-base:1.13 matt-armv6-nbase:1.13 matt-armv6-prevmlocking:1.13 wrstuden-fixsa-base-1:1.13 netbsd-4-0:1.13.0.20 netbsd-4-0-RELEASE:1.13 cube-autoconf:1.13.0.18 cube-autoconf-base:1.13 netbsd-4-0-RC5:1.13 netbsd-4-0-RC4:1.13 netbsd-4-0-RC3:1.13 netbsd-4-0-RC2:1.13 netbsd-4-0-RC1:1.13 matt-armv6:1.13.0.16 matt-armv6-base:1.13 matt-mips64-base:1.13 hpcarm-cleanup:1.13.0.14 hpcarm-cleanup-base:1.13 netbsd-3-1-1-RELEASE:1.13 netbsd-3-0-3-RELEASE:1.13 wrstuden-fixsa:1.13.0.12 wrstuden-fixsa-base:1.13 abandoned-netbsd-4-base:1.13 abandoned-netbsd-4:1.13.0.6 netbsd-3-1:1.13.0.8 netbsd-3-1-RELEASE:1.13 netbsd-3-0-2-RELEASE:1.13 netbsd-3-1-RC4:1.13 netbsd-3-1-RC3:1.13 netbsd-3-1-RC2:1.13 netbsd-3-1-RC1:1.13 netbsd-4:1.13.0.10 netbsd-4-base:1.13 netbsd-3-0-1-RELEASE:1.13 netbsd-3-0:1.13.0.4 netbsd-3-0-RELEASE:1.13 netbsd-3-0-RC6:1.13 netbsd-3-0-RC5:1.13 netbsd-3-0-RC4:1.13 netbsd-3-0-RC3:1.13 netbsd-3-0-RC2:1.13 netbsd-3-0-RC1:1.13 netbsd-2-0-3-RELEASE:1.12.2.1 netbsd-2-1:1.12.2.1.0.4 netbsd-2-1-RELEASE:1.12.2.1 netbsd-2-1-RC6:1.12.2.1 netbsd-2-1-RC5:1.12.2.1 netbsd-2-1-RC4:1.12.2.1 netbsd-2-1-RC3:1.12.2.1 netbsd-2-1-RC2:1.12.2.1 netbsd-2-1-RC1:1.12.2.1 netbsd-2-0-2-RELEASE:1.12.2.1 netbsd-3:1.13.0.2 netbsd-3-base:1.13 netbsd-2-0-1-RELEASE:1.12.2.1 netbsd-2:1.12.2.1.0.2 netbsd-2-base:1.12.2.1 netbsd-2-0-RELEASE:1.12.2.1 netbsd-2-0-RC5:1.12.2.1 netbsd-2-0-RC4:1.12.2.1 netbsd-2-0-RC3:1.12.2.1 netbsd-2-0-RC2:1.12.2.1 netbsd-2-0-RC1:1.12.2.1 netbsd-2-0:1.12.0.2 netbsd-2-0-base:1.12 netbsd-1-6-PATCH002-RELEASE:1.7.2.3 netbsd-1-6-PATCH002:1.7.2.3 netbsd-1-6-PATCH002-RC4:1.7.2.3 netbsd-1-6-PATCH002-RC3:1.7.2.3 netbsd-1-6-PATCH002-RC2:1.7.2.3 netbsd-1-6-PATCH002-RC1:1.7.2.3 netbsd-1-6-PATCH001:1.7 netbsd-1-6-PATCH001-RELEASE:1.7 netbsd-1-6-PATCH001-RC3:1.7 netbsd-1-6-PATCH001-RC2:1.7 netbsd-1-6-PATCH001-RC1:1.7 fvdl_fs64_base:1.9 netbsd-1-6-RELEASE:1.7 netbsd-1-6-RC3:1.7 netbsd-1-6-RC2:1.7 netbsd-1-6-RC1:1.7 netbsd-1-6:1.7.0.2 netbsd-1-6-base:1.7 netbsd-1-5-PATCH003:1.2.8.1 netbsd-1-5-PATCH002:1.2.8.1 netbsd-1-5-PATCH001:1.2.8.1 netbsd-1-5-RELEASE:1.2 netbsd-1-5-BETA2:1.2 netbsd-1-5-BETA:1.2 netbsd-1-4-PATCH003:1.1 netbsd-1-5-ALPHA2:1.2 netbsd-1-5:1.2.0.8 netbsd-1-5-base:1.2 minoura-xpg4dl-base:1.2 minoura-xpg4dl:1.2.0.6 netbsd-1-4-PATCH002:1.1 wrstuden-devbsize-19991221:1.2 wrstuden-devbsize:1.2.0.4 wrstuden-devbsize-base:1.2 comdex-fall-1999:1.2.0.2 comdex-fall-1999-base:1.2 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1 netbsd-1-4:1.1.0.2 netbsd-1-4-base:1.1; locks; strict; comment @.\" @; 1.16 date 2014.03.18.18.20.47; author riastradh; state Exp; branches; next 1.15; commitid YersUbOm2SKa4dtx; 1.15 date 2013.07.20.21.40.02; author wiz; state Exp; branches; next 1.14; commitid VZsNcbAcdhMJUfYw; 1.14 date 2010.04.10.08.29.53; author jruoho; state Exp; branches 1.14.6.1 1.14.12.1 1.14.16.1; next 1.13; 1.13 date 2004.07.22.03.44.12; author atatat; state Exp; branches; next 1.12; 1.12 date 2003.03.03.07.28.29; author wiz; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 2003.02.18.02.17.38; author perry; state Exp; branches; next 1.10; 1.10 date 2003.02.17.21.18.46; author is; state Exp; branches; next 1.9; 1.9 date 2002.12.01.11.35.33; author rtr; state Exp; branches; next 1.8; 1.8 date 2002.10.17.16.47.47; author soren; state Exp; branches; next 1.7; 1.7 date 2002.01.19.03.25.12; author wiz; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2001.06.08.23.57.43; author wiz; state Exp; branches; next 1.5; 1.5 date 2000.08.18.07.27.59; author itojun; state Exp; branches; next 1.4; 1.4 date 2000.08.18.01.49.43; author itojun; state Exp; branches; next 1.3; 1.3 date 2000.07.05.15.45.32; author msaitoh; state Exp; branches; next 1.2; 1.2 date 99.05.29.18.18.30; author christos; state Exp; branches 1.2.8.1; next 1.1; 1.1 date 99.03.25.16.40.17; author is; state Exp; branches; next ; 1.14.6.1 date 2014.05.22.11.43.05; author yamt; state Exp; branches; next ; commitid wmvImESqVQCgMwBx; 1.14.12.1 date 2014.08.20.00.05.09; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.14.16.1 date 2013.07.23.21.07.41; author riastradh; state Exp; branches; next ; commitid rochtllMBJfBDDYw; 1.12.2.1 date 2004.07.23.08.42.43; author tron; state Exp; branches; next ; 1.7.2.1 date 2003.08.31.09.40.33; author tron; state Exp; branches; next 1.7.2.2; 1.7.2.2 date 2003.08.31.09.41.35; author tron; state Exp; branches; next 1.7.2.3; 1.7.2.3 date 2003.08.31.09.42.19; author tron; state Exp; branches; next ; 1.2.8.1 date 2001.06.10.18.47.42; author he; state Exp; branches; next ; desc @@ 1.16 log @Merge riastradh-drm2 to HEAD. @ text @.\" $NetBSD: mailer.conf.5,v 1.14.16.1 2013/07/23 21:07:41 riastradh Exp $ .\" .\" Copyright (c) 1998 .\" Perry E. Metzger. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgment: .\" This product includes software developed for the NetBSD Project .\" by Perry E. Metzger. .\" 4. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (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 April 10, 2010 .Dt MAILER.CONF 5 .Os .Sh NAME .Nm mailer.conf .Nd configuration file for .Xr mailwrapper 8 .Sh DESCRIPTION The file .Pa /etc/mailer.conf contains a series of lines of the form .Pp .Pa name .Pa program .Op Ar arguments ... .Pp The first word of each line is the .Pa name of a program invoking .Xr mailwrapper 8 . (For example, on a typical system .Pa /usr/sbin/sendmail would be a symbolic link to .Xr mailwrapper 8 , as would .Xr newaliases 1 and .Xr mailq 1 . Thus, .Pa name might be .Dq sendmail or .Dq newaliases etc.) .Pp The second word of each line is the name of the .Pa program to actually execute when the first name is invoked. .Pp The further .Ar arguments , if any, are passed to the .Pa program , followed by the arguments .Xr mailwrapper 8 was called with. .Pp The file may also contain comment lines, denoted by a .Sq # mark in the first column of any line. .Pp The default mailer is .Xr postfix 1 , which will also start by default (unless specifically disabled via an .Xr rc.conf 5 setting) so that locally generated mail can be delivered, if the .Dq sendmail setting in .Pa /etc/mailer.conf is set to .Dq /usr/libexec/postfix/sendmail . .Sh FILES /etc/mailer.conf .Sh EXAMPLES This example shows how to set up .Nm to invoke the .Xr postfix 1 program: .Bd -literal -offset indent sendmail /usr/libexec/postfix/sendmail mailq /usr/libexec/postfix/sendmail newaliases /usr/libexec/postfix/sendmail .Ed .Pp This example shows the use of the mini-sendmail package from .Em pkgsrc in place of .Xr postfix 1 : .Bd -literal -offset indent # Send outgoing mail to a smart relay using mini-sendmail sendmail /usr/pkg/sbin/mini-sendmail -srelayhost send-mail /usr/pkg/sbin/mini-sendmail -srelayhost .Ed .Pp Note the use of additional arguments. .Sh SEE ALSO .Xr mail 1 , .Xr mailq 1 , .Xr newaliases 1 , .Xr postfix 1 , .Xr mailwrapper 8 .Pp .Pa pkgsrc/mail/sendmail , .Pa pkgsrc/mail/mini_sendmail .Sh HISTORY .Nm appeared in .Nx 1.4 . .Sh AUTHORS .An Perry E. Metzger Aq Mt perry@@piermont.com .Sh BUGS The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the .Dq behave differently if invoked with a different name behavior of things like .Xr mailq 1 should go away. @ 1.15 log @Use Mt for email addresses. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.14 2010/04/10 08:29:53 jruoho Exp $ @ 1.14 log @A general update. Remove (hopefully the last) references to sendmail(8), etc. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.13 2004/07/22 03:44:12 atatat Exp $ d133 1 a133 1 .An Perry E. Metzger Aq perry@@piermont.com @ 1.14.12.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 .\" $NetBSD$ d133 1 a133 1 .An Perry E. Metzger Aq Mt perry@@piermont.com @ 1.14.6.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.14 2010/04/10 08:29:53 jruoho Exp $ d133 1 a133 1 .An Perry E. Metzger Aq Mt perry@@piermont.com @ 1.14.16.1 log @sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.15 2013/07/20 21:40:02 wiz Exp $ d133 1 a133 1 .An Perry E. Metzger Aq Mt perry@@piermont.com @ 1.13 log @More better description of current state of sendmail stuff in more places. This is intended to make some people a tad happier. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.12 2003/03/03 07:28:29 wiz Exp $ d32 1 a32 1 .Dd July 17, 2004 d85 1 a85 1 .Xr sendmail 8 , d93 1 a93 1 .Dq /usr/libexec/sendmail/sendmail . d99 2 a100 2 to invoke the traditional .Xr sendmail 8 d103 3 a105 20 # Execute the "real" sendmail program located in # /usr/libexec/sendmail/sendmail 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 .Ed .Pp This example shows how to invoke the .Xr postfix 1 MTA suite in place of .Xr sendmail 8 : .Bd -literal -offset indent # Emulate sendmail using postfix sendmail /usr/libexec/postfix/sendmail send-mail /usr/libexec/postfix/sendmail mailq /usr/libexec/postfix/sendmail newaliases /usr/libexec/postfix/sendmail d108 2 a109 1 This example shows the use of the mini-sendmail package from pkgsrc d111 1 a111 2 .Xr sendmail 8 : Note the use of additional arguments. d117 2 d124 1 a124 2 .Xr mailwrapper 8 , .Xr sendmail 8 d126 1 d137 3 a139 2 for how to submit mail should be standardized, and all the "behave differently if invoked with a different name" behavior of things like @ 1.12 log @Bump date for mini-sendmail reference; add its pkgsrc path to SEE ALSO section. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.11 2003/02/18 02:17:38 perry Exp $ d32 1 a32 1 .Dd February 17, 2003 d83 11 @ 1.12.2.1 log @Pull up revision 1.13 (requested by atatat in ticket #686): More better description of current state of sendmail stuff in more places. This is intended to make some people a tad happier. @ text @d1 1 a1 1 .\" $NetBSD$ d32 1 a32 1 .Dd July 17, 2004 a82 11 .Pp The default mailer is .Xr sendmail 8 , which will also start by default (unless specifically disabled via an .Xr rc.conf 5 setting) so that locally generated mail can be delivered, if the .Dq sendmail setting in .Pa /etc/mailer.conf is set to .Dq /usr/libexec/sendmail/sendmail . @ 1.11 log @Clarify a bit, fix up the examples somewhat, etc. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.10 2003/02/17 21:18:46 is Exp $ d32 1 a32 1 .Dd December 16, 1998 d80 3 a82 2 The file may also contain comment lines, denoted by a # mark in the first column of any line. d130 2 d139 2 a140 1 The entire reason this program exists is a crock. Instead, a command @ 1.10 log @Actually make additional arguments in mailer.conf useful, and document them. Reviewed by perry and wiz. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.9 2002/12/01 11:35:33 rtr Exp $ d49 1 a49 1 .P name d51 6 a56 4 .Xr mailwrapper 8 which is typically a symbolic link to .Pa /usr/sbin/sendmail . (On a typical system, d59 8 a66 2 .Xr mailq 1 would be set up this way.) d73 1 a73 1 .Pa arguments , d85 1 a85 1 The following is an example of how to set up d87 1 a87 1 for traditional d89 4 a92 3 invocation behavior. .Bd -literal # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail d104 2 a105 2 .Xr sendmail 8 . .Bd -literal d112 7 a118 2 .Bd -literal # Send outgoing mail to a smart relay using mini-sendmail without queueing @ 1.9 log @Document additional line required to emulate sendmail using postfix. Without line error will be appended to mailed output of daily script. Solves part of PR bin/18800. Patch provided by Ryo HAYASAKA @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.8 2002/10/17 16:47:47 soren Exp $ d42 8 a49 1 contains a series of pairs. The first member of each pair is the name d59 15 a73 3 The second member of each pair is the name of the program to actually execute when the first name is invoked. The file may also contain comments, denoted by a # mark in the first column of any line. d102 5 @ 1.8 log @Postfix does not support the 'send-mail' arg. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.7 2002/01/19 03:25:12 wiz Exp $ d80 1 @ 1.7 log @Drop an unnecessary .Pp, sort sections, add postfix .Xr, and improve markup. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.6 2001/06/08 23:57:43 wiz Exp $ a79 1 send-mail /usr/libexec/postfix/sendmail @ 1.7.2.1 log @Pull up revision 1.10 (requested by is in ticket #1390): Actually make additional arguments in mailer.conf useful, and document them. Reviewed by perry and wiz. @ text @d1 1 a1 1 .\" $NetBSD$ d42 1 a42 8 contains a series of lines of the form .Pp .Pa name .Pa program .Op Ar arguments ... .Pp The first word of each line is the .P name d52 3 a54 15 .Pp The second word of each line is the name of the .Pa program to actually execute when the first name is invoked. .Pp The further .Pa arguments , if any, are passed to the .Pa program , followed by the arguments .Xr mailwrapper 8 was called with. .Pp The file may also contain comment lines, denoted by a # mark in the first column of any line. a82 5 .Ed .Bd -literal # Send outgoing mail to a smart relay using mini-sendmail without queueing sendmail /usr/pkg/sbin/mini-sendmail -srelayhost send-mail /usr/pkg/sbin/mini-sendmail -srelayhost @ 1.7.2.2 log @Pull up revision 1.11 (requested by is in ticket #1390): Clarify a bit, fix up the examples somewhat, etc. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.7.2.1 2003/08/31 09:40:33 tron Exp $ d49 1 a49 1 .Pa name d51 4 a54 6 .Xr mailwrapper 8 . (For example, on a typical system .Pa /usr/sbin/sendmail would be a symbolic link to .Xr mailwrapper 8 , as would d57 2 a58 8 .Xr mailq 1 . Thus, .Pa name might be .Dq sendmail or .Dq newaliases etc.) d65 1 a65 1 .Ar arguments , d77 1 a77 1 This example shows how to set up d79 1 a79 1 to invoke the traditional d81 3 a83 4 program: .Bd -literal -offset indent # Execute the "real" sendmail program located in # /usr/libexec/sendmail/sendmail d95 2 a96 2 .Xr sendmail 8 : .Bd -literal -offset indent d103 2 a104 7 .Pp This example shows the use of the mini-sendmail package from pkgsrc in place of .Xr sendmail 8 : Note the use of additional arguments. .Bd -literal -offset indent # Send outgoing mail to a smart relay using mini-sendmail @ 1.7.2.3 log @Pull up revision 1.12 (requested by is in ticket #1390): Bump date for mini-sendmail reference; add its pkgsrc path to SEE ALSO section. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.7.2.2 2003/08/31 09:41:35 tron Exp $ d32 1 a32 1 .Dd February 17, 2003 d80 2 a81 3 The file may also contain comment lines, denoted by a .Sq # mark in the first column of any line. a128 2 .Pp .Pa pkgsrc/mail/mini_sendmail d136 1 a136 2 The entire reason this program exists is a crock. Instead, a command @ 1.6 log @Remove trailing dot from .Nd, and a bogus comment line (probably left over from example man page). @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.5 2000/08/18 07:27:59 itojun Exp $ a39 1 .Pp d55 2 d74 1 a74 1 .Sy postfix a83 2 .Sh FILES /etc/mailer.conf d87 2 a89 1 .Xr newaliases 1 , d96 1 a96 1 Perry E. Metzger @ 1.5 log @use more Xr to refer to sendmail(8). suggested by jhawk. XXX not sure what is the correct way to refer to "postfix suite". postfix(1) does not seem that relevant here. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.4 2000/08/18 01:49:43 itojun Exp $ a31 1 .\" The following requests are required for all man pages. d38 1 a38 1 .Xr mailwrapper 8 . @ 1.4 log @add purgestat and hoststat into sendmail example, they are added in sendmail 8.10.x. correct preamble text near postfix example. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.3 2000/07/05 15:45:32 msaitoh Exp $ d58 1 a58 1 The following is an example of how to set up an d60 3 a62 1 for traditional sendmail invocation behavior. d73 4 a76 2 This example shows how to invoke the "postfix" program in place of sendmail. @ 1.3 log @remove extra period in SEE ALL section @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $ d67 2 d71 1 a71 1 This example shows how to invoke the fictitious "newmail" program in @ 1.2 log @Use postfix as an example @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.1 1999/03/25 16:40:17 is Exp $ d85 1 a85 1 .Xr sendmail 8 . @ 1.2.8.1 log @Pull up revisions 1.3-1.6 (requested by wiz): Correct wording in reference to postfix. Add ``hoststat'' and ``purgestat'' invocations for sendmail. Also some punctuation and cross-reference fixes. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $ d32 1 d39 1 a39 1 .Xr mailwrapper 8 d58 1 a58 1 The following is an example of how to set up d60 1 a60 3 for traditional .Xr sendmail 8 invocation behavior. a66 2 hoststat /usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail d69 2 a70 4 This example shows how to invoke the .Sy postfix MTA suite in place of .Xr sendmail 8 . d85 1 a85 1 .Xr sendmail 8 @ 1.1 log @Split off /etc/mailer.conf manual page from mailwrapper manual page. @ text @d1 1 a1 1 .\" $NetBSD: mailer.conf.5,v 1.5 1999/03/22 18:44:01 garbled Exp $ d72 5 a76 4 # Execute the "real" sendmail program, named /usr/local/sbin/newmail sendmail /usr/local/sbin/newmail mailq /usr/local/sbin/newmail newaliases /usr/local/sbin/newmail @