Posts tagged WORDPRESS
We systematically reject ‘apache@…’ Huh?
0
I’m continually amazed by how much hands on effort it takes to run even a small blog or community these days. The SPAM bots are continually spewing their useless garbage everywhere, the hackers and script kiddies are continually trying to break down the front door and somewhere in there is the appreciative reader in search of an answer to his/her question or just genuinely interested in the topic at hand.
Every now and then a genuine (system administration) issue or problem surfaces that deserves some time and effort. Since I’m utilizing a virtual private server (VPS) running CentOS 5.5, I’m responsible for administering and managing the server myself. I was an IBM AIX (long live SMIT) and Solaris System Administrator in a previous life so it’s not a big challenge but it can be a time consuming task. The benefits of managing my own server are still significant enough for me and I’ve learned so much about Linux, MySQL, PHP, Perl, etc. that the experience has been well worth the investment in my view.
I recently noticed that I was getting a lot of bounced email messages on the server from a number of readers that had subscribed to posts on my blog. Here’s a quick snippet of the bounced error message;
Action: failed
Status: 5.1.7
Remote-MTA: dns; mx.acme.org
Diagnostic-Code: smtp; 550 5.1.7 ... We
systematically reject 'apache@...'It seems that a few domains (example above is acme.org – changed to protect identity) were rejecting any email message with the Return-Path set to apache@hostname. In my case the Return-Path was set to apache@michaelfmcnamara.com although the From address was set to noreply@michaelfmcnamara.com. Unfortunately you can’t set (not to my knowledge anyway) the Return-Path from within WordPress administration portal. You need to manually edit wp-includes/class-phpmailer.php and set the variable $Sender to the same email address you setup within WordPress to use as your From address.
/** * Sets the Sender email (Return-Path) of the message. If not empty, * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode. * @var string */ var $Sender = 'noreply@michaelfmcnamara.com';
With that change complete I can see from the server logs (/var/log/maillog) that the Return-Path is now being properly set.
Feb 12 08:29:56 michaelfmcnamara postfix/pickup[9770]: 2B8FD2C3BB: uid=48 from=<noreply@michaelfmcnamara.com>
Feb 12 08:29:56 michaelfmcnamara postfix/cleanup[11068]: 2B8FD2C3BB: message-id=<67fa95dc7fd22d7c6cfd481d506bfd87@blog.michaelfmcnamara.com>
Feb 12 08:29:56 michaelfmcnamara postfix/qmgr[2647]: 2B8FD2C3BB: from=<noreply@michaelfmcnamara.com>, size=1729, nrcpt=1 (queue active)
Feb 12 08:29:56 michaelfmcnamara postfix/local[11070]: 2B8FD2C3BB: to=<whowhatwhen@michaelfmcnamara.com>, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=2.0.0, status=sent (forwarded as 321C72C37A)
Feb 12 08:29:56 michaelfmcnamara postfix/qmgr[2647]: 2B8FD2C3BB: removedWith that change those domains that were rejecting email from my server are now accepting them again. Just another day where I’ve learned something new.
Cheers!
Update: Thursday February 24, 2011
It seems the upgrade to WordPress 3.1 has overwritten the change I made in the file… had to update the file again!
Update: Friday April 22, 2011
It seems the upgrade to WordPress 3.1.1 has overwritten the change I made in the file again!
Gravatars – How to setup?
0
A few folks have asked how to they can setup their avatars so it shows up in the comments. The current WordPress theme I’m using is integrated with Gravatar. You simply need to visit the site and create an account using the same email address that your using on this blog. A vast majority of sites use Gravatar so your avatar will also start showing up in those sites as well.
You can sign-up for an account at this URL; http://en.gravatar.com/site/signup
Cheers!
GoDaddy Hosting and WordPress
0
It’s closing in on two months now since I migrated my content from Blogger over to my new WordPress installation at GoDaddy. I must admit that I’ve enjoyed the entire process, from researching the different hosting providers to actually migrating the content and publishing the site.In short I’d have to say that I’m pleased with GoDaddy. I know there is a lot of “hate” out there directed at GoDaddy but the solution has been on par with my expectation of what a $6.64/month hosting plan should provide. It’s no where near as fast as the servers I have at work or home but it works fine enough, what do you want for less than $10/month? The install was as simple as clicking on the “Install WordPress” icon within the GoDaddy hosting connection control panel. Although I did need to fix up the configuration after the installation since I wanted to use the hostname “blog.michaelfmcnamara.com” as opposed to just “michaelfmcnamara.com”. I should probably let folks know I also used GoDaddy to register five different domain names along with their “Deluxe” hosting plan. I should point out to those that are interested that customers automatically get an “Economy” hosting plan with each purchased domain. I only signed up for a single year and didn’t mind spending the extra dollars to try out the upgraded hosting plan.
With respect to WordPress I have just one word – AWESOME! I’ve spent quite a bit of time sifting through the cascading style sheets of the themes and dissecting the PHP code trying to understand all the ins and outs. There is literally a dizzying array of plugs-in and add-ons out there for WordPress that extend the solution’s functionality ten fold. You may have noticed that I’ve been adding a few of the more mainline plug-ins every week (don’t want to overload the site and/or detract from it’s main purpose – educating the readers).
As a side note this blog was recently reviewed by Blogged and received an 8.3 rating. If your interested or just bored why don’t you wander over and post your own review of this blog.
Cheers!
Update: August 19, 2008
I thought I would just post an update with respect to my experiences with GoDaddy. I’m happy to say that I haven’t yet had any issues or problems. The traffic to this blog continues to grow daily but the site still feels fairly responsive. I’ve also added quite a few different WordPress plug-ins and just can’t say enough good things about WordPress.
Cheers!

