.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SENDMAIL 8 "March 12, 2002" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME sendmail \- Local user interface to XMail .SH SYNOPSIS .B sendmail .RI [\-t] [\-f...] [\-F...] [\-\-input\-file fname] [\-\-xinput\-file fname] [\-\-rcpt\-file fname] [\-\-] recipient ... .SH DESCRIPTION When building XMail an executable called sendmail is also created. This is a replacement of the sendmail program used mostly on Unix systems and that use the local mail delivery feature of XMail to send email generated onto the server machine. .SH EXIT STATUS sendmail exits with zero on success. .SH OPTIONS The only a few sendmail options that are supported, other options are simply ignored. There are also some special XMail options. .TP .B \-f{mail from} Set the sender of the email. .TP .B \-F{ext mail from} Set the extended sender of the email. .TP .B \-t Extract recipients from the "To:"/"Cc:"/"Bcc:" header tags .TP .B \-\-input\-file fname Take the message from the specified file instead from stdin ( RFC format ). .TP .B \-\-xinput\-file fname Take the message from the specified file instead from stdin ( XMail format ). .TP .B \-\-rcpt\-file fname Add recipients listed inside the specified file ( list exploder ). .SH ENVIRONMENT .TP .B MAIL_ROOT Mail root directory. .SH NOTES .B XMail message format is strict: .P mail from:<...>[CR][LF] .br rcpt to:<...>[CR][LF] .br [CR][LF] .br message text with [CR][LF] line termination .P .B RFC message format: .P [Headers] .br NewLine .br Body .SH SEE ALSO .BR XMail (8). .SH AUTHOR XMail program was written by Davide Libenzi . This manual page was written by Radim Kolar , for the Debian GNU/Linux system (but may be used by others).