nbsmtprc(5)

NAME
nbsmtprc - The no-brainer SMTP configuration file

DESCRIPTION

Please note that this file is only read when no -n or -N options are passed to nbSMTP.

The nbsmtprc file consists of a series of option pairs. Each line may contain one of those pairs. keys and values are separated by using the equal sign (“=”).

The pound sign (“#”) is the “comment” characer. All text after that sign will be ignored.

OPTIONS

One or more of these options may be used:

relayhost
    Type: string
    Default: (none)

    This is the host to relay messages to. No default value. Required.

fromaddr
    Type: string
    Default: (none)

    This is the address to send in MAIL FROM command. No default value. Required.

domain
    Type: string
    Default: machine's hostname

    Name to send in the HELO/EHLO greeting command. Defaults to the machine's local hostname.

auth_user
    Type: string
    Default: (none)

    SASL User name. No default value.

auth_pass
    Type: string
    Default: (none)

    SASL Password. No default value.

auth_mech
    Type: string
    Default: plain ( AUTH PLAIN )

    SASL Mechanism to use. Defaults to 'plain' (AUTH PLAIN). If set to 'login', AUTH LOGIN will be used. If set to 'crammd5' and compiled with --enable-ssl, AUTH CRAM-MD5 will be used.

port
    Type: int
    Default: 25 - 465

    Port to use to connect the relayhost. Defaults to 25 if no port is specified or if use_starttls is specified. Defaults to 465 if use_tls is True and use_starttls is False.

use_tls
    Type: boolean
    Default: False

    Whether to use TLS to connect. Possible values are True or False. Defaults to False but if use_starttls is set to True, use_tls will be set to True.

use_starttls
    Type: boolean
    Default: False

    Whether to use STARTTLS command. Possible values are True or False. Defaults to False. When set to True, use_tls is automatically set to True.

debug
    Type: int
    Default: 0

    Whether to activate debug messages. If set to 1 LOG_DEBUG messages will be sent to syslog. If set to 2, messages will be printed to STDERR, but no message will be sent to syslog, useful when testing. The default value (0) will generate just the needed messages and send them to syslog. If you set this to >2 passwords won't be masked when printing to STDERR. They'll be masked if they are sent to syslog.

SEE ALSO

nbsmtp(8)

nbSMTP Home Page: http://nbsmtp.ferdyx.org

BUGS

Please report bugs to <nbsmtp@ferdyx.org>

AUTHORS

Fernando J. Pereda <ferdy@ferdyx.org>

Ricardo Cervera Navarro <ricardo@zonasiete.org> (Retired)