Skip to content

isendmail.8

Manvendra Bhangui edited this page Feb 25, 2024 · 3 revisions

NAME

sendmail - IndiMail to Sendmail compatibility interface

SYNOPSIS

sendmail [option ...] [recipient ...]

mailq
sendmail -bp

DESCRIPTION

The IndiMail sendmail(1) command implements the IndiMail to Sendmail compatibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored.

By default, IndiMail sendmail(1) reads a message from standard input until EOF or until it reads a line with only a . character, and arranges for delivery. IndiMail sendmail(1) relies on the qmail-inject(1) command to actually send a message.

Specific command aliases are provided for other common modes of operation:

mailq
List the mail queue. Each entry shows the queue file ID, message size, arrival time, sender, and the recipients that still need to be delivered.

newaliases
Not supported. Use fastfoward(1) / newaliases(1) instead

These and other features can be selected by specifying the appropriate combination of command-line options. Some features are controlled by parameters in the main.cf configuration file.

The following options are recognized:

-Am (ignored)

-Ac (ignored)
IndiMail sendmail uses the same configuration file regardless of whether or not a message is an initial submission.

-B body_type (ignored)
The message body MIME type: 7BIT or 8BITMIME.

-bh (ignored)

-bH (ignored)
IndiMail has no persistent host status database.

-bi
Initialize alias database. See the newaliases command above.

-bm
Read mail from standard input and arrange for delivery. This is the default mode of operation.

-bp
List the mail queue. See the mailq command above. This is implemented by running the qmail-qread(8) command.

-bs
Stand-alone SMTP server mode. Read SMTP commands from standard input, and write responses to standard output.

This mode of operation is implemented by running the qmail-smtpd(8) daemon.

"-F
Set the sender full name. This overrides the NAME environment variable, and is used only with messages that have no From: message header.

-f sender
Set the envelope sender address. This is the address where delivery problems are sent to.

-h hop_count (ignored)
Hop count limit. Use the maxhops control file instead.

-I
Initialize alias database. See the newaliases command above.

-i
When reading a message from standard input, don't treat a line with only a . character as the end of input.

-L label (ignored)
The logging label. Use the syslog_name configuration parameter instead.

-m (ignored)
Backwards compatibility.

-N dsn (ignored)

-n (ignored)
Backwards compatibility.

-o7 (ignored)

-o8 (ignored)
To send 8-bit or binary content, use an appropriate MIME encapsulation and specify the appropriate -B command-line option.

-oi
When reading a message from standard input, don't treat a line with only a . character as the end of input.

-om (ignored)
The sender is never eliminated from alias etc. expansions.

-o x value (ignored)
Set option x to value.

-t
Extract recipients from message headers. These are added to any recipients specified on the command line.

-U (ignored)
Initial user submission.

-v (ignored)

ENVIRONMENT

QUEUE_BASE
Base Directory containing IndiMail queues.

QUEUE_COUNT
No of queues to use in the queue base directory

QUEUE_START
First queue to use in the queue base directory. sendmail will any of the QEUEUE_COUNT queues starting from this queue in the queue base directory

SEE ALSO

qmail-inject(8), preprocess and send a mail message qmail-queue(8) qmail-smtpd(8), SMTP server

Clone this wiki locally