How to use gmail accounts to send alert emails

What is the correct config to setup email with google? Older posts showing solutions are not working.

linux ubuntu 20

  • Package Version:
    5.0.13

using port 587, smpt.gmail.com, use tls is true

I keep getting a generic sending email failed to smtp.gmail.com:587

I believe google now requires using an app password for SMTP authentication. See Sign in with app passwords - Gmail Help

You would use the app password as the smtp server password.

I tried using a test from msmtpc and it passed. Emails don’t go through using graylog however.

Can you post the message you are seeing in your server.log?

Thanks.

How do we get that from a docker container?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.