On 1/14/19 9:06 AM, Viktor Dukhovni wrote:
On Jan 14, 2019, at 10:28 AM, Fazzina, Angelo <angelo.fazz...@uconn.edu> wrote:

Hi, I suspect this is wrong

relayhost = [smtp.gmail.com]:587
No, that setting is just fine.  Per the subject, the OP is having an issue
with SASL authentication to this relay.

Given:

    smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd

The thing to check is whether the table contains correct information
(without posting the password, or its base64 encoding to the list).
The OP should run:

    postmap -q "smtp.gmail.com" hash:/etc/postfix/sasl/passwd

and make sure that the output contains the correct username and
password (not posted here).


Thanks Viktor,


Your command does not return the right data, but:

postmap -q "[smtp.gmail.com]:587" hash:/etc/postfix/sasl/passwd


does return the right data.


Michael


Reply via email to