1.\" $OpenBSD: mail.maildir.8,v 1.6 2021/02/13 07:28:50 jmc 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 13 2021 $ 18.Dt MAIL.MAILDIR 8 19.Os 20.Sh NAME 21.Nm mail.maildir 22.Nd store mail in a maildir 23.Sh SYNOPSIS 24.Nm mail.maildir 25.Op Fl j 26.Op Ar pathname 27.Sh DESCRIPTION 28.Nm 29reads the standard input up to an end-of-file and adds it to the 30mail directory located in 31.Ar pathname 32or to the mail directory 33.Pa Maildir 34located in the user's home directory. 35.Pp 36The options are as follows: 37.Bl -tag -width Ds 38.It Fl j 39Scan the message for an X-Spam header and move to the Junk folder 40if the result is positive. 41.El 42.Sh EXIT STATUS 43.Ex -std mail.maildir 44.Sh SEE ALSO 45.Xr mail 1 , 46.Xr smtpd 8 47