Hi!
I am trying to use Google mail smtp-server to send all my OMV notifications.
Bellow is my configuration:
With following settings:
SMTP Server: smtp.google.com
SMTP Port: 587
Use SSL/TLS: On
A window pops up when I click on the button "Send a Test Mail" saying it was sent successfully.
But when I look at the log file /var/log/mal.info it says
Jul 29 19:43:59 nas postfix/smtp[16154]: warning: relayhost configuration problem
Jul 29 19:43:59 nas postfix/smtp[16154]: AE17B4CB92: to=<thunderlight1@gmail.com>, relay=none, delay=4780, delays=4775/0.04/5/0, dsn=4.3.5, status=deferred (Host or domain name not found. Name service error for name=smtp.google.com type=AAAA: Host not found)
I can do a "dig mtp.google.com", so the is no issue resolving the DNS-name.
cesar@nas:/var/log$ dig smtp.google.com
; <<>> DiG 9.9.5-9+deb8u13-Debian <<>> smtp.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 60112
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;smtp.google.com. IN A
Any suggestion on how to fix this?
Regards,
Cesar da Silva