Kết nối gmail với odoo community

Chào các bác,

Theo như lời khuyên của các cao thủ thì nên triển khai odoo trên linux. Hôm nay em đã sắm được một em vps linux của windowsazure. Mọi thứ em làm bình thường nhưng đang gặp vấn đề là cấu hình email gửi đi.

Mình dùng tài khoản gmail setup cho outgoing email. Sử dụng mail đó cho odoo cài trên window thì bình thường. Nhưng cho linux thì báo lỗi:

Connection Test Failed! Here is what we got instead: 534 5.7.14 Please log in via your web browser and 5.7.14 then try again. 5.7.14 Learn more at 5.7.14 https://support.google.com/mail/answer/78754 x7sm2565150pbt.16 - gsmtp

Mình đọc thì là do dns server của linux.
https://www.odoo.com/forum/help-1/question/connection-test-failed-error-when-testing-the-outgoing-email-configuration-17566

Also make sure after the DNS issue is resolved that the IP or domain name the ERP is hosted on is allowed on the mail server to generate SMTP records. If it's a domain name you might need to add SPF(?) text records to your DNS server that indicate that mail can originate from another external IP address, otherwise your ERP messages will be inadvertently blocked by mail servers thinking there is some email spoofing occurring.

Mình đã sửa file /etc/resolvconf/resolv.conf.d/base với nội dung:

nameserver 8.8.8.8 nameserver 8.8.4.4 v=spf1 a mx -all

Nhưng vẫn chưa chạy được. Các bác cao thủ xin chỉ giáo giúp mình :)
Xin cảm ơn