LSF Version 7.3 - Platform LSF Configuration Reference

Example
LSB_LOCALDIR=/usr/share/lsbatch/loginfo
Default
Not defined
See also
LSB_SHAREDIR, EVENT_UPDATE_INTERVAL in lsb.params
LSB_MAILPROG
Syntax
LSB_MAILPROG=file_name
Description
Path and file name of the mail program used by LSF to send email. This is the electronic mail
program that LSF uses to send system messages to the user. When LSF needs to send email to
users it invokes the program defined by LSB_MAILPROG in lsf.conf. You can write your
own custom mail program and set LSB_MAILPROG to the path where this program is stored.
LSF administrators can set the parameter as part of cluster reconfiguration. Provide the name
of any mail program. For your convenience, LSF provides the sendmail mail program, which
supports the sendmail protocol on UNIX.
In a mixed cluster, you can specify different programs for Windows and UNIX. You can set
this parameter during installation on Windows. For your convenience, LSF provides the
lsmail.exe mail program, which supports SMTP and Microsoft Exchange Server protocols
on Windows. If lsmail is specified, the parameter LSB_MAILSERVER must also be
specified.
If you change your mail program, the LSF administrator must restart sbatchd on all hosts to
retrieve the new value.
UNIX
By default, LSF uses /usr/lib/sendmail to send email to users. LSF calls LSB_MAILPROG
with two arguments; one argument gives the full name of the sender, and the other argument
gives the return address for mail.
LSB_MAILPROG must read the body of the mail message from the standard input. The end
of the message is marked by end-of-file. Any program or shell script that accepts the arguments
and input, and delivers the mail correctly, can be used.
LSB_MAILPROG must be executable by any user.
Windows
If LSB_MAILPROG is not defined, no email is sent.
Examples
LSB_MAILPROG=lsmail.exe
LSB_MAILPROG=/serverA/tools/lsf/bin/unixhost.exe
lsf.conf
416 Platform LSF Configuration Reference