Question
Postfix setup with GMail relay
Hello, whenever I see people discussing Postfix configuration it seems they are looking to do two things mostly:
configure a local SMTP server on their machine, and have each mail sent to this address forwarded to their own GMail account
have GMail use their own SMTP server to send email from GMail using their server
I’m trying to do something which seems a bit different for me: I have one GMail email (say root-domain@gmail.com) and I’d like to use it so that each time someone uses echo "hello" | mail <address>
, the mail be sent through GMail as a relay to <address> a bit like if it was using a mail program – is this possible?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×