Postfix mail server! How to send a test mail to test Postfix mail server?

First install postfix dependencies required to send mail


#apt-get install mailutils

To send a test mail use following command

#echo "This is the TEST mail." | mail -s "TEST MAIL - Please IGNORE" learn_share@gmail.com

If Postfix configuration is correct, then you will receive a mail in your inbox.

Sample screenshot.





Comments

Popular posts from this blog

Solution to Moodle Error: Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.

(Solved) (Fixed )MariaDB Unmet Dependencies on Ubuntu 20.04.