Azathoth wrote:
craven wrote:
Not sure what you mean by 'sender domain doesnt have a MX entry' is MX not for incoming mails? What should I set it to to fix that error?
It means that the recipient of email sent from your server replied with 421 Refused, saying that the sender address (www-data@cravenpublishing) has no MX. MX is for incoming mails, yes, but spam filtering (recipient's) can, and in this case probably does, check for MX existence for sender domains, which in this case was invalid because it's not a fqdn.
Quote:
The problem I'm having is that the email I submit from that contact form doesnt even show up in my mail.log??
Check PHP error logs, possibly PHP had no permission to call Postfix' sendmail utility.
Edit: but seeing that the sender of emails in the log you presented is www-data@cravenpublishing, seems like PHP does send mail.
Ah, I see. Well it has a fqdn now so that should be resolved.
Yeah, php is sending mail, and I can't see anything in my php log that would indicate an error. Here's a copy paste of my last few lines straight after I try and submit a contact form
Code:
[31-May-2012 07:03:43] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '6426' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:03:55] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '9325' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:04:26] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '385' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:05:13] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '13679' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:15:17] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '7337' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:17:13] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '12385' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:23:57] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '13461' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:24:28] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '8708' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:27:48] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '8419' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:30:44] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '9810' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:34:35] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '12351' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:38:26] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '11755' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:40:21] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '11045' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:41:19] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '3619' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:45:07] PHP Notice: XML error: EntityRef: expecting ';' at line 1297, column 93 in /var/www/ablemagazine.co.uk/wp-content/plugins/autoblogged/simplepie.php on line 778
[31-May-2012 07:46:11] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '1385' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:49:04] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '3453' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:50:59] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '12805' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:51:57] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '4090' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:52:54] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '12375' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 07:54:31] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '12633' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[31-May-2012 08:06:06] WordPress database error Unknown column 'wp_posts.post_type' in 'where clause' for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = '6936' AND comment_approved = '1' AND wp_posts.post_type NOT IN ('shop_order') ORDER BY comment_date_gmt DESC LIMIT 15 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
As you can see,just looks like some errors generated from other wordpress sites on my server.