---
title: "#setting-postfix-mail-on-ubuntu-machine articles | Hashnode"
description: "Explore 1 articles tagged #setting-postfix-mail-on-ubuntu-machine on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/setting-postfix-mail-on-ubuntu-machine"
---

Tag

# #setting-postfix-mail-on-ubuntu-machine

1 posts · 1 followers

[Bhaskar Mehta](https://hashnode.com/@bhaskarmehta) · [Aug 16, 2023](https://hashnode.com/posts/setting-the-postfix-mail-in-ubuntu/64dc8a2ca6b5b32e4a3142b9)

### [Setting the Postfix mail in Ubuntu](https://bhaskar422.hashnode.dev/setting-the-postfix-mail-in-ubuntu?utm_source=hashnode&utm_medium=feed)

Install postfix apt install postfix install mailx apt install mailutils In the /etc/postfix/main.cf file, add - relayhost = \[smtp.gmail.com\]:587 # Location of sasl\_passwd we saved smtp\_sasl\_password\_maps = hash:/etc/postfix/sasl/sasl\_passwd ...

2 min read · [bhaskar422.hashnode.dev](https://bhaskar422.hashnode.dev/setting-the-postfix-mail-in-ubuntu?utm_source=hashnode&utm_medium=feed)
