smta

Langue: en

Version: 2006-06 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

smta - An SMTP password-caching daemon

SYNOPSIS

Daemon mode:
smta -d [-b] [-l <number>] [-t <timer>] [-socket]
MTA mode:
smta [-e | -mta <mta>] [-socket]

DESCRIPTION

When started in daemon mode, smta requests a password and starts waiting for connections to its Unix socket.

When started in mta mode, smta attempts to connect to an smta daemon, retrieves the cached password, and runs the specified MTA.

OPTIONS

-h, --help
Print help.
-d, --daemon
Start smta in daemon mode. It will request a password.
-l, --listen
Specify listening number (default = 2).
-t, --timer
Specify timer value (default = 0).
-b, --background
Run in the background.
-f, --force
Force socket open.
-s, --socket
Specify Unix socket (default = $HOME/.smta.sock).
-m, --mta
Specify MTA (either msmtp or ssmtp).
-e, --exit
Terminate smta daemon. You must specify the path of the socket file if it is not in the default location.

EXAMPLES

To use smta with mutt and msmtp, include the following in your .muttrc file:

set sendmail=/usr/bin/smta -m msmtp -a accountname

Start smta and enter your password when prompted to do so before running mutt:

smta -d -b -t 3600 mutt

When you are finished running mutt, terminate the smta daemon:

smta -e  

AUTHORS

smta was written by Andrea Marchesini <bakunin@autistici.org>

SEE ALSO

mutt(1), mail(1), msmtp(1), ssmtp(1)