
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Matt Rude &#187; RoundCube</title>
	<atom:link href="http://mattrude.com/tag/roundcube/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattrude.com</link>
	<description>Matt Rude’s Personal Website</description>
	<lastBuildDate>Thu, 15 Jul 2010 15:34:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>RoundCube Regression Testing</title>
		<link>http://mattrude.com/2009/09/roundcube-regression-testing/</link>
		<comments>http://mattrude.com/2009/09/roundcube-regression-testing/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 04:09:20 +0000</pubDate>
		<dc:creator>Matt Rude</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[RoundCube]]></category>

		<guid isPermaLink="false">http://mattrude.com/?p=967</guid>
		<description><![CDATA[With the release of RoundCube 0.3-stable and all the upgrades that will happen, It feels like a good time to talk about regression testing.  Regression testing is when you test the functions of a peace of software to make sure that your updates didn&#8217;t break any functions.  In RoundCube it takes me about 10 minuets to fully test a site.  Here&#8217;s my check list, yours my vary depending on the plugins your using. Main Screen Read a HTML message from...


<h3>Related Posts</h3>
<ol>
		<li><a href="http://mattrude.com/2009/07/roundcube-fail2ban-plugin/" rel="bookmark">RoundCube Fail2Ban Plugin post</a><!-- (8.27705)--></li>
		<li><a href="http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/" rel="bookmark">Fail2Ban Setup with RoundCube</a><!-- (8.11587)--></li>
		<li><a href="http://mattrude.com/2010/05/git-commit-email-notifications/" rel="bookmark">Git Commit eMail Notifications</a><!-- (7.14232)--></li>
		<li><a href="http://mattrude.com/2010/05/installing-cgit-web-interface-on-a-fedora-12-server/" rel="bookmark">Installing the git, cgit web interface on a Fedora 12 server</a><!-- (6.21716)--></li>
		<li><a href="http://mattrude.com/2009/05/restoring-a-windows-2000-profile/" rel="bookmark">Restoring a Windows 2000 Profile</a><!-- (6.15896)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p>With the release of <a title="RoundCube's Website" href="http://www.roundcube.net" target="_blank">RoundCube</a> <a href="http://trac.roundcube.net/wiki/Changelog" target="_blank">0.3-stable</a> and all the upgrades that will happen, It feels like a good time to talk about regression testing.  Regression testing is when you test the functions of a peace of software to make sure that your updates didn&#8217;t break any functions.  In RoundCube it takes me about 10 minuets to fully test a site.  Here&#8217;s my check list, yours my vary depending on the plugins your using.</p>
<h3><span id="Main_Screen">Main Screen </span></h3>
<ul>
<li>Read a <strong>HTML</strong> message from the preview panel
<ul>
<li>Confirm the &#8220;<strong>View Header</strong>&#8221; drop down window works with HTML messages</li>
</ul>
</li>
<li>Read a <strong>Plain Text</strong> message from the preview panel
<ul>
<li>Confirm the &#8220;<strong>View Header</strong>&#8221; drop down window works with Plain Text messages</li>
</ul>
</li>
<li>Read a <strong>HTML</strong> message full screen
<ul>
<li>Confirm the &#8220;View Header&#8221; drop down window works with HTML messages</li>
<li>Confirm the &#8220;Read Source&#8221; button works with HTML messages</li>
</ul>
</li>
<li>Read a <strong>Plain Text</strong> message full screen
<ul>
<li>Confirm the &#8220;View Header&#8221; drop down window works with Plain Text messages</li>
<li>Confirm the &#8220;Read Source&#8221; button works with Plain Text messages</li>
</ul>
</li>
<li>Change Message pages</li>
<li>Select <strong>All</strong>, <strong>Unread</strong>, <strong>None</strong> from the bottom center</li>
<li>Is the <strong>quota meter</strong> displaying</li>
<li>Flag (star) a message</li>
<li>Search for a known message value</li>
<li>Move a message from Inbox to a folder</li>
<li>Move a message from a folder to the Inbox</li>
<li>Send a message to an internal account</li>
<li>Send a message to an external account</li>
<li>Add a message via the plus symbol when viewing a message
<ul>
<li> Dose it show up in Personal Settings / Spam / Address Rules</li>
</ul>
</li>
</ul>
<h3><span id="Address_Book">Address Book </span></h3>
<ul>
<li>Add an Address Book entry
<ul>
<li> Dose it show up in Personal Settings / Spam / Address Rules</li>
</ul>
</li>
<li>Change an existing entry</li>
<li>&#8220;<strong>Compose Mail To</strong>&#8221; button, top center</li>
<li>&#8220;<strong>Export Contacts in vCard format</strong>&#8221; button, top center</li>
<li>&#8220;Import Contacts&#8221; button, top center</li>
<li>Delete a contact
<ul>
<li> Dose it delete from Personal Settings / Spam / Address Rules</li>
</ul>
</li>
</ul>
<h3><span id="Personal_Settings_.2F_Folders">Personal Settings / Folders </span></h3>
<ul>
<li>Subscribe to a folder</li>
<li>Unsubscribe from a folder</li>
<li>Add a folder</li>
<li>Delete a folder</li>
</ul>
<h3><span id="Personal_Settings_.2F_Identities">Personal Settings / Identities </span></h3>
<ul>
<li>Add a new &#8220;Identity&#8221;
<ul>
<li>Send a message with this identity</li>
</ul>
</li>
<li>Modify an existing &#8220;Identity&#8221;
<ul>
<li>Send a message with this identity</li>
</ul>
</li>
<li>Delete an Identity</li>
<li>Change <strong>default</strong> Identity&#8217;s</li>
</ul>
<h3><span id="Personal_Settings_.2F_Spam">Personal Settings / Spam </span></h3>
<ul>
<li>Add a new white list entry</li>
<li>Add a new black list entry</li>
<li>Delete a white list entry</li>
<li>Delete a black list entry</li>
</ul>


<br />
<h3>Related Posts</h3>
<ol>
		<li><a href="http://mattrude.com/2009/07/roundcube-fail2ban-plugin/" rel="bookmark">RoundCube Fail2Ban Plugin post</a><!-- (8.27705)--></li>
		<li><a href="http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/" rel="bookmark">Fail2Ban Setup with RoundCube</a><!-- (8.11587)--></li>
		<li><a href="http://mattrude.com/2010/05/git-commit-email-notifications/" rel="bookmark">Git Commit eMail Notifications</a><!-- (7.14232)--></li>
		<li><a href="http://mattrude.com/2010/05/installing-cgit-web-interface-on-a-fedora-12-server/" rel="bookmark">Installing the git, cgit web interface on a Fedora 12 server</a><!-- (6.21716)--></li>
		<li><a href="http://mattrude.com/2009/05/restoring-a-windows-2000-profile/" rel="bookmark">Restoring a Windows 2000 Profile</a><!-- (6.15896)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://mattrude.com/2009/09/roundcube-regression-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RoundCube Fail2Ban Plugin post</title>
		<link>http://mattrude.com/2009/07/roundcube-fail2ban-plugin/</link>
		<comments>http://mattrude.com/2009/07/roundcube-fail2ban-plugin/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 06:20:48 +0000</pubDate>
		<dc:creator>Matt Rude</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[RoundCube]]></category>

		<guid isPermaLink="false">http://www.mattrude.com/?p=370</guid>
		<description><![CDATA[RoundCube Fail2Ban Plugin is a small plugin that will display a failed login attempts to your syslog or userlogins log file. Using this information Fail2Ban be able to block a user for a set amount of time. The best part, the block is happing at the IP level and blocks the IP address, not the user they are try to log in as. Download tgz &#124; zip &#124; git &#8211; Version: 1.0 (2009-Jul-09) Install Place this plugin folder into the...


<h3>Related Posts</h3>
<ol>
		<li><a href="http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/" rel="bookmark">Fail2Ban Setup with RoundCube</a><!-- (32.0359)--></li>
		<li><a href="http://mattrude.com/2009/07/wp-gallery2-image-block/" rel="bookmark">wp-Gallery2 Image Block post</a><!-- (15.5574)--></li>
		<li><a href="http://mattrude.com/2009/09/roundcube-regression-testing/" rel="bookmark">RoundCube Regression Testing</a><!-- (8.54105)--></li>
		<li><a href="http://mattrude.com/2009/10/wordpress-2-9-post-thumbnail-function/" rel="bookmark">WordPress 2.9 Post Thumbnail Function</a><!-- (8.01494)--></li>
		<li><a href="http://mattrude.com/2009/11/auto-update-script-for-minimyth/" rel="bookmark">Auto Update Script for MiniMyth</a><!-- (7.2832)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p><strong>RoundCube Fail2Ban Plugin</strong> is a small plugin that will display a failed login attempts to your syslog or userlogins log file. Using this information <a href="http://www.fail2ban.org/wiki/index.php/Main_Page" target="_blank">Fail2Ban</a> be able to block a user for a set amount of time.  The best part, the block is happing at the IP level and blocks the IP address, not the user they are try to log in as.</p>
<h2>Download</h2>
<ul>
<li><a href="http://mattrude.com/wp-content/uploads/2009/07/roundcube-fail2ban-1.0.tgz">tgz</a> | <a href="http://mattrude.com/wp-content/uploads/2009/07/roundcube-fail2ban-1.0.zip">zip</a> | <a href="http://github.com/mattrude/rc-plugin-fail2ban">git</a> &#8211; Version: 1.0 (2009-Jul-09)</li>
</ul>
<h2>Install</h2>
<ul>
<li>Place this plugin folder into the RoundCube plugins directory (roundcube/plugins/)</li>
<li>Add fail2ban to $rcmail_config['plugins'] in your RoundCube config</li>
</ul>
<p><em><strong>Note:</strong> When downloading this plugin from <a href="http://github.com/mattrude/rc-plugin-fail2ban" target="_blank">http://github.com/mattrude/rc-plugin-fail2ban</a> you will need to create a directory called fail2ban and place fail2ban.php in there, ignoring the root directory in the downloaded archive.  You may also run &#8216;git clone git://github.com/mattrude/rc-plugin-fail2ban.git fail2ban&#8217; from the plugins directory.</em></p>
<h2>Fail2Ban Setup</h2>
<p><strong>fail2ban/jail.conf:</strong></p>
<pre>[roundcube]
enabled  = true
port     = http,https
filter   = roundcube
action   = iptables-multiport[name=roundcube, port=&amp;amp;amp;quot;http,https&amp;amp;amp;quot;]
logpath  = /var/www/html/roundcube/logs/userlogins</pre>
<p><strong>fail2ban/filter.d/roundcube.conf:</strong></p>
<pre>[Definition]
failregex = FAILED login for .*. from &lt;HOST&gt;
ignoreregex =</pre>


<br />
<h3>Related Posts</h3>
<ol>
		<li><a href="http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/" rel="bookmark">Fail2Ban Setup with RoundCube</a><!-- (32.0359)--></li>
		<li><a href="http://mattrude.com/2009/07/wp-gallery2-image-block/" rel="bookmark">wp-Gallery2 Image Block post</a><!-- (15.5574)--></li>
		<li><a href="http://mattrude.com/2009/09/roundcube-regression-testing/" rel="bookmark">RoundCube Regression Testing</a><!-- (8.54105)--></li>
		<li><a href="http://mattrude.com/2009/10/wordpress-2-9-post-thumbnail-function/" rel="bookmark">WordPress 2.9 Post Thumbnail Function</a><!-- (8.01494)--></li>
		<li><a href="http://mattrude.com/2009/11/auto-update-script-for-minimyth/" rel="bookmark">Auto Update Script for MiniMyth</a><!-- (7.2832)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://mattrude.com/2009/07/roundcube-fail2ban-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fail2Ban Setup with RoundCube</title>
		<link>http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/</link>
		<comments>http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:55:10 +0000</pubDate>
		<dc:creator>Matt Rude</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[RoundCube]]></category>

		<guid isPermaLink="false">http://www.mattrude.com/?p=207</guid>
		<description><![CDATA[In order for Fail2Ban to be able to ban IP addresses from computers trying to break into RoundCube. RoundCube needs to write the IP address of the offending system in it&#8217;s logs. To accomplish this, run the following patch from the root of your RoundCube directory, or modify the program/lib/imap.inc file directly. program/lib/imap.inc Index: program/lib/imap.inc ============================================================ --- program/lib/imap.inc (revision 2446) +++ program/lib/imap.inc (working copy) @@ -428,7 +428,7 @@ &#38;amp;amp;lt;br /&#38;amp;amp;gt; if ($result == -3) fclose($conn-&#38;amp;amp;gt;fp); // BYE response &#38;amp;amp;lt;br /&#38;amp;amp;gt;...


<h3>Related Posts</h3>
<ol>
		<li><a href="http://mattrude.com/2009/07/roundcube-fail2ban-plugin/" rel="bookmark">RoundCube Fail2Ban Plugin post</a><!-- (29.8564)--></li>
		<li><a href="http://mattrude.com/2009/09/roundcube-regression-testing/" rel="bookmark">RoundCube Regression Testing</a><!-- (8.95192)--></li>
		<li><a href="http://mattrude.com/2009/12/installing-dovecot-using-sqlite/" rel="bookmark">Installing Dovecot with SQLite Support</a><!-- (7.90592)--></li>
		<li><a href="http://mattrude.com/2009/08/allow-logwatch-to-collect-data-from-openvpns-logs/" rel="bookmark">Allow Logwatch to collect data from OpenVPN&#8217;s logs</a><!-- (7.18583)--></li>
		<li><a href="http://mattrude.com/2009/06/tuning-the-number-of-processes-on-macos-x/" rel="bookmark">Tuning the number of processes on MacOS X</a><!-- (6.35184)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p>In order for Fail2Ban to be able to ban IP addresses from computers trying to break into RoundCube.  RoundCube needs to write the IP address of the offending system in it&#8217;s logs.  To accomplish this,  run the following patch from the root of your RoundCube directory, or modify the program/lib/imap.inc file directly.</p>
<p><strong>program/lib/imap.inc</strong></p>
<pre>Index: program/lib/imap.inc
============================================================
--- program/lib/imap.inc        (revision 2446)
+++ program/lib/imap.inc        (working copy)
@@ -428,7 +428,7 @@
&amp;amp;amp;lt;br /&amp;amp;amp;gt;
if ($result == -3) fclose($conn-&amp;amp;amp;gt;fp); // BYE response
&amp;amp;amp;lt;br /&amp;amp;amp;gt;
-    $conn-&amp;amp;amp;gt;error    .= 'Authentication for ' . $user . ' failed (AUTH): &amp;amp;amp;quot;';
+    $conn-&amp;amp;amp;gt;error    .= 'Authentication for ' . $user . ' (' . getenv(&amp;amp;amp;quot;REMOTE_ADDR&amp;amp;amp;quot;) . ') failed (AUTH): &amp;amp;amp;quot;';
$conn-&amp;amp;amp;gt;error    .= htmlspecialchars($line) . '&amp;amp;amp;quot;';
$conn-&amp;amp;amp;gt;errorNum  = $result;</pre>
<p>Once you have RoundCube patched, you may use the below config and filter in Fail2Ban to block the IP address from RoundCube&#8217;s logs.</p>
<p><strong>/etc/fail2ban/jail.conf:</strong></p>
<pre>[roundcube]
enabled  = true
port     = http,https
filter   = roundcube
action   = iptables-multiport[name=roundcube, port=&amp;amp;amp;quot;http,https&amp;amp;amp;quot;]
logpath  = /var/logs/httpd/errors</pre>
<p><strong>/etc/fail2ban/filter.d/roundcube.conf:</strong></p>
<pre>[Definition]
failregex = IMAP Error: Authentication for .* \(&amp;amp;amp;lt;HOST&amp;amp;amp;amp;lg;\) failed \((?:LOGIN|AUTH)\):
ignoreregex =</pre>


<br />
<h3>Related Posts</h3>
<ol>
		<li><a href="http://mattrude.com/2009/07/roundcube-fail2ban-plugin/" rel="bookmark">RoundCube Fail2Ban Plugin post</a><!-- (29.8564)--></li>
		<li><a href="http://mattrude.com/2009/09/roundcube-regression-testing/" rel="bookmark">RoundCube Regression Testing</a><!-- (8.95192)--></li>
		<li><a href="http://mattrude.com/2009/12/installing-dovecot-using-sqlite/" rel="bookmark">Installing Dovecot with SQLite Support</a><!-- (7.90592)--></li>
		<li><a href="http://mattrude.com/2009/08/allow-logwatch-to-collect-data-from-openvpns-logs/" rel="bookmark">Allow Logwatch to collect data from OpenVPN&#8217;s logs</a><!-- (7.18583)--></li>
		<li><a href="http://mattrude.com/2009/06/tuning-the-number-of-processes-on-macos-x/" rel="bookmark">Tuning the number of processes on MacOS X</a><!-- (6.35184)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://mattrude.com/2009/05/fail2ban-setup-with-roundcube/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
