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 email@example.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?