mailer.conf.5 (8fe1b8c03eb5fa61b63f6b4b10a57a1b184830ef) | mailer.conf.5 (81ae4b8da9920ccfb697984dbb2e8751573d183a) |
---|---|
1.\" $NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $ 2.\" 3.\" Copyright (c) 1998 4.\" Perry E. Metzger. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 29 unchanged lines hidden (view full) --- 38.Nm mailer.conf 39.Nd configuration file for 40.Xr mailwrapper 8 41.Sh DESCRIPTION 42The file 43.Pa /etc/mail/mailer.conf 44contains a series of lines of the form 45.Pp | 1.\" $NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $ 2.\" 3.\" Copyright (c) 1998 4.\" Perry E. Metzger. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 29 unchanged lines hidden (view full) --- 38.Nm mailer.conf 39.Nd configuration file for 40.Xr mailwrapper 8 41.Sh DESCRIPTION 42The file 43.Pa /etc/mail/mailer.conf 44contains a series of lines of the form 45.Pp |
46.Pa name 47.Pa program | 46.Ar name 47.Ar program |
48.Op Ar arguments ... 49.Pp 50The first word of each line is the | 48.Op Ar arguments ... 49.Pp 50The first word of each line is the |
51.Pa name | 51.Ar name |
52of a program invoking 53.Xr mailwrapper 8 . 54(For example, on a typical system 55.Pa /usr/sbin/sendmail 56would be a symbolic link to 57.Xr mailwrapper 8 , 58as would 59.Xr newaliases 1 60and 61.Xr mailq 1 . 62Thus, | 52of a program invoking 53.Xr mailwrapper 8 . 54(For example, on a typical system 55.Pa /usr/sbin/sendmail 56would be a symbolic link to 57.Xr mailwrapper 8 , 58as would 59.Xr newaliases 1 60and 61.Xr mailq 1 . 62Thus, |
63.Pa name | 63.Ar name |
64might be | 64might be |
65.Dq sendmail | 65.Dq Li sendmail |
66or | 66or |
67.Dq newaliases | 67.Dq Li newaliases |
68etc.) 69.Pp 70The second word of each line is the name of the | 68etc.) 69.Pp 70The second word of each line is the name of the |
71.Pa program | 71.Ar program |
72to actually execute when the first name is invoked. 73.Pp 74The further 75.Ar arguments , 76if any, are passed to the | 72to actually execute when the first name is invoked. 73.Pp 74The further 75.Ar arguments , 76if any, are passed to the |
77.Pa program , | 77.Ar program , |
78followed by the arguments 79.Xr mailwrapper 8 80was called with. 81.Pp 82The file may also contain comment lines, denoted by a | 78followed by the arguments 79.Xr mailwrapper 8 80was called with. 81.Pp 82The file may also contain comment lines, denoted by a |
83.Sq # | 83.Ql # |
84mark in the first column of any line. | 84mark in the first column of any line. |
85first column of any line. | |
86.Sh FILES 87/etc/mail/mailer.conf 88.Sh EXAMPLES 89This example shows how to set up 90.Nm 91to invoke the traditional 92.Xr sendmail 8 93program: --- 12 unchanged lines hidden (view full) --- 106.Bd -literal -offset indent 107# Emulate sendmail using postfix 108sendmail /usr/local/sbin/sendmail 109send-mail /usr/local/sbin/sendmail 110mailq /usr/local/sbin/sendmail 111newaliases /usr/local/sbin/sendmail 112.Ed 113.Pp | 85.Sh FILES 86/etc/mail/mailer.conf 87.Sh EXAMPLES 88This example shows how to set up 89.Nm 90to invoke the traditional 91.Xr sendmail 8 92program: --- 12 unchanged lines hidden (view full) --- 105.Bd -literal -offset indent 106# Emulate sendmail using postfix 107sendmail /usr/local/sbin/sendmail 108send-mail /usr/local/sbin/sendmail 109mailq /usr/local/sbin/sendmail 110newaliases /usr/local/sbin/sendmail 111.Ed 112.Pp |
114This example shows the use of the mini_sendmail package from ports 115in place of 116.Xr sendmail 8 : | 113This example shows the use of the 114.Nm mini_sendmail 115package from ports in place of 116.Xr sendmail 8 . |
117Note the use of additional arguments. 118.Bd -literal -offset indent 119# Send outgoing mail to a smart relay using mini_sendmail 120sendmail /usr/local/bin/mini_sendmail -srelayhost 121send-mail /usr/local/bin/mini_sendmail -srelayhost 122.Ed 123.Sh SEE ALSO 124.Xr mail 1 , 125.Xr mailq 1 , 126.Xr newaliases 1 , 127.Xr mailwrapper 8 , 128.Xr sendmail 8 129.Pp | 117Note the use of additional arguments. 118.Bd -literal -offset indent 119# Send outgoing mail to a smart relay using mini_sendmail 120sendmail /usr/local/bin/mini_sendmail -srelayhost 121send-mail /usr/local/bin/mini_sendmail -srelayhost 122.Ed 123.Sh SEE ALSO 124.Xr mail 1 , 125.Xr mailq 1 , 126.Xr newaliases 1 , 127.Xr mailwrapper 8 , 128.Xr sendmail 8 129.Pp |
130.Xr postfix 1 131.Pq Pa ports/mail/postfix , | 130.Xr postfix 1 Pq Pa ports/mail/postfix , |
132.Xr mini_sendmail 8 Pq Pa ports/mail/mini_sendmail 133.Sh HISTORY 134.Nm 135appeared in 136.Nx 1.4 . 137.Sh AUTHORS 138.An Perry E. Metzger Aq perry@piermont.com 139.Sh BUGS 140The entire reason this program exists is a crock. 141Instead, a command 142for how to submit mail should be standardized, and all the "behave 143differently if invoked with a different name" behavior of things like 144.Xr mailq 1 145should go away. | 131.Xr mini_sendmail 8 Pq Pa ports/mail/mini_sendmail 132.Sh HISTORY 133.Nm 134appeared in 135.Nx 1.4 . 136.Sh AUTHORS 137.An Perry E. Metzger Aq perry@piermont.com 138.Sh BUGS 139The entire reason this program exists is a crock. 140Instead, a command 141for how to submit mail should be standardized, and all the "behave 142differently if invoked with a different name" behavior of things like 143.Xr mailq 1 144should go away. |