<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #710: Incorrect email address for Sam on Transition Culture</title>
    <link>http://localhost:8080/trac/ticket/710</link>
    <description>&lt;p&gt;
I'm seeing quite a few emails like this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;From: Mail Delivery System &amp;lt;Mailer-Daemon@parrot.webarch.net&amp;gt;
Date: Tue, 01 Apr 2014 08:04:28 +0100
To: tc@parrot.webarch.net
Subject: Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
  samrossiter@transitionentwork.org
    Unrouteable address
------ This is a copy of the message, including all the headers. ------
Return-path: &amp;lt;tc@parrot.webarch.net&amp;gt;
Received: from tc (uid=1011)
        by parrot.webarch.net with local (Exim 4.80)
        (envelope-from &amp;lt;tc@parrot.webarch.net&amp;gt;)
        id 1WUskG-0005Rv-Sa
        for samrossiter@transitionentwork.org; Tue, 01 Apr 2014 08:04:28 +0100
To: samrossiter@transitionentwork.org
Subject: [Wordfence Alert] Problems found on Transition Culture
X-PHP-Originating-Script: 1011:class-phpmailer.php
Date: Tue, 1 Apr 2014 07:04:28 +0000
From: WordPress &amp;lt;wordpress@transitionculture.org&amp;gt;
Message-ID: &amp;lt;11e64e1b3cdb24f69d0069ecdc224524@transitionculture.org&amp;gt;
X-Priority: 3
X-Mailer: PHPMailer 5.2.4 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Wordfence found the following new issues on "Transition Culture".
NOTE: Upgrading to the paid version of Wordfence gives you two factor authentication (sign-in via cellphone)
and country blocking which are both effective methods to block attacks.
You can also schedule when your scans occur with Wordfence Premium.
Click here to sign-up for the Premium version of Wordfence now.
https://www.wordfence.com/wordfence-signup/
Alert generated at Tuesday 1st of April 2014 at 08:04:28 AM
Critical Problems:
* The Plugin "Spam Destroyer" needs an upgrade.
&lt;/pre&gt;</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/710</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 01 Apr 2014 12:15:53 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/710#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/710#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/710" title="maintenance: Incorrect email address for Sam on Transition Culture (closed: fixed)"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;blockquote&gt;
&lt;p&gt;
samrossiter@…
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
Unrouteable address
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;
The error is caused by a typo in the domain name.
&lt;/p&gt;
&lt;p&gt;
I was intending to update Sam's address in the user table, but he doesn't have an account:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
su-user tc
cd sites/default/
wp user list
&lt;/pre&gt;&lt;p&gt;
And there are no matches in the database when using the wp command line tool:
&lt;/p&gt;
&lt;pre class="wiki"&gt;wp search-replace "samrossiter@transitionentwork.org" "samrossiter@transitionnetwork.org" --dry-run
wp search-replace "transitionentwork.org" "transitionnetwork.org" --dry-run
&lt;/pre&gt;&lt;p&gt;
So grepping the files:
&lt;/p&gt;
&lt;pre class="wiki"&gt;grep -rl transitionentwork.org .
&lt;/pre&gt;&lt;p&gt;
No match, grepping the database dump:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
grep transitionentwork.org /var/backups/mysql/sqldump/tc.sql
... INSERT INTO ... ('alertEmails','samrossiter@transitionentwork.org'), ...
&lt;/pre&gt;&lt;p&gt;
This isn't seralized so it's easy to update on the !MySQL command line:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
mysql tc
mysql&amp;gt; describe r0bh_wfConfig;
+-------+--------------+------+-----+---------+-------+
| Field | Type         | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+-------+
| name  | varchar(100) | NO   | PRI | NULL    |       |
| val   | longblob     | YES  |     | NULL    |       |
+-------+--------------+------+-----+---------+-------+
mysql&amp;gt; update r0bh_wfConfig set val="samrossiter@transitionnetwork.org" where name="alertEmails";
mysql&amp;gt; select * from r0bh_wfConfig where name="alertEmails";
+-------------+-----------------------------------+
| name        | val                               |
+-------------+-----------------------------------+
| alertEmails | samrossiter@transitionnetwork.org |
+-------------+-----------------------------------+
&lt;/pre&gt;&lt;p&gt;
That should have fixed it.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>