On 2017-10-26 11:23, wie...@porcupine.org wrote:
Viktor Dukhovni:


> On Oct 26, 2017, at 12:12 PM, sru...@gemneye.org wrote:
>
> #relayhost = [smtp.gmail.com]:587
> #smtpd_sasl_auth_enable = yes

Look closely, that line has "smtpd_..." while all the ones below
have "smtp_...".  Check the docs.

You need to fix that, because Google does not emable SASL AUTH
over a PLAINTEXT connection (I just verified that).

        Wietse]

Yep. That was it. Lack of knowledge of that setting certainly did not help. That setting has been in my postfix config for years. I had it grouped with other settings like, smtpd_sasl_type and smtpd_sasl_path, so the "d" did not look odd next to those settings. Plus, since my non-authenticated configuration has worked I had no reason to assume that setting was wrong.

Although, now that I have seen this in action, it does not work as I expected. Now, everything looks like it comes from my username@gmail account rather than the account where the email originated (the server running postfix). This did not happen when using my ISPs email address as the relayhost.

Thank you for taking the time to look and pointing out the problem!

Reply via email to