EnglishFrenchSpanish

Ad


OnWorks favicon

bsmtp - Online in the Cloud

Run bsmtp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bsmtp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


bsmtp - Bareos's SMTP client (mail submission program)

SYNOPSIS


bsmtp [options] <recipient> <...>

DESCRIPTION


bsmtp is a simple mail user agent designed to permit more flexibility than the standard
mail programs typically found on Unix systems, and to ease portability. It can even run on
Windows machines. It is used by the Director daemon to send notifications and requests to
the operator.

OPTIONS


-4 Forces bsmtp to use IPv4 addresses only.

-6 Forces bsmtp to use IPv6 addresses only.

-8 Encode the mail in UTF-8.

-a Use any ip protocol for address resolution.

-c Set the Cc: header.

-d nn Set debug level to nn.

-dt Print timestamp in debug output.

-f Set the From: header. If not specified, bsmtp will try to use your username.

-h mailhost:port
Use mailhost:port as the SMTP server. (default port: 25)

-s Set the Subject: header.

-r Set the Reply-To:: header.

-l Set the maximum number of lines to be sent. (default: unlimited)

-? Show version and usage of program.

USAGE


recipients is a space separated list of email addresses.

The body of the email message is read from standard input. Message is ended by sending the
EOF character (Ctrl-D on many systems) on the start of a new line, much like many 'mail'
commands.

The actual, automated behavior of bsmtp will depend on the mail-related configuration of
the Director in the Messages resource of bareos-dir.conf.

Interactive use of bsmtp is pertinent to manually test and ensure these configuration bits
are valid. This is highly recommended.

CONFIGURATION


These commands should each appear on a single line in the configuration file.

Messages {
Name = Standard
mailcommand = "/home/bareos/bin/bsmtp -h mail.domain.com -f \"\(Bareos\) \<%r\>\"
-s \"Bareos: %t %e of %c %l\" %r"
operatorcommand = "/home/bareos/bin/bsmtp -h mail.domain.com -f \"\(Bareos\) \<%r\>\"
-s \"Bareos: Intervention needed for %j\" %r"
mail = [email protected] = all, !skipped
operator = [email protected] = mount
console = all, !skipped, !saved
}

home/bareos/bin is replaced with the path to the Bareos binary directory, and
mail.domain.com is replaced with the fully qualified name of an SMTP server, which usually
listen on port 25.

ENVIRONMENT


If the -h option is not specified, bsmtp will use environment variable SMTPSERVER, or
'localhost' if not set.

NOTES


Since bsmtp always uses a TCP connection rather than writing to a spool file, you may find
that your From: address is being rejected because it does not contain a valid domain, or
because your message has gotten caught in spam filtering rules. Generally, you should
specify a fully qualified domain name in the from field, and depending on whether your
SMTP gateway is Exim or Sendmail, you may need to modify the syntax of the from part of
the message.

If bsmtp cannot connect to the specified mail host, it will retry to connect to localhost.

Use bsmtp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad