AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Cloud mail.ru not working3/11/2023 You should receive the email at your email address. echo "This is the body of the email" | mail -s "This is the subject line" root.You may now test that it works by sending an email to the root account using: For the change to take effect, run the following command: Replace your_email_address with your personal email address. etc/aliases# See man 5 aliases for format The full contents of the file on a default installation of Ubuntu 16.04 are as follows: To configure Postfix so that system-generated emails will be sent to your email address, you need to edit the /etc/aliases file. The last thing we want to set up is forwarding, so you’ll get emails sent to root on the system at your personal, external email address. If you change your username, the From address will also change. Note that with this configuration, the address in the From field for the test emails you send will be, where sammy is your Linux username and the domain part is the server’s hostname. You should see the message in your inbox. Now check the email address where you sent the test message. The domain part can be, ,, or any other email service provider that you use. However, in place of your_email_address, use a valid email address. In performing your own test(s), you may use the body and subject line text as-is, or change them to your liking.
0 Comments
Read More
Leave a Reply. |