Been wrecking my brains for the past 24 hrs. I have a WP hosted on GCP instance on bitnami nginx Stack. Wordpress is not able to send email from contact form.
What I did:
1. As per Google docs, only 3 mail partners are approved for use as SMTP relay. I am using Mailjet, followed every step/ word for word, still NO GO.
Tutorial followed: https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailjet
Also followed the basic config for the fqdn listed in the Jetmail documentation.
- DNS > good
- MX > good
- SPf > good
- DKIM > good
As per docs> Look in your systems logs for a status line containing status and the successful server response code (250):
Checked the test log: sudo tail -n 5 /var/log/syslog this is the following output as success.
May 15 11:04:42 instance-nginxstack-1-vm postfix/pickup: DB4B4207C0: uid=1003 from=
May 15 11:04:42 instance-nginxstack-1-vm postfix/cleanup: DB4B4207C0: message-id=<20170515110442.DB4B4207C0@instance-nginxstack-1-vm>
May 15 11:04:42 instance-nginxstack-1-vm postfix/qmgr: DB4B4207C0: email@example.com, size=318, nrcpt=1 (queue active)
May 15 11:04:42 instance-nginxstack-1-vm postfix/local: DB4B4207C0: firstname.lastname@example.org, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
May 15 11:04:42 instance-nginxstack-1-vm postfix/qmgr: DB4B4207C0: removed
I am lost. Any help/pointers would be much appreciated. If you need any further details or logs, please let me know.