NAME¶
sendmail - Local user interface to XMail
SYNOPSIS¶
sendmail [-t] [-f...] [-F...] [--input-file fname] [--xinput-file fname]
[--rcpt-file fname] [--] recipient ...
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.
EXIT STATUS¶
sendmail exits with zero on success.
OPTIONS¶
The only a few sendmail options that are supported, other options are simply
ignored. There are also some special XMail options.
- -f{mail from}
- Set the sender of the email.
- -F{ext mail from}
- Set the extended sender of the email.
- -t
- Extract recipients from the
"To:"/"Cc:"/"Bcc:" header tags
- --input-file fname
- Take the message from the specified file instead from stdin
( RFC format ).
- --xinput-file fname
- Take the message from the specified file instead from stdin
( XMail format ).
- --rcpt-file fname
- Add recipients listed inside the specified file ( list
exploder ).
ENVIRONMENT¶
- MAIL_ROOT
- Mail root directory.
NOTES¶
XMail message format is strict:
mail from:<...>[CR][LF]
rcpt to:<...>[CR][LF]
[CR][LF]
message text with [CR][LF] line termination
RFC message format:
[Headers]
NewLine
Body
SEE ALSO¶
XMail(8).
AUTHOR¶
XMail program was written by Davide Libenzi <davidel@xmailserver.org>.
This manual page was written by Radim Kolar <hsn@cybermail.net>, for the
Debian GNU/Linux system (but may be used by others).