Score:0

Alternative to Gmail Postfix relay

us flag

I have been using Gmail as a Postfix relay for years. Works perfectly. But it seems that on May 30th 2022 this will be disabled by Google. They will not allow us to use "less secure apps" that rely only on username/password authentication.

So I need a solution. I need either a way to continue using Gmail as a Postfix relay or I need an alternative to Gmail (free and that doesn't block my emails due to spam policies).

Sending email directly from the server is not an option. I need a Postfix relay.

anx avatar
fr flag
anx
related: [Postfix using OAuth2 authentication for relay host](https://unix.stackexchange.com/questions/584125/postfix-using-oauth2-authentication-for-relay-host)
ge flag
The cited Google support page includes this: _using only your username and password_. That's important; there are other ways to log in, in particular using an app-specific password (see https://serverfault.com/a/1101310/536539).
Score:3
us flag

There is an option called "App passwords" in the security tab of the Google account dashboard. It is only available after you enable 2-step verification. This option provides a single use password that can be used in Postfix relay. It seems that this option will remain available after May 30th 2022.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.