<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #1: Trac initial install and configuration</title>
    <link>https://trac.crin.org/trac/ticket/1</link>
    <description>&lt;p&gt;
Steps taken doing the initial install and configuration of Trac at &lt;a href="https://trac.crin.org/trac"&gt;https://trac.crin.org/trac&lt;/a&gt;
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/1</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 11:44:02 GMT</pubDate>
      <title>status changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:00:06 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:2</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:2</guid>
      <description>
        &lt;p&gt;
Following the docs at:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://trac.edgewall.org/wiki/TracOnDebian"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/wiki/TracOnDebian&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://trac.edgewall.org/wiki/0.12/TracInstall"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/wiki/0.12/TracInstall&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://trac.edgewall.org/wiki/0.12/TracModWSGI#Recommendedtrac.wsgiscript"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/wiki/0.12/TracModWSGI#Recommendedtrac.wsgiscript&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://trac.edgewall.org/wiki/0.12/TracModWSGI#UsingDigestAuthentication"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/wiki/0.12/TracModWSGI#UsingDigestAuthentication&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Install packages:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install trac trac-email2trac apache2-mpm-itk libapache2-mod-wsgi
&lt;/pre&gt;&lt;p&gt;
Create directory for trac:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mkdir /var/www/trac
&lt;/pre&gt;&lt;p&gt;
Edit &lt;tt&gt;/root/.profile&lt;/tt&gt; and &lt;tt&gt;/var/www/trac/.profile&lt;/tt&gt; and add, see,  see &lt;a class="ext-link" href="http://trac.edgewall.org/wiki/0.12/TracInstall#RunningtheStandaloneServer"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/wiki/0.12/TracInstall#RunningtheStandaloneServer&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1
&lt;/pre&gt;&lt;p&gt;
Add trac user:
&lt;/p&gt;
&lt;pre class="wiki"&gt;adduser --system --disabled-password --disabled-login --group --home=/var/www/trac trac
chown -R trac:trac /var/www/trac
&lt;/pre&gt;&lt;p&gt;
Change to the trac user and run things as that user:
&lt;/p&gt;
&lt;pre class="wiki"&gt;su - trac -s /bin/bash
&lt;/pre&gt;&lt;p&gt;
Set up the env and create a passwd file and grant perms:
&lt;/p&gt;
&lt;pre class="wiki"&gt;trac-admin /var/www/trac initenv
mkdir /var/www/trac/apache
trac-admin /var/www/trac deploy /var/www/trac/apache
htdigest -c /var/www/trac/.htpasswd trac chris
trac-admin /var/www/trac permission add chris admin
trac-admin /var/www/trac permission add chris TRAC_ADMIN
&lt;/pre&gt;&lt;p&gt;
Enable some apache modules:
&lt;/p&gt;
&lt;pre class="wiki"&gt;a2enmod ssl auth_digest
&lt;/pre&gt;&lt;p&gt;
Create a apache config file at &lt;tt&gt;/etc/apache2/sites-available/trac.conf&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;&amp;lt;VirtualHost trac.crin.org:80&amp;gt;
        &amp;lt;IfModule mpm_itk_module&amp;gt;
                AssignUserID trac trac
                MaxClientsVHost 60
        &amp;lt;/IfModule&amp;gt;
        ServerName trac.crin.org
        ServerAdmin chris@webarchitects.co.uk
        Redirect / https://trac.crin.org/
&amp;lt;/VirtualHost&amp;gt;
&amp;lt;IfModule mod_ssl.c&amp;gt;
        &amp;lt;VirtualHost trac.crin.org:443&amp;gt;
                &amp;lt;IfModule mpm_itk_module&amp;gt;
                        AssignUserID trac trac
                        MaxClientsVHost 60
                &amp;lt;/IfModule&amp;gt;
                ServerName trac.crin.org
                ServerAdmin chris@webarchitects.co.uk
                # DocumentRoot /var/www/html
                #LogLevel info ssl:warn
                ErrorLog ${APACHE_LOG_DIR}/trac.error.log
                CustomLog ${APACHE_LOG_DIR}/trac.access.log combined
                SSLEngine on
                SSLCertificateFile      /etc/ssl/gandi/trac.crt.pem
                SSLCertificateKeyFile /etc/ssl/gandi/trac.key.pem
                SSLCACertificateFile /etc/ssl/gandi/root.pem
                # http://trac.edgewall.org/wiki/0.12/TracInstall#cgi-bin
                SetEnv PKG_RESOURCES_CACHE_ZIP_MANIFESTS 1
                Alias /trac/chrome/common /var/www/trac/apache/htdocs/common
                Alias /trac/chrome/site /var/www/trac/apache/htdocs/site
                &amp;lt;Directory "/var/www/trac/apache/htdocs"&amp;gt;
                        Require all granted
                &amp;lt;/Directory&amp;gt;
                WSGIScriptAlias /trac /var/www/trac/apache/cgi-bin/trac.wsgi
                &amp;lt;Directory "/var/www/trac/apache/cgi-bin/"&amp;gt;
                        WSGIApplicationGroup %{GLOBAL}
                        SSLOptions +StdEnvVars
                        Require all granted
                &amp;lt;/Directory&amp;gt;
                &amp;lt;Location "/trac/login"&amp;gt;
                        AuthType Digest
                        AuthName "trac"
                        AuthDigestDomain /trac
                        AuthUserFile /var/www/trac/.htpasswd
                        Require valid-user
                &amp;lt;/Location&amp;gt;
                RedirectMatch ^/$ https://trac.crin.org/trac
                BrowserMatch "MSIE [2-6]" \
                                nokeepalive ssl-unclean-shutdown \
                                downgrade-1.0 force-response-1.0
                BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
        &amp;lt;/VirtualHost&amp;gt;
&amp;lt;/IfModule&amp;gt;
&lt;/pre&gt;&lt;p&gt;
Sort out TLS cert:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
mkdir /etc/ssl/gandi
chmod 700 /etc/ssl/gandi
cd /etc/ssl/gandi
openssl req -nodes -newkey rsa:2048 -sha256 -keyout trac.key.pem -out trac.csr.pem
wget "https://www.gandi.net/static/CAs/GandiStandardSSLCA2.pem"
wget "http://crt.usertrust.com/USERTrustRSAAddTrustCA.crt"
openssl x509 -inform DER -in USERTrustRSAAddTrustCA.crt -out USERTrustRSAAddTrustCA.pem
cat USERTrustRSAAddTrustCA.pem &amp;gt; root.pem
cat GandiStandardSSLCA2.pem &amp;gt;&amp;gt; root.pem
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:14:57 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:3</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:3</guid>
      <description>
        &lt;p&gt;
The above comment didn't result in a email, so...
&lt;/p&gt;
&lt;p&gt;
Configured a mailserver:
&lt;/p&gt;
&lt;pre class="wiki"&gt;dpkg-reconfigure exim4-config
&lt;/pre&gt;&lt;p&gt;
Set these variables in &lt;tt&gt;/var/www/trac/conf/trac.ini&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[notification]
admit_domains =  trac.crin.org, crin1.crin.org
smtp_default_domain = trac.crin.org
smtp_from = trac@trac.crin.org
smtp_replyto = trac@trac.crin.org
&lt;/pre&gt;&lt;p&gt;
Note that a MX record and a way to do incoming email hasn't been sorted out so the above will need changin when it is.
&lt;/p&gt;
&lt;p&gt;
Testing to see if a email is now sent...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:26:42 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:4</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:4</guid>
      <description>
        &lt;p&gt;
That didn't work, from the &lt;tt&gt;/var/log/exim4/mainlog&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015-04-28 12:14:57 1Yn4Ph-0002BL-61 ASPMX.L.GOOGLE.COM [2a00:1450:4013:c01::1a] Network is unreachable
2015-04-28 12:14:59 1Yn4Ph-0002BL-61 ** chris@webarchitects.co.uk R=dnslookup T=remote_smtp X=TLS1.2:RSA_AES_128_CBC_SHA1:128 DN="C=GB,ST=South Yorkshire,L=Sheffield,O=webarchitects.coop,CN=mx.webarch.net": SMTP error from remote mail server after RCPT TO:&amp;lt;chris@webarchitects.co.uk&amp;gt;: host mx.webarch.net [81.95.52.71]: 550 Invalid HELO
2015-04-28 12:14:59 1Yn4Ph-0002BL-61 ** jonas@crin.org R=dnslookup T=remote_smtp X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com": SMTP error from remote mail server after end of data: host ASPMX.L.GOOGLE.COM [74.125.136.27]: 550-5.7.1 [93.95.228.179      12] Our system has detected that this message is\n550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail,\n550-5.7.1 this message has been blocked. Please visit\n550-5.7.1 http://support.google.com/mail/bin/answer.py?hl=en&amp;amp;answer=188131 for\n550 5.7.1 more information. e2si17652766wij.118 - gsmtp
&lt;/pre&gt;&lt;p&gt;
The &lt;tt&gt;/etc/mailname&lt;/tt&gt; has been set to &lt;tt&gt;crin1.crin.org&lt;/tt&gt; so the only reason I can think the HELO was crin1 is that exim4 hadn't been restarted, I have now done that so testing email again...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:28:36 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:5</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:5</guid>
      <description>
        &lt;p&gt;
Still getting:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015-04-28 12:26:43 1Yn4b4-0002HK-HM ** chris@webarchitects.co.uk R=dnslookup T=remote_smtp X=TLS1.2:RSA_AES_128_CBC_SHA1:128 DN="C=GB,ST=South Yorkshire,L=Sheffield,O=webarchitects.coop,CN=mx.webarch.net": SMTP error from remote mail server after RCPT TO:&amp;lt;chris@webarchitects.co.uk&amp;gt;: host mx.webarch.net [81.95.52.71]: 550 Invalid HELO
&lt;/pre&gt;&lt;p&gt;
Have edited &lt;tt&gt;/etc/hostname&lt;/tt&gt; to crin1.crin.org and trying again...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:32:11 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:6</guid>
      <description>
        &lt;p&gt;
Still the same error:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015-04-28 12:28:37 1Yn4cu-0002MR-6V ** chris@webarchitects.co.uk R=dnslookup T=remote_smtp X=TLS1.2:RSA_AES_128_CBC_SHA1:128 DN="C=GB,ST=South Yorkshire,L=Sheffield,O=webarchitects.coop,CN=mx.webarch.net": SMTP error from remote mail server after RCPT TO:&amp;lt;chris@webarchitects.co.uk&amp;gt;: host mx.webarch.net [81.95.52.71]: 550 Invalid HELO
&lt;/pre&gt;&lt;p&gt;
Added:
&lt;/p&gt;
&lt;pre class="wiki"&gt;primary_hostname='crin1.crin.org'
&lt;/pre&gt;&lt;p&gt;
To &lt;tt&gt;/etc/exim4/update-exim4.conf.conf&lt;/tt&gt; and ran &lt;tt&gt;update-exim4.conf&lt;/tt&gt; and &lt;tt&gt;service exim4 restart&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
See if that worked...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:41:48 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:7</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:7</guid>
      <description>
        &lt;p&gt;
Have uncommented these lines in &lt;tt&gt;/etc/exim4//exim4.conf.template&lt;/tt&gt; and run &lt;tt&gt;update-exim4.conf&lt;/tt&gt; and &lt;tt&gt;service exim4 restart&lt;/tt&gt; and testing again, if this doesn't work I'll install postfix.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:44:15 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:8</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:8</guid>
      <description>
        &lt;p&gt;
Progress:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015-04-28 12:41:49 1Yn4pg-0002tH-C0 ** chris@webarchitects.co.uk R=dnslookup T=remote_smtp: SMTP error from remote mail server after HELO 'crin1.crin.org': host mx.webarch.net [81.95.52.71]: 501 Syntactically invalid HELO argument(s)
&lt;/pre&gt;&lt;p&gt;
Edited these two files, &lt;tt&gt;./exim4.conf.localmacros ./update-exim4.conf.conf&lt;/tt&gt; to remove the single quotes...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 12:46:37 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:9</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:9</guid>
      <description>
        &lt;p&gt;
Emailing of tickets and comments out now works!
&lt;/p&gt;
&lt;p&gt;
I'll next install the Estimation and Time Tracking plugin, &lt;a class="ext-link" href="http://trac-hacks.org/wiki/TimingAndEstimationPlugin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac-hacks.org/wiki/TimingAndEstimationPlugin&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 13:03:23 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:10</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:10</guid>
      <description>
        &lt;p&gt;
Installing &lt;a class="ext-link" href="http://trac-hacks.org/wiki/TimingAndEstimationPlugin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac-hacks.org/wiki/TimingAndEstimationPlugin&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;su - trac -s /bin/bash
svn co http://trac-hacks.org/svn/timingandestimationplugin/branches/trac1.0
cd trac1.0/
python setup.py bdist_egg
cp dist/timingandestimationplugin-1.4.6-py2.7.egg /var/www/trac/plugins/
&lt;/pre&gt;&lt;p&gt;
Edit &lt;tt&gt;~/conf/trac.ini&lt;/tt&gt; and add to the end of the file:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[components]
timingandestimationplugin.* = enabled
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 13:04:41 GMT</pubDate>
      <title>hours changed; totalhours, billable set</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:11</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:11</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;4&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;4&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;billable&lt;/strong&gt;
              unset
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Recording time spent so far today to test the timing plugin.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 28 Apr 2015 13:21:14 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:12</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:12</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4&lt;/em&gt; to &lt;em&gt;4.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
To get the plugin working I also had to run:
&lt;/p&gt;
&lt;pre class="wiki"&gt;trac-admin /var/www/trac upgrade
&lt;/pre&gt;&lt;p&gt;
Some other config changes in &lt;tt&gt;~/conf/trac.ini&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[ticket]
default_owner = chris
[trac]
base_url = https://trac.crin.org/trac
secure_cookies = true
[timeline]
changeset_show_files = 1
default_daysback = 90
max_daysback = 3650
ticket_show_component = true
ticket_show_details = true
&lt;/pre&gt;&lt;p&gt;
Still not seeing comments show on the Timeline, not sure why, see &lt;a class="ext-link" href="http://trac.edgewall.org/ticket/6519"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/ticket/6519&lt;/a&gt; but that can wait...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 13:01:37 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:13</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:13</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.25&lt;/em&gt; to &lt;em&gt;4.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Some tweaks made to the setup today.
&lt;/p&gt;
&lt;p&gt;
Comments now show on the Timeline if "Ticket updates" is ticked, &lt;a href="https://trac.crin.org/trac/timeline"&gt;https://trac.crin.org/trac/timeline&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The CRIN favicon was downloaded into &lt;tt&gt;/var/www/trac/apache/htdocs/site/&lt;/tt&gt; and referenced from &lt;tt&gt;trac.ini&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[project]
icon = site/favicon.ico
&lt;/pre&gt;&lt;p&gt;
The &lt;tt&gt;/etc/apache2/envvars&lt;/tt&gt; file had the following added to it:
&lt;/p&gt;
&lt;pre class="wiki"&gt;# http://trac.edgewall.org/wiki/0.12/TracInstall#RunningtheStandaloneServer
export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1
&lt;/pre&gt;&lt;p&gt;
The Apache VirtualHost was changed to get another site working:
&lt;/p&gt;
&lt;pre class="wiki"&gt;&amp;lt;VirtualHost *:80&amp;gt;
&amp;lt;VirtualHost *:443&amp;gt;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 15:05:34 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:14</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:14</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.5&lt;/em&gt; to &lt;em&gt;4.65&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Enabling email2trac, which would allow tickets to be commented on via email will need a SMTP account to use, at the moment crin.org email is done by Google. So we either need to create an account there or I could create and use a (tmp?) account on the Webarchitects mailserver (I don't think one can be created at 1984.is as there isn't a hosting package on the account).
&lt;/p&gt;
&lt;p&gt;
I don't want to enable incomming email on crin1 as we would then have the overhead or running anti-spam applications.
&lt;/p&gt;
&lt;p&gt;
The best thing to do for now might be to set a MX record for trac.crin.org and set it up on the Webarchitects mailserver as I know how to do this whereas I haven't used Google for this.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 15:52:03 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:15</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:15</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.35&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.65&lt;/em&gt; to &lt;em&gt;5.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
MX record created and also email account.
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install fetchmail
&lt;/pre&gt;&lt;p&gt;
Edit &lt;tt&gt;/etc/email2trac.conf&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[DEFAULT]
project: /var/www/trac
&lt;/pre&gt;&lt;p&gt;
Create a &lt;tt&gt;~/.fetchmailrc&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;poll mail.webarch.net with proto IMAP and options no dns
port 993
auth password
user 'trac.trac.crin.org' there with password 'XXX' is 'trac' here options ssl
sslfingerprint '93:4C:E0:98:B4:89:84:4F:A4:ED:45:15:51:A5:AB:F2'
mda "/usr/bin/email2trac"
&lt;/pre&gt;&lt;p&gt;
And it seems to run fine:
&lt;/p&gt;
&lt;pre class="wiki"&gt;su - trac -s /bin/bash
fetchmail
fetchmail: No mail for trac.trac.crin.org at mail.webarch.net
&lt;/pre&gt;&lt;p&gt;
So going to try repliying to this via email...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 15:54:08 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:16</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:16</guid>
      <description>
        &lt;pre class="wiki"&gt;This is a test reply by email.
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 16:06:34 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:17</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:17</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.17&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.0&lt;/em&gt; to &lt;em&gt;5.17&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Each year when the &lt;tt&gt;mail.webarch.net&lt;/tt&gt; TLS certificate is updated we will need to update the &lt;tt&gt;~/.fetchmailrc&lt;/tt&gt; files with the new one, you can get it like this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;fetchmail -v -p imap -u trac.trac.crin.org mail.webarch.net | grep -i fingerprint
&lt;/pre&gt;&lt;p&gt;
The email worked but I noticed the times are wrong:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install rdate
date ; rdate ntp.demon.co.uk ; date
Wed Apr 29 15:57:14 GMT 2015
Wed Apr 29 15:58:34 GMT 2015
&lt;/pre&gt;&lt;p&gt;
So ntp was installed:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install ntp
&lt;/pre&gt;&lt;p&gt;
And it seems to be running OK:
&lt;/p&gt;
&lt;pre class="wiki"&gt;service ntp status
* ntp.service - LSB: Start NTP daemon
   Loaded: loaded (/etc/init.d/ntp)
   Active: active (running) since Wed 2015-04-29 16:00:07 GMT; 24s ago
   CGroup: /system.slice/ntp.service
           `-24809 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 112:117
Apr 29 16:00:07 CRIN1 ntpd[24809]: proto: precision = 0.144 usec
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Apr 29 16:00:07 CRIN1 ntp[24802]: Starting NTP server: ntpd.
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listen and drop on 1 v6wildcard :: UDP 123
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listen normally on 2 lo 127.0.0.1 UDP 123
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listen normally on 3 eth0 93.95.228.179 UDP 123
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listen normally on 4 lo ::1 UDP 123
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listen normally on 5 eth0 fe80::5054:5dff:fe5f:e4b3 UDP 123
Apr 29 16:00:07 CRIN1 ntpd[24809]: peers refreshed
Apr 29 16:00:07 CRIN1 ntpd[24809]: Listening on routing socket on fd #22 for interface updates
&lt;/pre&gt;&lt;p&gt;
Also did this for crin2.
&lt;/p&gt;
&lt;p&gt;
Some email settings were changed in &lt;tt&gt;conf/trac.ini&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[notification]
always_notify_owner = true
always_notify_reporter = true
&lt;/pre&gt;&lt;p&gt;
And I'm going to test with another email...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 16:08:41 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:18</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:18</guid>
      <description>
        &lt;pre class="wiki"&gt;This is another email test.
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 16:15:22 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:19</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:19</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.17&lt;/em&gt; to &lt;em&gt;5.27&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Set up a crontab for the trac user:
&lt;/p&gt;
&lt;pre class="wiki"&gt;# m h  dom mon dow   command
*/5 * * * * fetchmail
&lt;/pre&gt;&lt;p&gt;
Although email in is now working email out has stopped, I have changed these settings in &lt;tt&gt;trac.ini&lt;/tt&gt; to try to solve this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[notification]
smtp_default_domain = crin1.crin.org
use_public_cc = true
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 16:18:25 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:20</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:20</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.27&lt;/em&gt; to &lt;em&gt;5.32&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have also changed:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sendmail_path = /usr/sbin/sendmail
&lt;/pre&gt;&lt;p&gt;
Still not seeing any email being generated by tickets.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 16:27:09 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:21</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:21</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.08&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.32&lt;/em&gt; to &lt;em&gt;5.4&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Tried changing these again:
&lt;/p&gt;
&lt;pre class="wiki"&gt;smtp_default_domain = trac.crin.org
use_tls = false
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 16:32:59 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:22</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:22</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.4&lt;/em&gt; to &lt;em&gt;5.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
That fixed it must have been &lt;tt&gt;use_tls = false&lt;/tt&gt;, exim4 however did send the email using TLS in any case:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Received: from crin1.crin.org ([93.95.228.179])
        by elderberry.rat.burntout.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
        (Exim 4.80)
        (envelope-from &amp;lt;trac@trac.crin.org&amp;gt;)
        id 1YnUpK-0004B0-Gu
        for chris@webarchitects.co.uk; Wed, 29 Apr 2015 17:27:12 +0100
Received: from localhost ([::1] helo=crin1.crin.org)
        by crin1.crin.org with esmtp (Exim 4.84)
        (envelope-from &amp;lt;trac@trac.crin.org&amp;gt;)
        id 1YnUpJ-0006XB-HB; Wed, 29 Apr 2015 16:27:09 +0000
&lt;/pre&gt;&lt;p&gt;
And fetchmail uses TLS via it's 5 mins crontab.
&lt;/p&gt;
&lt;p&gt;
So transport layer encrypted email in and out of Trac is all working now.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 17:00:39 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:23</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:23</guid>
      <description>
        &lt;pre class="wiki"&gt;This is test of the crontab running fetchmail -- if this appears as a
comment it is working.
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 17:02:48 GMT</pubDate>
      <title>billable changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:24</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:24</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;billable&lt;/strong&gt;
              set
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 May 2015 10:12:19 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:25</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:25</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.5&lt;/em&gt; to &lt;em&gt;5.75&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Add account for Graham:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
su - trac -s /bin/bash
htdigest .htpasswd trac graham
&lt;/pre&gt;&lt;p&gt;
I'm not sure if Graham will need Trac admin permissions, if he does we can run:
&lt;/p&gt;
&lt;pre class="wiki"&gt;trac-admin /var/www/trac permission add graham admin
trac-admin /var/www/trac permission add graham TRAC_ADMIN
&lt;/pre&gt;&lt;p&gt;
I have added this to &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Trac"&gt;wiki:Trac&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 May 2015 10:42:02 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:26</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:26</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;accepted&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;5.75&lt;/em&gt; to &lt;em&gt;6.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have done some documentation of Trac at &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Trac"&gt;wiki:Trac&lt;/a&gt; and thinks this ticket is now good to close.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 18:45:59 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:27</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:27</guid>
      <description>
        &lt;p&gt;
After editing &lt;tt&gt;/etc/aliases&lt;/tt&gt; on both servers and rebooting them, see &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/6#comment:18" title="task: Migrate Drupal site from GreenQloud (closed: fixed)"&gt;ticket:6#comment:18&lt;/a&gt; Trac stopped sending email, this is the error displayed:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Warning: The change has been saved, but an error occurred while sending notifications: SMTP server connection error ([Errno 101] Network is unreachable). Please modify &lt;tt&gt;[notification] smtp_server&lt;/tt&gt; or &lt;tt&gt;[notification] smtp_port&lt;/tt&gt; in your configuration.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
So &lt;tt&gt;/var/www/trac/conf/trac.ini&lt;/tt&gt; was edited and this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;email_sender = SmtpEmailSender
&lt;/pre&gt;&lt;p&gt;
Was changed to:
&lt;/p&gt;
&lt;pre class="wiki"&gt;email_sender = SendmailEmailSender
&lt;/pre&gt;&lt;p&gt;
And if a email goes out about this comment the above changes have fixed outgoing Trac email.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 18:54:25 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:28</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:28</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.0&lt;/em&gt; to &lt;em&gt;6.1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Outgoing Trac email isn't fixed. this is the error when submitting &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/1#comment:27" title="task: Trac initial install and configuration (closed: fixed)"&gt;ticket:1#comment:27&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Warning: The change has been saved, but an error occurred while sending notifications: Sendmail failed with (1, 2015-05-14 18:45:59 unable to set gid=114 or uid=0 (euid=0): forcing real = effective), command: '[u'/usr/sbin/sendmail', '-i', '-f', u'trac@…', u'chris@…', u'jonas@…']'
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
In an attempt to fix this in &lt;tt&gt;/var/www/trac/conf/trac.ini&lt;/tt&gt; &lt;tt&gt;smtp_server&lt;/tt&gt; was changed from &lt;tt&gt;localhost&lt;/tt&gt; into:
&lt;/p&gt;
&lt;pre class="wiki"&gt;smtp_server =
&lt;/pre&gt;&lt;p&gt;
Given the error above I'm not sure this will fix the problem...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 18:59:17 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:29</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:29</guid>
      <description>
        &lt;p&gt;
Same error, testing again...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 19:05:11 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:30</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:30</guid>
      <description>
        &lt;p&gt;
In &lt;tt&gt;/var/log/exim4/mainlog&lt;/tt&gt; we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015-05-14 19:01:26 socket bind() to port 25 for address ::1 failed: Cannot assign requested address: waiting 30s before trying again (9 more tries)
&lt;/pre&gt;&lt;p&gt;
So I think this is a result of IPv6 being disabled following the reboot, so &lt;tt&gt;dpkg-reconfigure exim4-config&lt;/tt&gt; to disable IPv6.
&lt;/p&gt;
&lt;p&gt;
If I'm right regarding the problem this comment should result in a email.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 19:06:48 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:31</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:31</guid>
      <description>
        &lt;p&gt;
That didn't fix it, same error.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 19:09:16 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:32</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:32</guid>
      <description>
        &lt;p&gt;
Changing these variables back in &lt;tt&gt;/var/www/trac/conf/trac.ini&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;email_sender = SmtpEmailSender
smtp_server = localhost
&lt;/pre&gt;&lt;p&gt;
And testing to see if a email is sent...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 19:10:11 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:33</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:33</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.1&lt;/em&gt; to &lt;em&gt;6.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Last edit:
&lt;/p&gt;
&lt;pre class="wiki"&gt;use_tls = false
&lt;/pre&gt;&lt;p&gt;
This should do it.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 19:15:30 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/1#comment:34</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:34</guid>
      <description>
        &lt;p&gt;
So the Trac sending email problem was just down to IPv6 being disabled and nothing to do with Exim or Trac settings -- the following had been added to &lt;tt&gt;/etc/sysctl.conf&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
&lt;/pre&gt;&lt;p&gt;
To disable IPv6 since we are not using it at the moment (the firewall is only set for IPv4 etc) and this only took effect after the server was rebooted due to &lt;a class="ext-link" href="http://venom.crowdstrike.com/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Venom&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 18 Jun 2015 11:56:28 GMT</pubDate>
      <title>cc changed</title>
      <link>https://trac.crin.org/trac/ticket/1#comment:35</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/1#comment:35</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;jenny&lt;/em&gt; &lt;em&gt;gillian&lt;/em&gt; added; &lt;em&gt;jonas&lt;/em&gt; removed
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
CCs changed.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>