HostOnNet Blog

Postfix

Looking for Linux Server Admin or WordPress Expert? We can help.

Installing postfix mail server on ubuntu

apt install postfix

If you want to sent out email from this server, select Internet Site on Postfix Configuration screen.

To see postfix configuration, run

postconf -d

To see value of specific item, for example myhostname, run

postconf -d myhostname

Testing Mail

To test, sent a test email with command


echo "Test email" | mail -s "Test email" [email protected]

Posted in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.