A spear-phishing attack vector is an email attack scenario that is used to send malicious emails to target/specific user(s). In order to spoof your own email address, you will require a sendmail server. Change the config setting to SENDMAIL=ON. If you do not have sendmail installed on your Debian-based machine, then it can be downloaded by entering the following command:
apt install sendmail