On 29/07/2020 15.17, Patrick Shanahan wrote:
* Andrei Borzenkov <arvidjaar(a)gmail.com>
That's not "sending e-mail from gmail with another From address", this
is "using gmail SMTP server as relay". Yes, it is possible, but to my
Google automatically rewrites the From line of any email you send via
its SMTP server to the default Send mail as email address in your
Gmail or Google Apps email account Settings.
Which rather defeats the purpose of sending using different e-mail in
the first place.
I do not have a second account to test (or better I do have but they
are using an external SMTP server).
I send mail, this one also, via gmail. The way is to configure postfix on
your local machine to use gmail as a relay
relayhost = [smtp.gmail.com]:587
have been doing it that way for years.
Same as I do (but on port 25), but today my post does not arrive to the
list. I have the confirmation on the log, though:
<2.6> 2020-07-29T09:11:32.278370+02:00 Telcontar postfix 1956 - -
Trusted TLS connection established to
smtp.gmail.com[220.127.116.11]:25: TLSv1.2 with cipher
ECDHE-ECDSA-CHACHA20-POLY1305 (256/256 bits)
Cheers / Saludos,
Carlos E. R.
(from 15.1 x86_64 at Telcontar)