Report this

What is the reason for this report?

Email bounce (due to bad 'from' param) from yahoo on new wordpress + ubuntu 14.04 one click server image

Posted on March 10, 2015

Yahoo is bouncing emails from my new wordpress install. I am using Contact Form 7. Gmail does not bounce the exact same emails. Postfix log included below. Obviously yahoo does not like my FQDN “from” address… anyone seen this before? Anyone got a clean workaround for this?

Mar 9 23:08:26 blah postfix/pickup[27757]: 8E328600A9: uid=33 from=<www-data> Mar 9 23:08:26 blah postfix/cleanup[27874]: 8E328600A9: message-id=20b728a132dd234c6f3c0af2dd2b8d33@162.243.155.203 Mar 9 23:08:26 blah postfix/qmgr[27758]: 8E328600A9: from=www-data@WP-NewBase-052814, size=683, nrcpt=1 (queue active) Mar 9 23:08:27 blah postfix/smtp[27876]: 8E328600A9: to=blah@yahoo.com, relay=mta5.am0.yahoodns.net[98.138.112.32]:25, delay=0.54, delays=0.04/0.02/0.3/0.18, dsn=5.0.0, status=bounced (host mta5.am0.yahoodns.net[98.138.112.32] said: 501 Syntax error in parameters or arguments (in reply to MAIL FROM command)) Mar 9 23:08:27 blah postfix/cleanup[27874]: 4699660100: message-id=20150310030827.4699660100@WP-NewBase-052814 Mar 9 23:08:27 blah postfix/qmgr[27758]: 4699660100: from=<>, size=2658, nrcpt=1 (queue active) Mar 9 23:08:27 blah postfix/bounce[27877]: 8E328600A9: sender non-delivery notification: 4699660100 Mar 9 23:08:27 blah postfix/qmgr[27758]: 8E328600A9: removed Mar 9 23:08:27 blah postfix/local[27878]: 4699660100: to=www-data@WP-NewBase-052814, relay=local, delay=0.02, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 9 23:08:27 blah postfix/qmgr[27758]: 4699660100: removed



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Edit the following file:

sudo nano /etc/postfix/main.cf

Find the myhostname directive and set it to your website’s domain name:

myhostname = example.com

Save the file and restart postfix:

sudo service postfix restart

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.