sendmail.binary

Specifies the sendmail-compatible binary used when ommail runs in sendmail mode.

This parameter applies to ommail: Mail Output Module.

Name:

sendmail.binary

Scope:

input

Type:

string

Default:

input=/usr/sbin/sendmail

Required?:

no

Introduced:

8.2606.0

Description

Configures the binary executed for mode="sendmail". The default /usr/sbin/sendmail follows the standard local mail submission interface. Ommail verifies that the configured binary is executable before attempting delivery.

Ommail invokes the binary without a shell and passes recipients as separate arguments.

Input usage

module(load="ommail")
action(
    type="ommail"
    mode="sendmail"
    sendmail.binary="/usr/sbin/sendmail"
    mailFrom="rsyslog@example.net"
    mailTo="operator@example.net"
)

See also

See also ommail: Mail Output Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.