I am running Ubuntu 16.04 on Google Cloud Compute. After completing this tutorial on sending Email with SendGrid, I am getting an error when testing sendgrid in command line:
- server3 postfix/trivial-rewrite[15407]: warning:
hash:/etc/postfix/relayhost_map lookup error for
"user@server3.<mydomain>.com.au"
server3 postfix/trivial-rewrite[15407]: warning:
sender_dependent_relayhost_maps lookup failure
server3 postfix/error[17434]: B62708488F: to=<recipient@gmail.com>,
relay=none, delay=0.24, delays=0.2/0.02/0/0.02, dsn=4.3.0,
status=deferred (address resolver failure)
Now if I look at this and try to apply some logic to it, I believe that the problem is there is no relayhost_map
for my user@server3.<mydomain>.com.au
?
Is the relay map missing for the server, or for the user? I seem to get the same error no matter which user I am sending a test email with (I have tried 3 of them that are active).
I am not sure what to do to fix this?