Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
| docs:guide-user:services:email:smtp.client [2024/12/14 23:09] – [Description] stokito | docs:guide-user:services:email:smtp.client [2024/12/14 23:18] – bb sendmail usage stokito | ||
|---|---|---|---|
| Line 141: | Line 141: | ||
| ===== Using BusyBox sendmail ===== | ===== Using BusyBox sendmail ===== | ||
| - | |||
| - | - [[https:// | ||
| - | - [[https:// | ||
| ==== Description ==== | ==== Description ==== | ||
| - | The BusyBox sendmail is a smallest possible implementation but it must be compiled. It works only in smarthost mode. | + | The BusyBox sendmail is a smallest possible implementation but it must be compiled. |
| + | It works only in smarthost mode. TLS is not supported but can be used with '' | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ==== Installation ==== | ==== Installation ==== | ||
| Line 158: | Line 159: | ||
| Instead of the variable you may use an option '' | Instead of the variable you may use an option '' | ||
| - | You may also need '' | + | You may also need '' |
| + | |||
| + | Usage: | ||
| + | < | ||
| + | sendmail [-tv] [-f SENDER] [-amLOGIN 4< | ||
| + | [-w SECS] [-H 'PROG ARGS' | -S HOST] [RECIPIENT_EMAIL]... | ||
| + | |||
| + | Read email from stdin and send it | ||
| + | Standard options: | ||
| + | -t Read additional recipients from message body | ||
| + | -f SENDER For use in MAIL FROM:< | ||
| + | Default: -auUSER, or username of current UID | ||
| + | -o OPTIONS Various options. -oi implied, others are ignored | ||
| + | -i -oi synonym, implied and ignored | ||
| + | |||
| + | Busybox specific options: | ||
| + | -v Verbose | ||
| + | -w SECS Network timeout | ||
| + | -H 'PROG ARGS' | ||
| + | openssl s_client -quiet -tls1 -starttls smtp -connect smtp.gmail.com: | ||
| + | openssl s_client -quiet -tls1 -connect smtp.gmail.com: | ||
| + | $SMTP_ANTISPAM_DELAY: | ||
| + | -S HOST[: | ||
| + | -amLOGIN Log in using AUTH LOGIN | ||
| + | -amPLAIN or AUTH PLAIN | ||
| + | (-amCRAM-MD5 not supported) | ||
| + | -auUSER Username for AUTH | ||
| + | -apPASS Password for AUTH | ||
| + | |||
| + | If no -a options are given, authentication is not done. | ||
| + | If -amLOGIN is given but no -au/-ap, user/ | ||
| + | Other options are silently ignored; -oi is implied. | ||
| + | Use makemime to create emails with attachments. | ||
| + | </ | ||