Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bsmtp(1) [centos man page]

BSMTP(1)					     Network backup, recovery and verification						  BSMTP(1)

NAME
bsmtp - Bacula'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 oper- ator. 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 bacula- 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/bacula/bin/bsmtp -h mail.domain.com -f "(Bacula) <%r>" -s "Bacula: %t %e of %c %l" %r" operatorcommand = "/home/bacula/bin/bsmtp -h mail.domain.com -f "(Bacula) <%r>" -s "Bacula: Intervention needed for %j" %r" mail = sysadmin@site.domain.com = all, !skipped operator = sysop@site.domain.com = mount console = all, !skipped, !saved } home/bacula/bin is replaced with the path to the Bacula 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 spec- ify 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. BUGS
If you are getting incorrect dates (e.g. 1970) and you are running with a non-English locale, you might try setting the LANG="en_US" envi- ronment variable. AUTHOR
This manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>, revised and edited by Lucas B. Cohen <lbc@members.fsf.org>. SEE ALSO
bacula-dir(8) Kern Sibbald 3 July 2012 BSMTP(1)

Check Out this Related Man Page

BSCAN(8)					     Network backup, recovery and verification						  BSCAN(8)

NAME
bscan - Bacula's 'Scan tape' SYNOPSIS
bscan [options] bacula-archive DESCRIPTION
The purpose of bscan is to read (scan) a Bacula Volume and to recreate or update the database contents with the information found on the Volume. This is done in a non-destructive way. This permits restoring database entries that have been lost by pruning, purging, deleting, or a database corruption problem. Normally, it should not be necessary to run the bscan command because the database is self maintaining, and most corrupted databases can be repaired by the tools provided by the database vendors. In addition, if you have maintained bootstrap files during backups, you should be able to recover all your data from the bootstrap file without needed an up to date catalog. bscan command. OPTIONS
A summary of options is included below. -? Show version and usage of program. -b bootstrap Specify a bootstrap file. -c config Specify configuration file. -d nn Set debug level to nn. -dt Print timestamp in debug output. -m Update media info in database. -D Specify the driver database name (default: NULL) -n name Specify the database name (default: bacula) -u username Specify database username (default: bacula) -P password Specify database password (default: none) -h host Specify database host (default: NULL) -t port Specify database port (default: 0) -p Proceed inspite of I/O errors. -r List records. -s Synchronize or store in Database. -S Show scan progress periodically. -v Verbose output mode. -V volume Specify volume names (separated by '|') -w dir Specify working directory (default from conf file) SEE ALSO
bls(8), bextract(8). AUTHOR
This manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>, for the Debian GNU/Linux system (but may be used by others). Kern Sibbald 26 November 2009 BSCAN(8)
Man Page