1.\" $OpenBSD: mail.lmtp.8,v 1.1 2017/02/14 15:16:34 gilles Exp $ 2.\" 3.\" Copyright (c) 2017 Gilles Chehade <gilles@poolp.org> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: February 14 2017 $ 18.Dt MAIL.LMTP 8 19.Os 20.Sh NAME 21.Nm mail.lmtp 22.Nd deliver mail through LMTP 23.Sh SYNOPSIS 24.Nm mail.lmtp 25.Op Fl d Ar destination 26.Op Fl f Ar from 27.Op Fl l Ar lhlo 28.Ar user ... 29.Sh DESCRIPTION 30.Nm 31reads the standard input up to an end-of-file and delivers it to 32an LMTP server for each 33.Ar user Ns 's 34address. 35The 36.Ar user 37must be a valid user name or email address. 38.Pp 39The options are as follows: 40.Bl -tag -width Ds 41.It Fl d Ar destination 42Specify the destination LMTP address. 43.It Fl f Ar from 44Specify the sender's name or email address. 45.It Fl l Ar lhlo 46Specify the LHLO argument used in the LMTP session. 47By default, 48.Nm mail.lmtp 49will default to "localhost". 50.El 51.Sh EXIT STATUS 52.Ex -std mail.lmtp 53.Sh SEE ALSO 54.Xr mail 1 , 55.Xr smtpd 8 56