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

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.

Moodle OAuth 2. This account is pending email confirmation! Solved

[Solved][Proxmox update] Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 51.79.159.216 443]