Rechercher une page de manuel
smtpblast
Langue: en
Version: 113556 (mandriva - 01/05/08)
Section: 1 (Commandes utilisateur)
NAME
smtpblast - send a message with SMTPSYNOPSIS
smtpblast [options]DESCRIPTION
smtpblast is used to send a single message to a remote SMTP server.It is designed to be used from inside a .qmail file, therefore the exit codes smtpblast uses are compatible with qmail : 0 for success, 111 for deferral and 100 for permanent failure.
smtpblast tags it output lines with a starting F to mark permanent failures, a starting D to mark deferrals, and a starting O to mark successful deliveries.
smtpblast defaults to use MX record processing to determine which host to send to message to. Use the -r option to use a single predetermined host.
OPTIONS
- -C SECONDS, --connect-timeout SECONDS
- set connect timeout to SECONDS seconds. The default is 90 seconds.
- -f SENDER, --from SENDER
- set sender address. This option is mandatory, but you may pass an empty string.
- -g TEXT, --greeting TEXT
- The text to send in the HELO command. Default: the local host name.
- -i FILE, --input FILE
- Read input from FILE instead of the standard input.
- -R SECONDS, --read-timeout SECONDS
- Timeout to use for reading input from the remote host. Default is 1200, which is usually ok.
- -p PORT, --port PORT
- Use port number PORT instead of 25 (SMTP).
- -r HOST, --relayhost HOST
- Use HOST as SMTP server. Default is to use normal MX record processing. Make sure HOST likes you.
- -t RECIPIENT, --from RECIPIENT
- set recipient address. This option is mandatory, empty strings are not allowed.
- -W SECONDS, --write-timeout SECONDS
- Timeout to use for writing to the remote host. Default is 1200, which is usually ok.
- --reply-log-file FILENAME
- Log all answers we get from the SMTP server into FILENAME.
- --reply-log-fd FD
- Log all answers we get from the SMTP server to file descriptor FD. FD has to be writable and should possibly not be 1 or 2 (or else you'll flood qmails log files).
In case i screwed something up: short options use the same arguments as the long ones
SEE ALSO
qmail-command(8), RFC 821.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre