sendmail
Description
sendmail is used to send messages to other users using their system alias.
Prerequisites
Your system and the system of the receiver both need to have maild running
Received mails are stored in /var/mail
Mails are textfiles that you can view using vi
You will be alerted about unread emails on the terminal
Installation/Removal
apt install sendmail & apt remove sendmail
apt install sendmail
apt remove sendmail
Syntax
sendmail [username] [optional: "a short message"]
Use /etc/default/sendmail.conf` to configure the options listed below.
/etc/default/sendmail.conf`
forward_external=[on/off] — toggle the forwarding of in-game messages to your real world email address (default=on)
forward_external=[on/off]
Example(s):
Send a normal multi-line mail:
wikidemo@wikidemo_server:/etc/apt/# sendmail wikidemo
Send a short -oneline message-:
wikidemo@wikidemo_server:/etc/apt/# sendmail wikidemo "Hack the planet!"